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