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