public abstract class PoMeshProperty extends PoNode
Modifier and Type | Class and Description |
---|---|
static class |
PoMeshProperty.DataBindings
Data binding.
|
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
static int |
PER_CELL
Deprecated.
Use
PoMeshProperty.DataBindings.PER_CELL instead. |
static int |
PER_NODE
Deprecated.
Use
PoMeshProperty.DataBindings.PER_NODE instead. |
VERBOSE_LEVEL, ZeroHandle
Modifier and Type | Method and Description |
---|---|
void |
addStringsSet(int index,
java.lang.String[] val)
Calls addStringsSet(index, val, "").
|
void |
addStringsSet(int index,
java.lang.String[] val,
java.lang.String set_name)
Convenience method to add a new set of string values to the mesh.
|
void |
addValuesSet(int index,
float[] val)
Calls addValuesSet(index, val, "").
|
void |
addValuesSet(int index,
float[] val,
PoMeshProperty.DataBindings binding)
Calls addValuesSet(index, val, binding, "").
|
void |
addValuesSet(int index,
float[] val,
PoMeshProperty.DataBindings binding,
java.lang.String set_name)
Adds a set of scalar values that can be located either at nodes or at cells.
|
void |
addValuesSet(int index,
float[] val,
java.lang.String set_name)
Convenience method to add a new set of scalar values to the mesh.
|
void |
addVecsSet(int index,
SbVec3f[] val)
Calls addVecsSet(index, val, "").
|
void |
addVecsSet(int index,
SbVec3f[] val,
java.lang.String set_name)
Convenience method to add a new set of vector values to the mesh.
|
PbMesh |
getMesh()
Gets the instance of a derived class of
PbMesh . |
callback, doAction, getBoundingBox, getMatrix, getPrimitiveCount, GLRender, handleEvent, pick, search, write
affectsState, copy, copy, distribute, getAlternateRep, getByName, getRenderUnitID, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, isBoundingBoxIgnoring, isOverride, rayPick, setOverride, touch
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
dispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizable
getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
@Deprecated public static final int PER_CELL
PoMeshProperty.DataBindings.PER_CELL
instead.@Deprecated public static final int PER_NODE
PoMeshProperty.DataBindings.PER_NODE
instead.public void addValuesSet(int index, float[] val, PoMeshProperty.DataBindings binding)
public void addValuesSet(int index, float[] val)
public void addStringsSet(int index, java.lang.String[] val)
public void addVecsSet(int index, SbVec3f[] val)
public void addVecsSet(int index, SbVec3f[] val, java.lang.String set_name)
PbMesh.addVecsSet()
.public void addStringsSet(int index, java.lang.String[] val, java.lang.String set_name)
PbMesh.addStringsSet()
.public void addValuesSet(int index, float[] val, PoMeshProperty.DataBindings binding, java.lang.String set_name)
index
- the index of the new set added.
val
- the array of values. Its size must be either the number of nodes or the number of cells depending on the binding argument.
binding
- specifies the location of the values.
set_name
- string associated with this set of values. @see com.openinventor.meshviz.data.PbMesh#addValuesSet(int, float[], java.lang.String) PbMesh.addValuesSet()
NOTE: This method must be called after a setGeometry method because the size of the argument
val is determined by the number of nodes in the mesh. The setGeometry methods are defined in subclasses of PoMeshProperty
.public void addValuesSet(int index, float[] val, java.lang.String set_name)
index
- the index of the new set added
val
- the array of values. Its size must be the number of nodes
set_name
- string associated to this set of values @see com.openinventor.meshviz.data.PbMesh#addValuesSet(int, float[], java.lang.String) PbMesh.addValuesSet()
NOTE: This method must be called after a setGeometry method because the size of the argument
val is determined by the number of nodes in the mesh. The setGeometry methods are defined in subclasses of PoMeshProperty
.Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com