vcg::vrt::VertexMesh< VertContainerType > Class Template Reference
[Vertexmesh]

#include <base.h>

List of all members.

Public Types

typedef Box3< ScalarTypeBoxType
typedef
VertContainerType::const_iterator 
ConstVertexIterator
typedef const VertexTypeConstVertexPointer
typedef
VertContainerType::value_type::CoordType 
CoordType
typedef
VertContainerType::value_type::ScalarType 
ScalarType
typedef VertContainerType VertContainer
typedef VertContainer VertexContainer
typedef VertContainerType::iterator VertexIterator
typedef VertexTypeVertexPointer
typedef
VertContainerType::value_type 
VertexType

Public Member Functions

Color4bC ()
const Color4bC () 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< ScalarTypebbox
 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.

Detailed Description

template<class VertContainerType>
class vcg::vrt::VertexMesh< VertContainerType >

Definition at line 69 of file complex/vertexmesh/base.h.


Member Typedef Documentation

template<class VertContainerType >
typedef Box3<ScalarType> vcg::vrt::VertexMesh< VertContainerType >::BoxType

Definition at line 80 of file complex/vertexmesh/base.h.

template<class VertContainerType >
typedef VertContainerType::const_iterator vcg::vrt::VertexMesh< VertContainerType >::ConstVertexIterator

Definition at line 77 of file complex/vertexmesh/base.h.

template<class VertContainerType >
typedef const VertexType* vcg::vrt::VertexMesh< VertContainerType >::ConstVertexPointer

Definition at line 79 of file complex/vertexmesh/base.h.

template<class VertContainerType >
typedef VertContainerType::value_type::CoordType vcg::vrt::VertexMesh< VertContainerType >::CoordType

Definition at line 75 of file complex/vertexmesh/base.h.

template<class VertContainerType >
typedef VertContainerType::value_type::ScalarType vcg::vrt::VertexMesh< VertContainerType >::ScalarType

Definition at line 74 of file complex/vertexmesh/base.h.

template<class VertContainerType >
typedef VertContainerType vcg::vrt::VertexMesh< VertContainerType >::VertContainer

Definition at line 71 of file complex/vertexmesh/base.h.

template<class VertContainerType >
typedef VertContainer vcg::vrt::VertexMesh< VertContainerType >::VertexContainer

Definition at line 72 of file complex/vertexmesh/base.h.

template<class VertContainerType >
typedef VertContainerType::iterator vcg::vrt::VertexMesh< VertContainerType >::VertexIterator

Definition at line 76 of file complex/vertexmesh/base.h.

template<class VertContainerType >
typedef VertexType* vcg::vrt::VertexMesh< VertContainerType >::VertexPointer

Definition at line 78 of file complex/vertexmesh/base.h.

template<class VertContainerType >
typedef VertContainerType::value_type vcg::vrt::VertexMesh< VertContainerType >::VertexType

Definition at line 73 of file complex/vertexmesh/base.h.


Constructor & Destructor Documentation

template<class VertContainerType >
vcg::vrt::VertexMesh< VertContainerType >::VertexMesh (  )  [inline]

Default constructor.

Definition at line 103 of file complex/vertexmesh/base.h.


Member Function Documentation

template<class VertContainerType >
Color4b& vcg::vrt::VertexMesh< VertContainerType >::C (  )  [inline]

Definition at line 96 of file complex/vertexmesh/base.h.

template<class VertContainerType >
const Color4b& vcg::vrt::VertexMesh< VertContainerType >::C (  )  const [inline]

Global color.

Definition at line 91 of file complex/vertexmesh/base.h.

template<class VertContainerType >
void vcg::vrt::VertexMesh< VertContainerType >::Clear (  )  [inline]

Function to destroy the mesh.

Definition at line 122 of file complex/vertexmesh/base.h.

template<class VertContainerType >
static bool vcg::vrt::VertexMesh< VertContainerType >::HasPerVertexColor (  )  [inline, static]

Definition at line 130 of file complex/vertexmesh/base.h.

template<class VertContainerType >
static bool vcg::vrt::VertexMesh< VertContainerType >::HasPerVertexMark (  )  [inline, static]

Definition at line 131 of file complex/vertexmesh/base.h.

template<class VertContainerType >
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.

template<class VertContainerType >
static bool vcg::vrt::VertexMesh< VertContainerType >::HasPerVertexQuality (  )  [inline, static]

Definition at line 132 of file complex/vertexmesh/base.h.

template<class VertContainerType >
static bool vcg::vrt::VertexMesh< VertContainerType >::HasPerVertexTexCoord (  )  [inline, static]

Definition at line 133 of file complex/vertexmesh/base.h.

template<class VertContainerType >
void vcg::vrt::VertexMesh< VertContainerType >::InitPointIMark (  )  [inline]

Initialize the imark-system of the faces.

Definition at line 136 of file complex/vertexmesh/base.h.

template<class VertContainerType >
void vcg::vrt::VertexMesh< VertContainerType >::InitVertexIMark (  )  [inline]

Initialize the imark-system of the vertices.

Definition at line 146 of file complex/vertexmesh/base.h.

template<class VertContainerType >
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.

template<class VertContainerType >
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.

template<class VertContainerType >
int vcg::vrt::VertexMesh< VertContainerType >::MemNeeded (  )  const [inline]

Definition at line 114 of file complex/vertexmesh/base.h.

template<class VertContainerType >
int vcg::vrt::VertexMesh< VertContainerType >::MemUsed (  )  const [inline]

Definition at line 109 of file complex/vertexmesh/base.h.

template<class VertContainerType >
void vcg::vrt::VertexMesh< VertContainerType >::UnMarkAll (  )  [inline]

Unmark the mesh.

Definition at line 165 of file complex/vertexmesh/base.h.


Member Data Documentation

template<class VertContainerType >
Box3<ScalarType> vcg::vrt::VertexMesh< VertContainerType >::bbox

Actual number of vertices.

Definition at line 85 of file complex/vertexmesh/base.h.

template<class VertContainerType >
Color4b vcg::vrt::VertexMesh< VertContainerType >::c [private]

Bounding box of the mesh.

Definition at line 88 of file complex/vertexmesh/base.h.

template<class VertContainerType >
int vcg::vrt::VertexMesh< VertContainerType >::imark

The incremental mark.

Definition at line 156 of file complex/vertexmesh/base.h.

template<class VertContainerType >
VertContainerType vcg::vrt::VertexMesh< VertContainerType >::vert

Definition at line 82 of file complex/vertexmesh/base.h.

template<class VertContainerType >
size_t vcg::vrt::VertexMesh< VertContainerType >::vn

Set of vertices.

Definition at line 83 of file complex/vertexmesh/base.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


vcglib
Author(s): Christian Bersch
autogenerated on Fri Jan 11 09:23:59 2013