Artec 3D Scanning SDK  2.0
MeshFlags.h
Go to the documentation of this file.
1 /********************************************************************
2  *
3  * Project Artec 3D Scanning SDK
4  *
5  * Purpose: Flags for calculation of mesh data
6  *
7  * Copyright: Artec Group
8  *
9  ********************************************************************/
10 
11 #ifndef _MESHFLAGS_H_
12 #define _MESHFLAGS_H_
13 
14 namespace artec { namespace sdk { namespace base
15 {
16 
17 /// Flags to indicate current state of the mesh structure
19 {
20  CM_None = 0, ///> Empty mesh
21  CM_ClearEverything = 0xffffffff, ///> Use it to clear data
22  CM_Surface = 1 << 0, ///> For points and triangles
23  CM_PointsNormals_Default = 1 << 8, ///> For normals to points
24  ///> Calculate normals for points using the default weighting scheme.
25  ///> This flag doesn't tell you how normals were calculated, but it will use some default calculation
26  ///> routine if normals are not yet calculated.
27  ///> Please use it if you don't care how normals are calculated, it may be changed in the future.
28  CM_PolyNormals = 1 << 9, ///> For normals to polygons
29  CM_PolyAreas = 1 << 10, ///> For area of polygons
30  CM_Normals = CM_PointsNormals_Default | CM_PolyNormals | CM_PolyAreas, ///> Use this flag combination to clear data
31  CM_Centers = 1 << 11, ///> For centers of triangles
32  CM_Angles = 1 << 12, ///> For angles
33  CM_EdgeLengths = 1 << 13, ///> For lengths of triangle edges
34  CM_Texture = 1 << 17, ///> To check for texture coordinates and images
35 };
36 
37 } } } // namespace artec::sdk::base
38 
39 #endif //_MESHFLAGS_H_
For lengths of triangle edges
Definition: MeshFlags.h:34
Use this flag combination to clear data
Definition: MeshFlags.h:31
For area of polygons
Definition: MeshFlags.h:30
For normals to polygons
Definition: MeshFlags.h:29
For normals to points
Definition: MeshFlags.h:28
For centers of triangles
Definition: MeshFlags.h:32
CalculateMode
Flags to indicate current state of the mesh structure.
Definition: MeshFlags.h:18
Use it to clear data
Definition: MeshFlags.h:22