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 
18 {
19  ///* General constants*/
20  CM_None = 0,
21  CM_ClearEverything = 0xffffffff,
22  /// For points and triangles
23  CM_Surface = 1 << 0,
24  // Calculate normals for points using default weighting scheme.
25  // This flag doesn't really tells 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 really don't care how normals are calculated, it may be changed in future.
29  // Normals for polygons
30  CM_PolyNormals = 1 << 9,
31  // Polygons area
32  CM_PolyAreas = 1 << 10,
34  CM_Centers = 1 << 11,
35  CM_Angles = 1 << 12,
36  CM_EdgeLengths = 1 << 13,
37  /// For texture
38  CM_Texture = 1 << 17,
39 };
40 
41 } } } // namespace artec::sdk::base
42 
43 #endif //_MESHFLAGS_H_
For points and triangles.
Definition: MeshFlags.h:23