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

Store two marker's IDs to create a link between them (Only to create mesh's edge). More...

#include <btkTriangleMesh.h>

Public Member Functions

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

Friends

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

Detailed Description

Store two marker's IDs to create a link between them (Only to create mesh's edge).

Constructor & Destructor Documentation

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

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

Member Function Documentation

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

Returns the IDs as an array of two integers.

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

Sets the IDs.

Friends And Related Function Documentation

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

Equal operator.