Package com.openinventor.meshviz.graph
Class PbIsovaluesList
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.meshviz.graph.PbBase
-
- com.openinventor.meshviz.graph.PbIsovaluesList
-
- All Implemented Interfaces:
java.lang.Cloneable
public class PbIsovaluesList extends PbBase implements java.lang.Cloneable
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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PbIsovaluesList.IsoList
-
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
-
Field Summary
-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Constructor Summary
Constructors Constructor Description PbIsovaluesList()
Default constructor.PbIsovaluesList(float min, float max, int numValues)
Constructor of a regular list of numValues isovalues.PbIsovaluesList(PbIsovaluesList isovalList)
Copy constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
clone()
boolean
equals(java.lang.Object obj)
PbIsovaluesList.IsoList
getDirectIsoList()
Returns information about the isovalue list.PbIsovaluesList.IsoList
getIsoList()
Returns information about the isovalue list.void
setIrregularIsoList(int numValues, float[] values)
Creates an irregular 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(float min, float max, int numValues)
Creates a regular isovalue list with numValues values.void
setRegularIsoList(int numValues)
Creates a regular isovalue list with numValues values.void
setRegularIsoList(int numFloats, float[] values)
Creates a new regular isovalue list, but the current number of isovalues is kept.void
setRegularIsoList(int numFloats, float[] values, int numValues)
Creates a regular isovalue list with numValues values.void
setRegularIsoList(int numValues, float firstValue, float step)
Creates a regular isovalue list with numValues values.-
Methods inherited from class com.openinventor.meshviz.graph.PbBase
enableConnection, isConnectionEnabled, touch
-
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
-
-
-
Constructor Detail
-
PbIsovaluesList
public PbIsovaluesList(PbIsovaluesList isovalList)
Copy constructor.
-
PbIsovaluesList
public PbIsovaluesList()
Default constructor.
-
PbIsovaluesList
public PbIsovaluesList(float min, float max, int numValues)
Constructor of a regular list of numValues isovalues.
-
-
Method Detail
-
clone
public java.lang.Object clone()
-
setRegularIsoList
public void 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).
-
setRegularIsoList
public void setRegularIsoList(float min, float max, int numValues)
Creates a regular isovalue list with numValues values. The isovalues are between min and max.
-
setRegularIsoList
public void 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
public void setRegularIsoList(int numFloats, 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.
-
setIrregularIsoList
public void setIrregularIsoList(int numValues, float[] values)
Creates an irregular isovalue list with numValues values.
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
setRegularIsoList
public void setRegularIsoList(int numFloats, 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.
-
getIsoList
public PbIsovaluesList.IsoList getIsoList()
Returns information about the isovalue list.
-
setRegularIsoList
public void setRegularIsoList(int numValues)
Creates a regular isovalue list with numValues values. The isovalues are between the min and max of the previous isovalue list.
-
getDirectIsoList
public PbIsovaluesList.IsoList getDirectIsoList()
Returns information about the isovalue list.
-
-