public class Content extends BranchGroup implements UniverseListener, ContentConstants, AxisConstants
Modifier and Type | Field and Description |
---|---|
protected static Pattern |
startFramePattern |
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 |
---|
Content(String name) |
Content(String name,
int tp) |
Content(String name,
TreeMap<Integer,ContentInstant> contents) |
Content(String name,
TreeMap<Integer,ContentInstant> contents,
boolean swapTimelapseData) |
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 static final Pattern startFramePattern
public Content(String name)
public Content(String name, int tp)
public Content(String name, TreeMap<Integer,ContentInstant> contents)
public Content(String name, TreeMap<Integer,ContentInstant> contents, boolean swapTimelapseData)
public void addInstant(ContentInstant ci)
public void removeInstant(int timepoint)
public ContentInstant getCurrent()
public ContentInstant getInstant(int i)
public TreeMap<Integer,ContentInstant> getInstants()
public void showTimepoint(int tp)
public void showTimepoint(int tp, boolean force)
public void setShowAllTimepoints(boolean b)
public boolean getShowAllTimepoints()
public int getNumberOfInstants()
public boolean isVisibleAt(int tp)
public int getStartTime()
public int getEndTime()
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 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 savePointList()
@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 applyRotation(int axis, double degree)
public void applyTranslation(float dx, float dy, float dz)
public void setTransform(double[] matrix)
public void setTransform(Transform3D transform)
public void setRotation(int axis, double degree)
public void setTranslation(float dx, float dy, float dz)
public void setChannels(boolean[] channels)
public void setLUT(int[] r, int[] g, int[] b, int[] a)
public void setThreshold(int th)
public void setShaded(boolean b)
public void setSaturatedVolumeRendering(boolean b)
public void applySurfaceColors(ij.ImagePlus img)
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 getType()
public ContentNode getContent()
public void getMin(Point3d min)
public void getMax(Point3d max)
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 boolean isShaded()
public boolean isSaturatedVolumeRendering()
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.