public class CustomMultiMesh extends CustomMeshNode
center, max, minALLOW_DETACHALLOW_CHILDREN_EXTEND, ALLOW_CHILDREN_READ, ALLOW_CHILDREN_WRITE, ALLOW_COLLISION_BOUNDS_READ, ALLOW_COLLISION_BOUNDS_WRITEALLOW_AUTO_COMPUTE_BOUNDS_READ, ALLOW_AUTO_COMPUTE_BOUNDS_WRITE, ALLOW_BOUNDS_READ, ALLOW_BOUNDS_WRITE, ALLOW_COLLIDABLE_READ, ALLOW_COLLIDABLE_WRITE, ALLOW_LOCAL_TO_VWORLD_READ, ALLOW_LOCALE_READ, ALLOW_PARENT_READ, ALLOW_PICKABLE_READ, ALLOW_PICKABLE_WRITE, ENABLE_COLLISION_REPORTING, ENABLE_PICK_REPORTING| Constructor and Description |
|---|
CustomMultiMesh() |
CustomMultiMesh(CustomMesh customMesh) |
CustomMultiMesh(List<CustomMesh> meshes) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(CustomMesh mesh) |
void |
channelsUpdated(boolean[] channels)
This method is called when the channels of the Content have changed.
|
void |
colorUpdated(Color3f color)
This method is called when the color of the Content has changed.
|
void |
eyePtChanged(View view)
This method is called when the view direction has changed.
|
void |
getCenter(Tuple3d center)
Stores the center coordinate of this ContentNode in the specified Tuple3d
|
void |
getMax(Tuple3d max)
Stores the maximum coordinate of this ContentNode in the specified Tuple3d
|
CustomMesh |
getMesh(int i) |
void |
getMin(Tuple3d min)
Stores the minimum coordinate of this ContentNode in the specified Tuple3d
|
float |
getVolume()
Returns the volume of this ContentNode.
|
void |
remove(CustomMesh mesh) |
void |
remove(int i) |
void |
restoreDisplayedData(String path,
String name) |
void |
shadeUpdated(boolean shaded)
This method is called when the 'shade' attribute of the Content has
changed.
|
int |
size() |
void |
swapDisplayedData(String path,
String name) |
void |
thresholdUpdated(int threshold)
This method is called when the threshold of the Content has changed.
|
void |
transparencyUpdated(float transparency)
This method is called when the transparency of the Content has changed.
|
clearDisplayedData, getMesh, lutUpdatedcloneNode, compile, detach, pickAll, pickAll, pickAllSorted, pickAllSorted, pickAny, pickAny, pickClosest, pickClosestaddChild, getAllChildren, getAlternateCollisionTarget, getChild, getCollisionBounds, indexOfChild, insertChild, moveTo, numChildren, removeAllChildren, removeChild, removeChild, setAlternateCollisionTarget, setChild, setCollisionBoundscloneTree, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, duplicateNode, getBounds, getBoundsAutoCompute, getCollidable, getLocale, getLocalToVworld, getLocalToVworld, getParent, getPickable, setBounds, setBoundsAutoCompute, setCollidable, setPickableclearCapability, clearCapabilityIsFrequent, duplicateSceneGraphObject, getCapability, getCapabilityIsFrequent, getName, getUserData, isCompiled, isLive, setCapability, setCapabilityIsFrequent, setName, setUserData, toString, updateNodeReferencespublic CustomMultiMesh()
public CustomMultiMesh(CustomMesh customMesh)
public CustomMultiMesh(List<CustomMesh> meshes)
public void remove(int i)
public void remove(CustomMesh mesh)
public void add(CustomMesh mesh)
public int size()
public CustomMesh getMesh(int i)
public void getMin(Tuple3d min)
ContentNodegetMin in class CustomMeshNodepublic void getMax(Tuple3d max)
ContentNodegetMax in class CustomMeshNodepublic void getCenter(Tuple3d center)
ContentNodegetCenter in class CustomMeshNodepublic void channelsUpdated(boolean[] channels)
ContentNodechannelsUpdated in class CustomMeshNodepublic void colorUpdated(Color3f color)
ContentNodecolorUpdated in class CustomMeshNodepublic void eyePtChanged(View view)
ContentNodeeyePtChanged in class CustomMeshNodepublic float getVolume()
ContentNodegetVolume in class CustomMeshNodepublic void shadeUpdated(boolean shaded)
ContentNodeshadeUpdated in class CustomMeshNodepublic void thresholdUpdated(int threshold)
ContentNodethresholdUpdated in class CustomMeshNodepublic void transparencyUpdated(float transparency)
ContentNodetransparencyUpdated in class CustomMeshNodepublic void restoreDisplayedData(String path, String name)
restoreDisplayedData in class CustomMeshNodepublic void swapDisplayedData(String path, String name)
swapDisplayedData in class CustomMeshNodeCopyright © 2015–2021 Fiji. All rights reserved.