VectorEntity
1.1.0
Medical Data Segmentation Toolkit
|
Container of tetrahedra (tetrahedra mesh). More...
#include <mctetras.h>
Public Member Functions | |
void | DeRegistrationAll () |
Deregisters all tetrahedra. | |
template<class S > | |
void | deserialize (mds::mod::CChannelSerializer< S > &Reader) |
Deserializes the tetrahedral mesh. | |
void | Erase (MCTetra *del_ent) |
Removes tetrahedra from the mesh. | |
void | EraseEdgesNoTetras () |
Erases the container of edges. | |
void | EraseVerticesNoTetras () |
Removes all unused vertices from the mesh. | |
unsigned int | GetActualValueFlag () |
Returns value of the actual value flag. | |
MCEdgeS * | GetEdgeS () |
Returns pointer to the container of edges. | |
void | GetTetraEdge (MCVertex *_u0, MCVertex *_u1, std::vector< MCTetra * > &tetra_pole) |
Returns all tetrahedra sharing a given edge. | |
int | GetTetraEdgeNumber (MCVertex *_u0, MCVertex *_u1) |
Returns the number of tetrahedra sharing a given edge. | |
MCTriS * | GetTriS () |
Returns pointer to the container of triangles. | |
MCVerticeS * | GetVerticeS () |
Returns pointer to the container of vertices. | |
void | MakeAllTetrasEdges () |
Creates container of edges for all tetrahedra in the mesh. | |
void | MakeTetraEdges (MCTetra *_tetra) |
Adds all edges of a given tetrahedra to the container of edges. | |
MCTetraS () | |
Default constructor. | |
MDS_ENTITY_COMPRESSION (mds::mod::CC_RAW) | |
Standard method getEntityCompression(). | |
MDS_ENTITY_NAME ("MCTetraS") | |
Standard method getEntityName(). | |
MCTetra * | New (MCVertex *_u0, MCVertex *_u1, MCVertex *_u2, MCVertex *_u3) |
Creates a new tetrahedron. | |
MCTetra * | New2 (MCVertex *_u0, MCVertex *_u1, MCVertex *_u2, MCVertex *_u3) |
Creates a new tetrahedron. | |
template<class S > | |
void | serialize (mds::mod::CChannelSerializer< S > &Writer) |
Serializes the tetrahedral mesh. | |
void | SetActualValueFlag (unsigned int _value) |
Sets value of the actual value flag. | |
bool | TestEdgeExistence (MCVertex *_u0, MCVertex *_u1) |
Checks if a given edge exists in the mesh. | |
MCTetra * | TestExistence (MCVertex *_u0, MCVertex *_u1, MCVertex *_u2, MCVertex *_u3) |
Checks if a specified tetrahedron already exists in the mesh. | |
bool | TestTriExistence (MCVertex *_u0, MCVertex *_u1, MCVertex *_u2) |
Checks if a given triangle exists in the mesh. | |
~MCTetraS () | |
Destructor. |
Container of tetrahedra (tetrahedra mesh).
vctl::MCTetraS::MCTetraS | ( | ) | [inline] |
Default constructor.
vctl::MCTetraS::~MCTetraS | ( | ) | [inline] |
Destructor.
void MCTetraS::DeRegistrationAll | ( | ) |
Deregisters all tetrahedra.
void vctl::MCTetraS::deserialize | ( | mds::mod::CChannelSerializer< S > & | Reader | ) | [inline] |
Deserializes the tetrahedral mesh.
void MCTetraS::Erase | ( | MCTetra * | del_ent | ) |
Removes tetrahedra from the mesh.
void MCTetraS::EraseEdgesNoTetras | ( | ) |
Erases the container of edges.
void MCTetraS::EraseVerticesNoTetras | ( | ) |
Removes all unused vertices from the mesh.
unsigned int vctl::MCTetraS::GetActualValueFlag | ( | ) | [inline] |
Returns value of the actual value flag.
MCEdgeS* vctl::MCTetraS::GetEdgeS | ( | ) | [inline] |
Returns pointer to the container of edges.
void MCTetraS::GetTetraEdge | ( | MCVertex * | _u0, |
MCVertex * | _u1, | ||
std::vector< MCTetra * > & | tetra_pole | ||
) |
Returns all tetrahedra sharing a given edge.
int MCTetraS::GetTetraEdgeNumber | ( | MCVertex * | _u0, |
MCVertex * | _u1 | ||
) |
Returns the number of tetrahedra sharing a given edge.
MCTriS* vctl::MCTetraS::GetTriS | ( | ) | [inline] |
Returns pointer to the container of triangles.
MCVerticeS* vctl::MCTetraS::GetVerticeS | ( | ) | [inline] |
Returns pointer to the container of vertices.
void MCTetraS::MakeAllTetrasEdges | ( | ) |
Creates container of edges for all tetrahedra in the mesh.
void MCTetraS::MakeTetraEdges | ( | MCTetra * | _tetra | ) |
Adds all edges of a given tetrahedra to the container of edges.
vctl::MCTetraS::MDS_ENTITY_COMPRESSION | ( | mds::mod::CC_RAW | ) |
Standard method getEntityCompression().
vctl::MCTetraS::MDS_ENTITY_NAME | ( | "MCTetraS" | ) |
Standard method getEntityName().
Creates a new tetrahedron.
Creates a new tetrahedron.
void vctl::MCTetraS::serialize | ( | mds::mod::CChannelSerializer< S > & | Writer | ) | [inline] |
Serializes the tetrahedral mesh.
void vctl::MCTetraS::SetActualValueFlag | ( | unsigned int | _value | ) | [inline] |
Sets value of the actual value flag.
bool MCTetraS::TestEdgeExistence | ( | MCVertex * | _u0, |
MCVertex * | _u1 | ||
) |
Checks if a given edge exists in the mesh.
MCTetra * MCTetraS::TestExistence | ( | MCVertex * | _u0, |
MCVertex * | _u1, | ||
MCVertex * | _u2, | ||
MCVertex * | _u3 | ||
) |
Checks if a specified tetrahedron already exists in the mesh.
bool MCTetraS::TestTriExistence | ( | MCVertex * | _u0, |
MCVertex * | _u1, | ||
MCVertex * | _u2 | ||
) |
Checks if a given triangle exists in the mesh.