public final class SurfacePlot extends Shape3D
ALLOW_APPEARANCE_OVERRIDE_READ, ALLOW_APPEARANCE_OVERRIDE_WRITE, ALLOW_APPEARANCE_READ, ALLOW_APPEARANCE_WRITE, ALLOW_COLLISION_BOUNDS_READ, ALLOW_COLLISION_BOUNDS_WRITE, ALLOW_GEOMETRY_READ, ALLOW_GEOMETRY_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 |
|---|
SurfacePlot(Volume vol,
Color3f color,
float transp,
int slice)
Constructs a SurfacePlot from the given image data, color and transparency
of the specified slice.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getSlice()
Returns the currently displayed slice.
|
void |
setChannels(boolean[] ch)
Change the displayed channels of this surface plot.
|
void |
setColor(Color3f color)
Changes the color of this surface plot.
|
void |
setShaded(boolean b)
Shade the surface or not.
|
void |
setSlice(int slice)
Sets the currently displayed slice.
|
void |
setTransparency(float t)
Change the transparency of this surface plot.
|
addGeometry, cloneNode, duplicateNode, getAllGeometries, getAppearance, getAppearanceOverrideEnable, getBounds, getCollisionBounds, getGeometry, getGeometry, indexOfGeometry, insertGeometry, intersect, intersect, intersect, numGeometries, removeAllGeometries, removeGeometry, removeGeometry, setAppearance, setAppearanceOverrideEnable, setCollisionBounds, setGeometry, setGeometrycloneTree, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, 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 void setSlice(int slice)
slice - public int getSlice()
public void setTransparency(float t)
t - public void setChannels(boolean[] ch)
ch - public void setColor(Color3f color)
color - public void setShaded(boolean b)
b - Copyright © 2015–2021 Fiji. All rights reserved.