Classes | |
| class | StatusInfo |
| Add status information to a base class. More... | |
Enumerations | |
| enum | AttributeBits { None = 0, Normal = 1, Color = 2, PrevHalfedge = 4, Status = 8, TexCoord1D = 16, TexCoord2D = 32, TexCoord3D = 64 } |
| Attribute bits. More... | |
| enum | StatusBits { DELETED = 1, LOCKED = 2, SELECTED = 4, HIDDEN = 8, FEATURE = 16, TAGGED = 32, TAGGED2 = 64 } |
| Status bits used by the Status class. More... | |
There are some macros provided for convenience, see Attributes.hh.
Attribute bits.
Use the bits to define a standard property at compile time using traits.
struct MyTraits : public OpenMesh::DefaultTraits { VertexAttributes( OpenMesh::Attributes::Normal | OpenMesh::Attributes::Color ); FaceAttributes( OpenMesh::Attributes::Normal ); };
| None | Clear all attribute bits. |
| Normal | Add normals to mesh item (vertices/faces). |
| Color | Add colors to mesh item (vertices/faces). |
| PrevHalfedge | Add storage for previous halfedge (halfedges). The bit is set by default in the DefaultTraits. |
| Status | Add status to mesh item (all items). |
| TexCoord1D | Add 1D texture coordinates (vertices). |
| TexCoord2D | Add 2D texture coordinates (vertices). |
| TexCoord3D | Add 3D texture coordinates (vertices). |