Inventor field containing a mesh of type PbIndexedMesh3D. More...
#include <MeshViz/fields/PoSFIndexedMesh3D.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
const PoSFIndexedMesh3D & | operator= (const PoSFIndexedMesh3D &f) |
PoSFIndexedMesh3D () | |
virtual | ~PoSFIndexedMesh3D () |
const PbIndexedMesh3D & | getValue () const |
void | setValue (const PbIndexedMesh3D &newValue) |
const PbIndexedMesh3D & | operator= (const PbIndexedMesh3D &newValue) |
int | operator== (const PoSFIndexedMesh3D &f) const |
int | operator!= (const PoSFIndexedMesh3D &f) const |
virtual size_t | getValueSize () 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 () |
This field contains an instance of the class PbIndexedMesh3D.
PoSFIndexedMesh3D::PoSFIndexedMesh3D | ( | ) |
Default constructor.
virtual PoSFIndexedMesh3D::~PoSFIndexedMesh3D | ( | ) | [virtual] |
Destructor.
static SoType PoSFIndexedMesh3D::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from PoSFMesh.
virtual SoType PoSFIndexedMesh3D::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from PoSFMesh.
const PbIndexedMesh3D& PoSFIndexedMesh3D::getValue | ( | ) | const [inline] |
Returns this field's value.
virtual size_t PoSFIndexedMesh3D::getValueSize | ( | ) | const [inline, virtual] |
Get size of the value.
Reimplemented from SoField.
int PoSFIndexedMesh3D::operator!= | ( | const PoSFIndexedMesh3D & | f | ) | const [inline] |
Returns FALSE if otherField is of the same type and has the same value as this field.
Reimplemented from SoField.
const PbIndexedMesh3D& PoSFIndexedMesh3D::operator= | ( | const PbIndexedMesh3D & | newValue | ) | [inline] |
Sets this field to newValue.
const PoSFIndexedMesh3D& PoSFIndexedMesh3D::operator= | ( | const PoSFIndexedMesh3D & | f | ) |
Copy from another field of same type.
int PoSFIndexedMesh3D::operator== | ( | const PoSFIndexedMesh3D & | f | ) | const |
Returns TRUE if otherField is of the same type and has the same value as this field.
Reimplemented from SoField.
void PoSFIndexedMesh3D::setGeometry | ( | int | num_nodes, | |
const float * | xn, | |||
const float * | yn, | |||
const float * | zn, | |||
int | num_cells, | |||
const int * | cell_index, | |||
const int * | cell_type | |||
) |
Convenience method to change the geometry of the mesh.
See also PbIndexedMesh3D::setGeometry().
void PoSFIndexedMesh3D::setValue | ( | const PbIndexedMesh3D & | newValue | ) |
Sets this field to newValue.