#include <base.h>
Public Types | |
typedef Box3< ScalarType > | BoxType |
typedef VertContainerType::const_iterator | ConstVertexIterator |
typedef const VertexType * | ConstVertexPointer |
typedef VertContainerType::value_type::CoordType | CoordType |
typedef VertContainerType::value_type::ScalarType | ScalarType |
typedef VertContainerType | VertContainer |
typedef VertContainer | VertexContainer |
typedef VertContainerType::iterator | VertexIterator |
typedef VertexType * | VertexPointer |
typedef VertContainerType::value_type | VertexType |
Public Member Functions | |
Color4b & | C () |
const Color4b & | C () const |
Global color. | |
void | Clear () |
Function to destroy the mesh. | |
void | InitPointIMark () |
Initialize the imark-system of the faces. | |
void | InitVertexIMark () |
Initialize the imark-system of the vertices. | |
bool | IsMarked (ConstVertexPointer v) const |
void | Mark (VertexPointer v) const |
int | MemNeeded () const |
int | MemUsed () const |
void | UnMarkAll () |
Unmark the mesh. | |
VertexMesh () | |
Default constructor. | |
Static Public Member Functions | |
static bool | HasPerVertexColor () |
static bool | HasPerVertexMark () |
static bool | HasPerVertexNormal () |
Reflection functions that speak about vertex and face properties. | |
static bool | HasPerVertexQuality () |
static bool | HasPerVertexTexCoord () |
Public Attributes | |
Box3< ScalarType > | bbox |
Actual number of vertices. | |
int | imark |
The incremental mark. | |
VertContainerType | vert |
size_t | vn |
Set of vertices. | |
Private Attributes | |
Color4b | c |
Bounding box of the mesh. |
Definition at line 69 of file complex/vertexmesh/base.h.
typedef Box3<ScalarType> vcg::vrt::VertexMesh< VertContainerType >::BoxType |
Definition at line 80 of file complex/vertexmesh/base.h.
typedef VertContainerType::const_iterator vcg::vrt::VertexMesh< VertContainerType >::ConstVertexIterator |
Definition at line 77 of file complex/vertexmesh/base.h.
typedef const VertexType* vcg::vrt::VertexMesh< VertContainerType >::ConstVertexPointer |
Definition at line 79 of file complex/vertexmesh/base.h.
typedef VertContainerType::value_type::CoordType vcg::vrt::VertexMesh< VertContainerType >::CoordType |
Definition at line 75 of file complex/vertexmesh/base.h.
typedef VertContainerType::value_type::ScalarType vcg::vrt::VertexMesh< VertContainerType >::ScalarType |
Definition at line 74 of file complex/vertexmesh/base.h.
typedef VertContainerType vcg::vrt::VertexMesh< VertContainerType >::VertContainer |
Definition at line 71 of file complex/vertexmesh/base.h.
typedef VertContainer vcg::vrt::VertexMesh< VertContainerType >::VertexContainer |
Definition at line 72 of file complex/vertexmesh/base.h.
typedef VertContainerType::iterator vcg::vrt::VertexMesh< VertContainerType >::VertexIterator |
Definition at line 76 of file complex/vertexmesh/base.h.
typedef VertexType* vcg::vrt::VertexMesh< VertContainerType >::VertexPointer |
Definition at line 78 of file complex/vertexmesh/base.h.
typedef VertContainerType::value_type vcg::vrt::VertexMesh< VertContainerType >::VertexType |
Definition at line 73 of file complex/vertexmesh/base.h.
vcg::vrt::VertexMesh< VertContainerType >::VertexMesh | ( | ) | [inline] |
Default constructor.
Definition at line 103 of file complex/vertexmesh/base.h.
Color4b& vcg::vrt::VertexMesh< VertContainerType >::C | ( | ) | [inline] |
Definition at line 96 of file complex/vertexmesh/base.h.
const Color4b& vcg::vrt::VertexMesh< VertContainerType >::C | ( | ) | const [inline] |
Global color.
Definition at line 91 of file complex/vertexmesh/base.h.
void vcg::vrt::VertexMesh< VertContainerType >::Clear | ( | ) | [inline] |
Function to destroy the mesh.
Definition at line 122 of file complex/vertexmesh/base.h.
static bool vcg::vrt::VertexMesh< VertContainerType >::HasPerVertexColor | ( | ) | [inline, static] |
Definition at line 130 of file complex/vertexmesh/base.h.
static bool vcg::vrt::VertexMesh< VertContainerType >::HasPerVertexMark | ( | ) | [inline, static] |
Definition at line 131 of file complex/vertexmesh/base.h.
static bool vcg::vrt::VertexMesh< VertContainerType >::HasPerVertexNormal | ( | ) | [inline, static] |
Reflection functions that speak about vertex and face properties.
Definition at line 129 of file complex/vertexmesh/base.h.
static bool vcg::vrt::VertexMesh< VertContainerType >::HasPerVertexQuality | ( | ) | [inline, static] |
Definition at line 132 of file complex/vertexmesh/base.h.
static bool vcg::vrt::VertexMesh< VertContainerType >::HasPerVertexTexCoord | ( | ) | [inline, static] |
Definition at line 133 of file complex/vertexmesh/base.h.
void vcg::vrt::VertexMesh< VertContainerType >::InitPointIMark | ( | ) | [inline] |
Initialize the imark-system of the faces.
Definition at line 136 of file complex/vertexmesh/base.h.
void vcg::vrt::VertexMesh< VertContainerType >::InitVertexIMark | ( | ) | [inline] |
Initialize the imark-system of the vertices.
Definition at line 146 of file complex/vertexmesh/base.h.
bool vcg::vrt::VertexMesh< VertContainerType >::IsMarked | ( | ConstVertexPointer | v | ) | const [inline] |
Check if the vertex incremental mark matches the one of the mesh.
Definition at line 160 of file complex/vertexmesh/base.h.
void vcg::vrt::VertexMesh< VertContainerType >::Mark | ( | VertexPointer | v | ) | const [inline] |
Set the vertex incremental mark of the vertex to the one of the mesh.
Definition at line 163 of file complex/vertexmesh/base.h.
int vcg::vrt::VertexMesh< VertContainerType >::MemNeeded | ( | ) | const [inline] |
Definition at line 114 of file complex/vertexmesh/base.h.
int vcg::vrt::VertexMesh< VertContainerType >::MemUsed | ( | ) | const [inline] |
Definition at line 109 of file complex/vertexmesh/base.h.
void vcg::vrt::VertexMesh< VertContainerType >::UnMarkAll | ( | ) | [inline] |
Unmark the mesh.
Definition at line 165 of file complex/vertexmesh/base.h.
Box3<ScalarType> vcg::vrt::VertexMesh< VertContainerType >::bbox |
Actual number of vertices.
Definition at line 85 of file complex/vertexmesh/base.h.
Color4b vcg::vrt::VertexMesh< VertContainerType >::c [private] |
Bounding box of the mesh.
Definition at line 88 of file complex/vertexmesh/base.h.
int vcg::vrt::VertexMesh< VertContainerType >::imark |
The incremental mark.
Definition at line 156 of file complex/vertexmesh/base.h.
VertContainerType vcg::vrt::VertexMesh< VertContainerType >::vert |
Definition at line 82 of file complex/vertexmesh/base.h.
size_t vcg::vrt::VertexMesh< VertContainerType >::vn |
Set of vertices.
Definition at line 83 of file complex/vertexmesh/base.h.