Inventor node defining a mesh of type PbIndexedMesh3D. More...
#include <MeshViz/nodes/PoIndexedMesh3D.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
PoIndexedMesh3D () | |
const PbMesh * | getMesh () const |
void | setGeometry (int num_nodes, const float *xn, const float *yn, const float *zn, int num_cells, const int *cell_index, const int *cell_type) |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Public Attributes | |
PoSFIndexedMesh3D | mesh |
PoIndexedMesh3D::PoIndexedMesh3D | ( | ) |
Constructor.
static SoType PoIndexedMesh3D::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from PoMeshProperty.
const PbMesh* PoIndexedMesh3D::getMesh | ( | ) | const [inline, virtual] |
Gets the instance of the class PbIndexedMesh3D contained by the field mesh.
Implements PoMeshProperty.
virtual SoType PoIndexedMesh3D::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from PoMeshProperty.
void PoIndexedMesh3D::setGeometry | ( | int | num_nodes, | |
const float * | xn, | |||
const float * | yn, | |||
const float * | zn, | |||
int | num_cells, | |||
const int * | cell_index, | |||
const int * | cell_type | |||
) | [inline] |
Convenience method to change the geometry of the mesh.
See also PbIndexedMesh3D::setGeometry().
Field containing a mesh of type PbIndexedMesh3D.