~ubuntu-branches/ubuntu/wily/opencollada/wily-proposed

« back to all changes in this revision

Viewing changes to dae23ds/include/DAE23dsMeshSpliterDumper.h

  • Committer: Package Import Robot
  • Author(s): Matteo F. Vescovi
  • Date: 2015-05-14 17:23:27 UTC
  • Revision ID: package-import@ubuntu.com-20150514172327-f862u8envms01fra
Tags: upstream-0.1.0~20140703.ddf8f47+dfsg1
ImportĀ upstreamĀ versionĀ 0.1.0~20140703.ddf8f47+dfsg1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
    Copyright (c) 2009 NetAllied Systems GmbH
 
3
 
 
4
    This file is part of dae23ds.
 
5
        
 
6
    Licensed under the MIT Open Source License, 
 
7
    for details please see LICENSE file or the website
 
8
    http://www.opensource.org/licenses/mit-license.php
 
9
*/
 
10
 
 
11
#ifndef __DAE23DS_MESHSPLITERDUMPER_H__
 
12
#define __DAE23DS_MESHSPLITERDUMPER_H__
 
13
 
 
14
#include "DAE23dsPrerequisites.h"
 
15
#include "CommonCharacterBuffer.h"
 
16
#include "CommonFWriteBufferFlusher.h"
 
17
 
 
18
#include "DAE23dsTriangle.h"
 
19
 
 
20
 
 
21
namespace DAE23ds
 
22
{
 
23
 
 
24
        class MeshSpliterDumper         
 
25
        {
 
26
        public:
 
27
                typedef Triangle<short> TriangleType;
 
28
 
 
29
        private:
 
30
 
 
31
                Common::FWriteBufferFlusher mFlusher;
 
32
 
 
33
                Common::CharacterBuffer mCharacterBuffer;
 
34
        
 
35
        public:
 
36
 
 
37
        /** Constructor. */
 
38
                MeshSpliterDumper();
 
39
 
 
40
        /** Destructor. */
 
41
                virtual ~MeshSpliterDumper();
 
42
 
 
43
                void handleTriangle( const TriangleType& triangle);
 
44
 
 
45
                void handleNewBlock();
 
46
 
 
47
        private:
 
48
 
 
49
        /** Disable default copy ctor. */
 
50
                MeshSpliterDumper( const MeshSpliterDumper& pre );
 
51
 
 
52
        /** Disable default assignment operator. */
 
53
                const MeshSpliterDumper& operator= ( const MeshSpliterDumper& pre );
 
54
 
 
55
        };
 
56
 
 
57
} // namespace DAE23ds
 
58
 
 
59
#endif // __DAE23DS_MESHSPLITERDUMPER_H__