Artec 3D Scanning SDK
2.0
Main Page
Basics
Namespaces
Classes
Files
Samples
Beyond Basics
File List
File Members
artec
sdk
base
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
18
enum
CalculateMode
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_
artec::sdk::base::CM_Texture
For lengths of triangle edges
Definition:
MeshFlags.h:34
artec::sdk::base::CM_Centers
Use this flag combination to clear data
Definition:
MeshFlags.h:31
artec
Definition:
AlgorithmWorkset.h:14
artec::sdk::base::CM_Normals
For area of polygons
Definition:
MeshFlags.h:30
artec::sdk::base::CM_PolyAreas
For normals to polygons
Definition:
MeshFlags.h:29
artec::sdk::base::CM_PolyNormals
For normals to points
Definition:
MeshFlags.h:28
artec::sdk::base::CM_PointsNormals_Default
For points and triangles
Definition:
MeshFlags.h:23
artec::sdk::base::CM_Angles
For centers of triangles
Definition:
MeshFlags.h:32
artec::sdk::base::CM_EdgeLengths
For angles
Definition:
MeshFlags.h:33
artec::sdk::base::CalculateMode
CalculateMode
Flags to indicate current state of the mesh structure.
Definition:
MeshFlags.h:18
artec::sdk::base::CM_None
Definition:
MeshFlags.h:20
artec::sdk::base::CM_ClearEverything
Empty mesh
Definition:
MeshFlags.h:21
artec::sdk::base::CM_Surface
Use it to clear data
Definition:
MeshFlags.h:22
Generated by
1.8.9.1