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

« back to all changes in this revision

Viewing changes to dae23ds/include/DAE23dsMeshLengthCalculator.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_MESHLENGTHCALCULATOR_H__
 
12
#define __DAE23DS_MESHLENGTHCALCULATOR_H__
 
13
 
 
14
#include "DAE23dsPrerequisites.h"
 
15
#include "DAE23dsMeshBase.h"
 
16
 
 
17
 
 
18
namespace DAE23ds
 
19
{
 
20
 
 
21
        class MeshLengthCalculator: public MeshBase 
 
22
        {
 
23
        private:
 
24
 
 
25
        public:
 
26
 
 
27
                /** Constructor. */
 
28
                MeshLengthCalculator(Writer* writer3ds, const Writer::MeshData& meshData);
 
29
 
 
30
                /** Destructor. */
 
31
                virtual ~MeshLengthCalculator();
 
32
 
 
33
                /** Writes the mesh using @a materialBindings to assign materials.*/
 
34
                bool writeMeshIntoMultipleObjects( const Writer::InstanceGeometryInfo& instanceGeometryInfo, const WriteMeshIntoMultipleObjectsData& data, const COLLADAFW::InstanceGeometry* alreadyUsingInstance);
 
35
 
 
36
                /** Writes the mesh using @a materialBindings to assign materials.*/
 
37
                bool writeMeshIntoOneObject( const Writer::InstanceGeometryInfo& instanceGeometryInfo, const WriteMeshIntoOneObject& data, const COLLADAFW::InstanceGeometry* alreadyUsingInstance);
 
38
 
 
39
 
 
40
        private:
 
41
 
 
42
                /** Disable default copy ctor. */
 
43
                MeshLengthCalculator( const MeshLengthCalculator& pre );
 
44
 
 
45
                /** Disable default assignment operator. */
 
46
                const MeshLengthCalculator& operator= ( const MeshLengthCalculator& pre );
 
47
 
 
48
        };
 
49
 
 
50
} // namespace DAE23DS
 
51
 
 
52
#endif // __DAE23DS_MESHLENGTHCALCULATOR_H__