public class Content extends BranchGroup implements UniverseListener, ContentConstants, AxisConstants
| Modifier and Type | Field and Description |
|---|---|
protected static Pattern |
startFramePattern |
ALLOW_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_REPORTINGBB, 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, 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, getUserData, isCompiled, isLive, setCapability, setCapabilityIsFrequent, setName, setUserData, toString, updateNodeReferencesprotected 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 UniverseListenerpublic void contentAdded(Content c)
contentAdded in interface UniverseListenerpublic void contentRemoved(Content c)
contentRemoved in interface UniverseListenerpublic void canvasResized()
canvasResized in interface UniverseListenerpublic void contentSelected(Content c)
contentSelected in interface UniverseListenerpublic void contentChanged(Content c)
contentChanged in interface UniverseListenerpublic void universeClosed()
universeClosed in interface UniverseListenerpublic void transformationUpdated(View view)
transformationUpdated in interface UniverseListenerpublic void transformationFinished(View view)
transformationFinished in interface UniverseListenerpublic void eyePtChanged(View view)
public String getName()
getName in class SceneGraphObjectpublic 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.