MVE - Multi-View Environment mve-devel
|
Base class for meshes. More...
#include <mesh.h>
Public Types | |
typedef std::vector< math::Vec4f > | ColorList |
typedef std::vector< float > | ConfidenceList |
typedef std::shared_ptr< MeshBase const > | ConstPtr |
typedef std::shared_ptr< MeshBase > | Ptr |
typedef std::vector< float > | ValueList |
typedef unsigned int | VertexID |
typedef std::vector< math::Vec3f > | VertexList |
Public Member Functions | |
virtual | ~MeshBase (void) |
virtual void | clear (void) |
Clears all mesh data. | |
ColorList & | get_vertex_colors (void) |
Returns the vertex colors. | |
ColorList const & | get_vertex_colors (void) const |
Returns the vertex colors. | |
ConfidenceList & | get_vertex_confidences (void) |
Returns the vertex confidences. | |
ConfidenceList const & | get_vertex_confidences (void) const |
Returns the vertex confidences. | |
ValueList & | get_vertex_values (void) |
Returns the vertex values (generic attribute). | |
ValueList const & | get_vertex_values (void) const |
Returns the vertex values (generic attribute). | |
VertexList & | get_vertices (void) |
Returns the mesh vertices. | |
VertexList const & | get_vertices (void) const |
Returns the mesh vertices. | |
bool | has_vertex_colors (void) const |
Returns true if colors and vertex amount are equal. | |
bool | has_vertex_confidences (void) const |
Returns true if confidence amount and vertex amount are equal. | |
bool | has_vertex_values (void) const |
Returns true if value amount and vertex amount are equal. | |
Protected Member Functions | |
MeshBase (void) | |
Protected Attributes | |
ColorList | vertex_colors |
ConfidenceList | vertex_confidences |
ValueList | vertex_values |
VertexList | vertices |
Base class for meshes.
This class essentially contains the vertex data and vertex associated data, namely colors, confidences and the generic attribute values.
typedef std::vector<math::Vec4f> mve::MeshBase::ColorList |
typedef std::vector<float> mve::MeshBase::ConfidenceList |
typedef std::shared_ptr<MeshBase const> mve::MeshBase::ConstPtr |
typedef std::shared_ptr<MeshBase> mve::MeshBase::Ptr |
typedef std::vector<float> mve::MeshBase::ValueList |
typedef unsigned int mve::MeshBase::VertexID |
typedef std::vector<math::Vec3f> mve::MeshBase::VertexList |
|
inlinevirtual |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |