public abstract class PoMeshProperty extends PoNode
Modifier and Type | Class and Description |
---|---|
static class |
PoMeshProperty.DataBindings
Data binding.
|
SoNode.RenderModes
Inventor.ConstructorCommand
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, getRenderEngineMode, 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, getName, isDisposable, isSynchronizable, setName, setSynchronizable
getNativeResourceHandle
public void addValuesSet(int index, float[] val)
public void addValuesSet(int index, float[] val, PoMeshProperty.DataBindings binding)
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 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 addStringsSet(int index, java.lang.String[] val, java.lang.String set_name)
PbMesh.addStringsSet()
.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 July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com