aimstil
5.0.5
|
A class to represent a very basic mesh, consisting of a set of vertices and a set of edges, represented as vertex indices. More...
#include <til/til_declarations.h>
Public Types | |
typedef Mesh< TMeshParam > | Self |
typedef TMeshParam::Vertex | Vertex |
typedef TMeshParam::VertexCollection | VertexCollection |
typedef TMeshParam::FaceIndex | FaceIndex |
typedef TMeshParam::FaceIndexCollection | FaceIndexCollection |
Public Member Functions | |
Mesh () | |
Default constructor. More... | |
const VertexCollection & | getVertices () const |
VertexCollection & | getVertices () |
const FaceIndexCollection & | getFaceIndices () const |
FaceIndexCollection & | getFaceIndices () |
void | deepCopy (const Mesh &mesh) |
shared_ptr< VertexCollection > & | vertices () |
const shared_ptr< VertexCollection > & | vertices () const |
shared_ptr< FaceIndexCollection > & | faces () |
const shared_ptr< FaceIndexCollection > & | faces () const |
A class to represent a very basic mesh, consisting of a set of vertices and a set of edges, represented as vertex indices.
Definition at line 26 of file til_declarations.h.
typedef TMeshParam::FaceIndexCollection til::Mesh< TMeshParam >::FaceIndexCollection |
typedef TMeshParam::VertexCollection til::Mesh< TMeshParam >::VertexCollection |
Default constructor.
NB: we should initialize the containers so that we never have to check whether they have to be initialized or not. This is at the price of a small performance loss (namely, the initialization to something that may not be used), but should be negligeable.
|
inline |
|
inline |
|
inline |
Definition at line 66 of file Mesh.h.
Referenced by til::getFaceIndices().
|
inline |
|
inline |
Definition at line 63 of file Mesh.h.
Referenced by til::getFaceVertex(), and til::getVertices().
|
inline |
|
inline |
|
inline |