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