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