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