BTK  0.3dev.0
Open-source library to visualize/process biomechanical data
List of all members | Public Member Functions | Friends
btk::TriangleMesh::VertexFace Class Reference

Store three marker's IDs to create a face. More...

#include <btkTriangleMesh.h>

Public Member Functions

const int * GetIds () const
 
void SetIds (int id1, int id2, int id3)
 
 VertexFace (int id1=-1, int id2=-1, int id3=-1)
 

Friends

bool operator== (const VertexFace &lhs, const VertexFace &rhs)
 

Detailed Description

Store three marker's IDs to create a face.

Constructor & Destructor Documentation

btk::TriangleMesh::VertexFace::VertexFace ( int  id1 = -1,
int  id2 = -1,
int  id3 = -1 
)
inline

Constructor. The given IDs correspond to markers' IDs which will be used as vertices.

Member Function Documentation

const int * btk::TriangleMesh::VertexFace::GetIds ( ) const
inline

Returns the IDs as an array of three integers.

void btk::TriangleMesh::VertexFace::SetIds ( int  id1,
int  id2,
int  id3 
)
inline

Sets the IDs.

Friends And Related Function Documentation

bool operator== ( const VertexFace lhs,
const VertexFace rhs 
)
friend

Equal operator.