public abstract class ContentNode extends BranchGroup
ALLOW_DETACH
ALLOW_CHILDREN_EXTEND, ALLOW_CHILDREN_READ, ALLOW_CHILDREN_WRITE, ALLOW_COLLISION_BOUNDS_READ, ALLOW_COLLISION_BOUNDS_WRITE
ALLOW_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 |
---|
ContentNode()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
channelsUpdated(boolean[] channels)
This method is called when the channels of the Content have changed.
|
abstract void |
clearDisplayedData() |
abstract void |
colorUpdated(Color3f color)
This method is called when the color of the Content has changed.
|
abstract void |
eyePtChanged(View view)
This method is called when the view direction has changed.
|
abstract void |
getCenter(Tuple3d center)
Stores the center coordinate of this ContentNode in the specified Tuple3d
|
abstract void |
getMax(Tuple3d max)
Stores the maximum coordinate of this ContentNode in the specified Tuple3d
|
abstract void |
getMin(Tuple3d min)
Stores the minimum coordinate of this ContentNode in the specified Tuple3d
|
abstract float |
getVolume()
Returns the volume of this ContentNode.
|
abstract void |
lutUpdated(int[] r,
int[] g,
int[] b,
int[] a)
This method is called when the color lookup tables of the Content have
changed.
|
abstract void |
restoreDisplayedData(String path,
String name) |
abstract void |
shadeUpdated(boolean shaded)
This method is called when the 'shade' attribute of the Content has
changed.
|
abstract void |
swapDisplayedData(String path,
String name) |
abstract void |
thresholdUpdated(int threshold)
This method is called when the threshold of the Content has changed.
|
abstract void |
transparencyUpdated(float transparency)
This method is called when the transparency of the Content has changed.
|
cloneNode, compile, detach, pickAll, pickAll, pickAllSorted, pickAllSorted, pickAny, pickAny, pickClosest, pickClosest
addChild, getAllChildren, getAlternateCollisionTarget, getChild, getCollisionBounds, indexOfChild, insertChild, moveTo, numChildren, removeAllChildren, removeChild, removeChild, setAlternateCollisionTarget, setChild, setCollisionBounds
cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, duplicateNode, getBounds, getBoundsAutoCompute, getCollidable, getLocale, getLocalToVworld, getLocalToVworld, getParent, getPickable, setBounds, setBoundsAutoCompute, setCollidable, setPickable
clearCapability, clearCapabilityIsFrequent, duplicateSceneGraphObject, getCapability, getCapabilityIsFrequent, getName, getUserData, isCompiled, isLive, setCapability, setCapabilityIsFrequent, setName, setUserData, toString, updateNodeReferences
public ContentNode()
public abstract float getVolume()
public abstract void getMin(Tuple3d min)
min
- public abstract void getMax(Tuple3d max)
max
- public abstract void getCenter(Tuple3d center)
center
- public abstract void channelsUpdated(boolean[] channels)
public abstract void lutUpdated(int[] r, int[] g, int[] b, int[] a)
public abstract void thresholdUpdated(int threshold)
public abstract void colorUpdated(Color3f color)
public abstract void transparencyUpdated(float transparency)
public abstract void shadeUpdated(boolean shaded)
public abstract void eyePtChanged(View view)
view
- public abstract void clearDisplayedData()
Copyright © 2015–2021 Fiji. All rights reserved.