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