public class ContentInstant extends BranchGroup implements UniverseListener, ContentConstants
Modifier and Type | Field and Description |
---|---|
protected int[] |
aLUT |
protected int[] |
bLUT |
protected boolean[] |
channels |
protected Color3f |
color |
protected int[] |
gLUT |
protected ij.ImagePlus |
image |
protected TransformGroup |
localRotate |
protected TransformGroup |
localTranslate |
protected int |
resamplingF |
protected int[] |
rLUT |
protected boolean |
selected |
protected boolean |
shaded |
protected int |
threshold |
protected float |
transparency |
protected int |
type |
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
BB, BS, CO, CS, CUSTOM, MULTIORTHO, ORTHO, PL, SURFACE, SURFACE_PLOT2D, VOLUME
Constructor and Description |
---|
ContentInstant(String name) |
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, getUserData, isCompiled, isLive, setCapability, setCapabilityIsFrequent, setName, setUserData, toString, updateNodeReferences
protected Color3f color
protected ij.ImagePlus image
protected boolean[] channels
protected int[] rLUT
protected int[] gLUT
protected int[] bLUT
protected int[] aLUT
protected float transparency
protected int resamplingF
protected int threshold
protected boolean shaded
protected int type
protected boolean selected
protected TransformGroup localRotate
protected TransformGroup localTranslate
public ContentInstant(String name)
public void displayAs(int type)
public static int getDefaultThreshold(ij.ImagePlus imp, int type)
public static int getDefaultResamplingFactor(ij.ImagePlus imp, int type)
public void display(ContentNode node)
public ij.ImagePlus exportTransformed()
public void clearOriginalData()
public void swapDisplayedData()
public void restoreDisplayedData()
public void clearDisplayedData()
public boolean isAvailable()
public void setVisible(boolean b)
public void showBoundingBox(boolean b)
public void showCoordinateSystem(boolean b)
public void setSelected(boolean selected)
public void setPointListDialog(PointListDialog p)
public void showPointList(boolean b)
public void loadPointList()
public void setPointList(PointList points)
public void savePointList()
public void savePointList(PrintStream out) throws IOException
IOException
@Deprecated public void addPointListPoint(Point3d p)
p
- @Deprecated public void setListPointPos(int i, Point3d pos)
i
- pos
- public float getLandmarkPointSize()
public void setLandmarkPointSize(float r)
public Color3f getLandmarkColor()
public void setLandmarkColor(Color3f color)
public PointList getPointList()
@Deprecated public void deletePointListPoint(int i)
i
- public void toggleLock()
public void setLocked(boolean b)
public void applyTransform(double[] matrix)
public void applyTransform(Transform3D transform)
public void setTransform(double[] matrix)
public void setTransform(Transform3D transform)
public void setLUT(int[] rLUT, int[] gLUT, int[] bLUT, int[] aLUT)
public void setChannels(boolean[] channels)
public void setThreshold(int th)
public void setShaded(boolean b)
public boolean isShaded()
public void setSaturatedVolumeRendering(boolean b)
public boolean isSaturatedVolumeRendering()
public void applySurfaceColors(ij.ImagePlus imp)
public void setColor(Color3f color)
public void setTransparency(float transparency)
public void transformationStarted(View view)
transformationStarted
in interface UniverseListener
public void contentAdded(Content c)
contentAdded
in interface UniverseListener
public void contentRemoved(Content c)
contentRemoved
in interface UniverseListener
public void canvasResized()
canvasResized
in interface UniverseListener
public void contentSelected(Content c)
contentSelected
in interface UniverseListener
public void contentChanged(Content c)
contentChanged
in interface UniverseListener
public void universeClosed()
universeClosed
in interface UniverseListener
public void transformationUpdated(View view)
transformationUpdated
in interface UniverseListener
public void transformationFinished(View view)
transformationFinished
in interface UniverseListener
public void eyePtChanged(View view)
public String getName()
getName
in class SceneGraphObject
public int getTimepoint()
public int getType()
public ContentNode getContent()
public ij.ImagePlus getImage()
public boolean[] getChannels()
public void getRedLUT(int[] l)
public void getGreenLUT(int[] l)
public void getBlueLUT(int[] l)
public void getAlphaLUT(int[] l)
public Color3f getColor()
public int getThreshold()
public float getTransparency()
public int getResamplingFactor()
public TransformGroup getLocalRotate()
public TransformGroup getLocalTranslate()
public void getLocalRotate(Transform3D t)
public void getLocalTranslate(Transform3D t)
public boolean isLocked()
public boolean isVisible()
public boolean hasCoord()
public boolean hasBoundingBox()
public boolean isPLVisible()
Copyright © 2015–2021 Fiji. All rights reserved.