24#ifndef _PB_ISOVALUES_LIST_
25#define _PB_ISOVALUES_LIST_
27#include <MeshViz/graph/PbBase.h>
81 {
return !(*
this == isoList) ; }
132 const float *
getIsoList(
int &numValues,
float &min,
float &max,
float &step,
133 SbBool &isRegularIsoList)
const ;
140 void isoListDependsOnRep(
SbBool flag)
141 { m_isDependOnRep = flag ; }
148 SbBool isIsoListDependsOnRep()
const
149 {
return m_isDependOnRep ; }
153 float getLowerIsovalue(
float value)
const ;
154 float getUpperIsovalue(
float value)
const ;
155 int getIndex(
float value)
const ;
165 void allocIsovalList() ;
169 void homogIsovalList(
float min,
float max,
int numValues) ;
171 float m_minValue, m_maxValue, *m_isovalList, m_stepIsoValues,
173 int m_numIsoValues, m_numAllocValues ;
174 SbBool m_isRegularIsovalList, m_isDependOnRep ;
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Abstract class for all b...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Class to define a list o...
void setRegularIsoList(int numValues, float firstValue, float step)
Creates a regular isovalue list with numValues values.
PbIsovaluesList(float min, float max, int numValues)
Constructor of a regular list of numValues isovalues.
PbIsovaluesList()
Default constructor.
PbIsovaluesList(const PbIsovaluesList &isovalList)
Copy constructor.
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 numFloats, const float *values, int numValues)
Creates a regular isovalue list with numValues values.
int operator==(const PbIsovaluesList &isoList)
Equality comparison operator.
void setRegularIsoList(int numFloats, const float *values)
Creates a new regular isovalue list, but the current number of isovalues is kept.
PbIsovaluesList & operator=(const PbIsovaluesList &isovalList)
Assignment operator.
void setRegularIsoList(int numValues)
Creates a regular isovalue list with numValues values.
void setIrregularIsoList(int numValues, const float *values)
Creates an irregular isovalue list with numValues values.
int operator!=(const PbIsovaluesList &isoList)
Inequality comparison operator.
~PbIsovaluesList()
Destructor.
const float * getIsoList(int &numValues, float &min, float &max, float &step, SbBool &isRegularIsoList) const
Returns information about the isovalue list.