Node to define a list of isovalues. More...
#include <MeshViz/nodes/PoIsovaluesList.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
PoIsovaluesList () | |
void | setRegularIsoList (int numFloats, const float *values, int numValues) |
void | setRegularIsoList (int numValues, float firstValue, float step) |
void | setRegularIsoList (float min, float max, int numValues) |
const float * | getIsoList (int &numValues, float &min, float &max, float &step, SbBool &isRegularIsoList) |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Public Attributes | |
SoMFFloat | isovaluesList |
This node defines the current list of isovalues for all subsequent MeshViz representations which use it. There is no list of isovalues until a PoIsovaluesList node is traversed. An isovalue list is a list of floating-point values sorted by increasing order.
isovaluesList | 0 |
PoIsovaluesList::PoIsovaluesList | ( | ) |
Constructor.
static SoType PoIsovaluesList::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from PoNode.
const float* PoIsovaluesList::getIsoList | ( | int & | numValues, | |
float & | min, | |||
float & | max, | |||
float & | step, | |||
SbBool & | isRegularIsoList | |||
) |
Convenience method which returns information about the isovalue list.
virtual SoType PoIsovaluesList::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from PoNode.
void PoIsovaluesList::setRegularIsoList | ( | float | min, | |
float | max, | |||
int | numValues | |||
) |
Convenience method to create a regular isovalue list with numValues values.
The isovalues are between min and max.
void PoIsovaluesList::setRegularIsoList | ( | int | numValues, | |
float | firstValue, | |||
float | step | |||
) |
Convenience method to create a regular isovalue list with numValues values.
The isovalue list is computed from a firstValue and the difference between values (step).
void PoIsovaluesList::setRegularIsoList | ( | int | numFloats, | |
const float * | values, | |||
int | numValues | |||
) |
Convenience method to create a regular isovalue list with numValues values.
The isovalue list is computed homogeneous through the min and the max of values, so the difference between two values is constant. numFloats is the size of values.
Defines the list of isovalues.