Open Inventor Release 2024.2.1
 
Loading...
Searching...
No Matches
PbIsovaluesList Class Reference

MeshViz Class to define a list of isovalues. More...

#include <MeshViz/graph/PbIsovaluesList.h>

+ Inheritance diagram for PbIsovaluesList:

Public Member Functions

 PbIsovaluesList ()
 Default constructor.
 
 PbIsovaluesList (const PbIsovaluesList &isovalList)
 Copy constructor.
 
 PbIsovaluesList (float min, float max, int numValues)
 Constructor of a regular list of numValues isovalues.
 
 ~PbIsovaluesList ()
 Destructor.
 
PbIsovaluesListoperator= (const PbIsovaluesList &isovalList)
 Assignment operator.
 
int operator== (const PbIsovaluesList &isoList)
 Equality comparison operator.
 
int operator!= (const PbIsovaluesList &isoList)
 Inequality comparison operator.
 
void setIrregularIsoList (int numValues, const float *values)
 Creates an irregular isovalue list with numValues values.
 
void setRegularIsoList (int numFloats, const float *values, int numValues)
 Creates a regular isovalue list with numValues values.
 
void setRegularIsoList (int numFloats, const float *values)
 Creates a new regular isovalue list, but the current number of isovalues is kept.
 
void setRegularIsoList (int numValues, float firstValue, float step)
 Creates a regular isovalue list with numValues values.
 
void setRegularIsoList (float min, float max, int numValues)
 Creates a regular isovalue list with numValues values.
 
void setRegularIsoList (float min, float max)
 Creates a new regular isovalue list, but the current number of isovalues is kept.
 
void setRegularIsoList (int numValues)
 Creates a regular isovalue list with numValues values.
 
const float * getIsoList (int &numValues, float &min, float &max, float &step, SbBool &isRegularIsoList) const
 Returns information about the isovalue list.
 
- Public Member Functions inherited from PbBase
void enableConnection (SbBool flag)
 Activates/deactivates the mechanism of connection.
 
SbBool isConnectionEnabled () const
 Returns TRUE if the connection mechanism is active, otherwise FALSE.
 
void touch ()
 Simulates the changing of an instance of this object, so all connected objects are informed of this change.
 
PbBaseoperator= (const PbBase &base)
 Assignment operator.
 

Detailed Description

MeshViz Class to define a list of isovalues.

This class is used to define a list of isovalues. An isovalue list is a list of floating-point values sorted by increasing order. By default the isovalue list is regular and contains ten values. The minimum value equals 1, the maximum value equals 10, and the difference between two consecutive values is constant (1 in this case).

Definition at line 42 of file PbIsovaluesList.h.

Constructor & Destructor Documentation

◆ PbIsovaluesList() [1/3]

PbIsovaluesList::PbIsovaluesList ( )

Default constructor.

◆ PbIsovaluesList() [2/3]

PbIsovaluesList::PbIsovaluesList ( const PbIsovaluesList isovalList)

Copy constructor.

◆ PbIsovaluesList() [3/3]

PbIsovaluesList::PbIsovaluesList ( float  min,
float  max,
int  numValues 
)

Constructor of a regular list of numValues isovalues.

◆ ~PbIsovaluesList()

PbIsovaluesList::~PbIsovaluesList ( )

Destructor.

Member Function Documentation

◆ getIsoList()

const float * PbIsovaluesList::getIsoList ( int &  numValues,
float &  min,
float &  max,
float &  step,
SbBool isRegularIsoList 
) const

Returns information about the isovalue list.

◆ operator!=()

int PbIsovaluesList::operator!= ( const PbIsovaluesList isoList)
inline

Inequality comparison operator.

Definition at line 80 of file PbIsovaluesList.h.

◆ operator=()

PbIsovaluesList & PbIsovaluesList::operator= ( const PbIsovaluesList isovalList)

Assignment operator.

◆ operator==()

int PbIsovaluesList::operator== ( const PbIsovaluesList isoList)

Equality comparison operator.

◆ setIrregularIsoList()

void PbIsovaluesList::setIrregularIsoList ( int  numValues,
const float *  values 
)

Creates an irregular isovalue list with numValues values.

◆ setRegularIsoList() [1/6]

void PbIsovaluesList::setRegularIsoList ( float  min,
float  max 
)

Creates a new regular isovalue list, but the current number of isovalues is kept.

The isovalues are between min and max.

◆ setRegularIsoList() [2/6]

void PbIsovaluesList::setRegularIsoList ( float  min,
float  max,
int  numValues 
)

Creates a regular isovalue list with numValues values.

The isovalues are between min and max.

◆ setRegularIsoList() [3/6]

void PbIsovaluesList::setRegularIsoList ( int  numFloats,
const float *  values 
)

Creates a new regular isovalue list, but the current number of isovalues is kept.

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.

◆ setRegularIsoList() [4/6]

void PbIsovaluesList::setRegularIsoList ( int  numFloats,
const float *  values,
int  numValues 
)

Creates 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.

◆ setRegularIsoList() [5/6]

void PbIsovaluesList::setRegularIsoList ( int  numValues)

Creates a regular isovalue list with numValues values.

The isovalues are between the min and max of the previous isovalue list.

◆ setRegularIsoList() [6/6]

void PbIsovaluesList::setRegularIsoList ( int  numValues,
float  firstValue,
float  step 
)

Creates a regular isovalue list with numValues values.

The isovalue list is computed from a firstValue and the difference between values (step).


The documentation for this class was generated from the following file: