public class VtkCanvas extends Canvas3D implements java.awt.event.ActionListener, VtkSettingPanel.SettingChangeListener
Modifier and Type | Field and Description |
---|---|
static java.awt.Image |
ICON_AXES3D
icons
|
static java.awt.Image |
ICON_BOUNDINGBOX |
static java.awt.Image |
ICON_GRID |
static java.awt.Image |
ICON_RULER |
static java.awt.Image |
ICON_RULERLABEL |
static java.awt.Image |
ICON_TARGET |
static java.lang.String |
PROPERTY_AXES
properties
|
static java.lang.String |
PROPERTY_BOUNDINGBOX |
static java.lang.String |
PROPERTY_BOUNDINGBOX_GRID |
static java.lang.String |
PROPERTY_BOUNDINGBOX_LABELS |
static java.lang.String |
PROPERTY_BOUNDINGBOX_RULES |
static java.lang.String |
PROPERTY_BOUNDS |
static java.lang.String |
PROPERTY_DATA |
static java.lang.String |
PROPERTY_LUT |
static java.lang.String |
PROPERTY_SCALE |
static vtk.vtkInformationIntegerKey |
visibilityKey
Used for outline visibility information in vtkActor
|
PROPERTY_LAYERS_VISIBLE
TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
Point3D.Double |
canvasToImage(int x,
int y)
Convert specified canvas point to image point
|
void |
changed(IcyCanvasEvent event)
canvas changed (packed event).
|
void |
customizeToolbar(javax.swing.JToolBar toolBar)
Called by the parent viewer when building the toolbar.
|
Point3D |
displayToWorld(double x,
double y,
double z)
Convert display coordinates to world coordinates.
|
Point3D |
displayToWorld(int x,
int y)
Convert display coordinates to world coordinates.
|
Point3D |
displayToWorld(java.awt.Point pt)
Convert display coordinates to world coordinates.
|
Point3D |
displayToWorld(java.awt.Point pt,
double z)
Convert display coordinates to world coordinates.
|
vtk.vtkCamera |
getActiveCam()
Deprecated.
Use
getCamera() instead |
vtk.vtkAxesActor |
getAxes() |
java.awt.Color |
getBackgroundColor()
Returns rendering background color
|
vtk.vtkCubeAxesActor |
getBoundingBox() |
vtk.vtkCamera |
getCamera() |
boolean |
getGPURendering() |
VtkImageVolume |
getImageVolume() |
vtk.vtkLight |
getLight() |
IcyVtkPanel |
getPanel3D()
Deprecated.
Use
getVtkPanel() |
vtk.vtkProp |
getPickedObject()
Returns the picked object on the last mouse move/drag event (can be
null if no object was picked). |
vtk.vtkPicker |
getPicker() |
boolean |
getPickOnMouseMove()
Deprecated.
Always enabled now (always return
true ) |
java.awt.image.BufferedImage |
getRenderedImage(int t,
int c)
Returns a RGB or ARGB (depending support) BufferedImage representing the canvas view for
image at position (t, c).
|
java.awt.image.BufferedImage |
getRenderedImage(int t,
int z,
int c,
boolean canvasView)
Returns a RGB or ARGB (depending support) BufferedImage representing the canvas view for
image at position (t, z, c).
|
vtk.vtkRenderer |
getRenderer() |
vtk.vtkRenderWindow |
getRenderWindow() |
vtk.vtkCubeAxesActor |
getRulerBox() |
double |
getScaleX()
X scale factor
|
double |
getScaleY()
Y scale factor
|
java.awt.Component |
getViewComponent() |
double |
getVolumeAmbient() |
VtkImageVolume.VtkVolumeBlendType |
getVolumeBlendingMode() |
double |
getVolumeDiffuse() |
int |
getVolumeInterpolation() |
VtkImageVolume.VtkVolumeMapperType |
getVolumeMapperType()
Deprecated.
Use
getGPURendering() instead |
int |
getVolumeSample() |
double[] |
getVolumeScale()
Get scaling for image volume rendering
|
double |
getVolumeSpecular() |
IcyVtkPanel |
getVtkPanel() |
vtk.vtkOrientationMarkerWidget |
getWidget()
Deprecated.
there is no more orientation widget because of the jogl bug with multiple viewport.
|
double |
getWorldZ(int x,
int y)
Return reached z world position (normalized) for specified display position
|
double |
getWorldZ(java.awt.Point pt) |
java.awt.Point |
imageToCanvas(double x,
double y,
double z)
Convert specified image point to canvas point.
|
boolean |
isAxisVisible()
Returns
true if the 3D axis are visible. |
boolean |
isBoundingBoxGridVisible()
Returns
true if the volume bounding box grid is visible. |
boolean |
isBoundingBoxRulerLabelsVisible()
Returns
true if the volume bounding box ruler labels are visible. |
boolean |
isBoundingBoxRulerVisible()
Returns
true if the volume bounding box ruler are visible. |
boolean |
isBoundingBoxVisible()
Returns
true if the volume bounding box is visible. |
boolean |
isInitialized()
Returns initialized state of VtkCanvas
|
boolean |
isVolumeShadingEnable() |
boolean |
isVolumeVisible() |
void |
keyPressed(java.awt.event.KeyEvent e) |
void |
keyReleased(java.awt.event.KeyEvent e) |
void |
lock()
Deprecated.
Use
getVtkPanel().lock() instead. |
vtk.vtkActor |
pick(int x,
int y)
Deprecated.
use
pickProp(int, int) instead. |
vtk.vtkProp |
pickProp(int x,
int y)
Pick object at specified position and return it.
|
void |
refresh()
Force render refresh
|
void |
setAxisVisible(boolean value)
Enable / disable 3D axis display.
|
void |
setBackgroundColor(java.awt.Color value)
Sets rendering background color
|
void |
setBackgroundColorInternal(java.awt.Color color)
Set background color (internal)
|
void |
setBoundingBoxColor(java.awt.Color color)
Deprecated.
|
void |
setBoundingBoxGridVisible(boolean value)
Enable / disable volume bounding box grid display.
|
void |
setBoundingBoxRulerLabelsVisible(boolean value)
Enable / disable volume bounding box ruler labels display.
|
void |
setBoundingBoxRulerVisible(boolean value)
Enable / disable volume bounding box ruler display.
|
void |
setBoundingBoxVisible(boolean value)
Enable / disable volume bounding box display.
|
void |
setGPURendering(boolean value) |
void |
setMouseImagePosX(double value)
Set mouse X image position
|
void |
setMouseImagePosY(double value)
Set mouse Y image position
|
void |
setMouseImagePosZ(double value)
Set mouse Z image position
|
void |
setPickOnMouseMove(boolean value)
Deprecated.
Always enable now
|
void |
settingChange(java.beans.PropertyChangeEvent evt) |
void |
setVolumeAmbient(double value) |
void |
setVolumeBlendingMode(VtkImageVolume.VtkVolumeBlendType value) |
void |
setVolumeDiffuse(double value) |
void |
setVolumeDistanceSample(int value)
Deprecated.
Use
setVolumeSample(int) instead |
void |
setVolumeInterpolation(int value) |
void |
setVolumeMapperType(VtkImageVolume.VtkVolumeMapperType value)
Deprecated.
Use
setGPURendering(boolean) instead |
void |
setVolumeSample(int value) |
void |
setVolumeScale(double x,
double y,
double z)
Set scaling for image volume rendering
|
void |
setVolumeShadingEnable(boolean value) |
void |
setVolumeSpecular(double value) |
void |
setVolumeVisible(boolean value)
Sets the visible state of the image volume object
|
void |
shutDown()
Called by the viewer when canvas is closed to release some resources.
|
void |
unlock()
Deprecated.
Use
getVtkPanel().unlock() instead. |
Point3D |
worldToDisplay(double x,
double y,
double z)
Convert world coordinates to display coordinates
|
Point3D |
worldToDisplay(Point3D pt)
Convert world coordinates to display coordinates
|
getVolumeScaleX, getVolumeScaleY, getVolumeScaleZ, getXScaling, getYScaling, getZScaling, setVolumeScaleX, setVolumeScaleY, setVolumeScaleZ, setXScaling, setYScaling, setZScaling
canvasToImage, centerOn, getMouseImagePos, getMouseImagePosX, getMouseImagePosY, getMouseImagePosZ, imageToCanvas, setMouseImagePos, setMouseImagePos, setMousePos, setPositionT
addCanvasListener, addLayer, addLayer, addLayerListener, addLayersListener, addViewerToolbarComponents, addVisibleLayerToList, beginUpdate, canvasToImageC, canvasToImageDeltaC, canvasToImageDeltaT, canvasToImageDeltaX, canvasToImageDeltaY, canvasToImageDeltaZ, canvasToImageLogDeltaX, canvasToImageLogDeltaX, canvasToImageLogDeltaY, canvasToImageLogDeltaY, canvasToImageLogDeltaZ, canvasToImageLogDeltaZ, canvasToImageT, canvasToImageX, canvasToImageY, canvasToImageZ, create, endUpdate, getC, getCanvasClassName, getCanvasClassName, getCanvasOffsetC, getCanvasOffsetT, getCanvasOffsetX, getCanvasOffsetY, getCanvasOffsetZ, getCanvasPluginNames, getCanvasPlugins, getCanvasSize, getCanvasSizeC, getCanvasSizeT, getCanvasSizeX, getCanvasSizeY, getCanvasSizeZ, getCurrentImage, getDrawLayers, getFrameRate, getImage, getImage, getImageCanvasSize, getImageCanvasSizeC, getImageCanvasSizeT, getImageCanvasSizeX, getImageCanvasSizeY, getImageCanvasSizeZ, getImageLayer, getImageOffsetC, getImageOffsetT, getImageOffsetX, getImageOffsetY, getImageOffsetZ, getImageOverlay, getImageSize, getImageSizeC, getImageSizeT, getImageSizeX, getImageSizeY, getImageSizeZ, getLayer, getLayer, getLayer, getLayerListeners, getLayers, getLayers, getLayersPainter, getListeners, getLut, getMax, getMaxC, getMaxPosition, getMaxPosition5D, getMaxPositionC, getMaxPositionT, getMaxPositionX, getMaxPositionY, getMaxPositionZ, getMaxT, getMaxX, getMaxY, getMaxZ, getMouseImageInfosPanel, getMouseImagePos, getMouseImagePos5D, getMouseImagePosC, getMouseImagePosT, getMousePos, getNumSelectedSamples, getOffset, getOffset5D, getOffsetC, getOffsetT, getOffsetX, getOffsetY, getOffsetZ, getOrderedLayersForEvent, getOverlays, getPanel, getPluginClassName, getPosition, getPosition5D, getPositionC, getPositionT, getPositionX, getPositionY, getPositionZ, getRenderedImage, getRenderedImage, getRenderedSequence, getRenderedSequence, getRenderedSequence, getRenderedSequence, getRotation, getRotationC, getRotationT, getRotationX, getRotationY, getRotationZ, getScale, getScaleC, getScaleFactorC, getScaleFactorT, getScaleFactorX, getScaleFactorY, getScaleFactorZ, getScaleT, getScaleZ, getSequence, getSyncId, getT, getTNavigationPanel, getViewer, getVisibleLayers, getVisibleLayers, getVisibleOrderedLayersForEvent, getZ, getZNavigationPanel, hasLayer, hasLayer, hasLayer, imageToCanvasC, imageToCanvasDeltaC, imageToCanvasDeltaT, imageToCanvasDeltaX, imageToCanvasDeltaY, imageToCanvasDeltaZ, imageToCanvasT, imageToCanvasX, imageToCanvasY, imageToCanvasZ, isLayersVisible, isSynchHeader, isSynchMaster, isSynchOnCursor, isSynchOnSlice, isSynchOnView, isSynchronizationSupported, isSynchronized, isSynchSlave, isUpdating, isVisible, keyTyped, layerChanged, lutChanged, mouseClick, mouseClick, mouseDrag, mouseDrag, mouseEntered, mouseEntered, mouseExited, mouseExited, mouseImagePositionChanged, mouseMove, mouseMove, mousePressed, mousePressed, mouseReleased, mouseReleased, mouseWheelMoved, mouseWheelMoved, offsetChanged, onChanged, removeCanvasListener, removeLayer, removeLayer, removeLayer, removeLayerListener, removeLayersListener, rotationChanged, scaleChanged, sequenceChanged, sequenceClosed, setC, setDrawLayers, setFrameRate, setLayersVisible, setMouseImagePos, setMouseImagePosC, setMouseImagePosT, setMousePos, setOffset, setOffsetC, setOffsetT, setOffsetX, setOffsetY, setOffsetZ, setPosition, setPositionC, setPositionX, setPositionY, setPositionZ, setRotation, setRotationC, setRotationT, setRotationX, setRotationY, setRotationZ, setScale, setScaleC, setScaleT, setScaleX, setScaleY, setScaleZ, setSyncId, setT, setZ, viewerChanged, viewerClosed
getAccessibleContext, getUI, getUIClassID, setUI, updateUI
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintImmediately, paintImmediately, print, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, createImage, createImage, createVolatileImage, createVolatileImage, dispatchEvent, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
public static final java.awt.Image ICON_AXES3D
public static final java.awt.Image ICON_BOUNDINGBOX
public static final java.awt.Image ICON_GRID
public static final java.awt.Image ICON_RULER
public static final java.awt.Image ICON_RULERLABEL
public static final java.awt.Image ICON_TARGET
public static final java.lang.String PROPERTY_AXES
public static final java.lang.String PROPERTY_BOUNDINGBOX
public static final java.lang.String PROPERTY_BOUNDINGBOX_GRID
public static final java.lang.String PROPERTY_BOUNDINGBOX_RULES
public static final java.lang.String PROPERTY_BOUNDINGBOX_LABELS
public static final java.lang.String PROPERTY_LUT
public static final java.lang.String PROPERTY_DATA
public static final java.lang.String PROPERTY_SCALE
public static final java.lang.String PROPERTY_BOUNDS
public static final vtk.vtkInformationIntegerKey visibilityKey
public void shutDown()
IcyCanvas
shutdown
is called
after the creation of the other canvas.public boolean isInitialized()
public void customizeToolbar(javax.swing.JToolBar toolBar)
IcyCanvas
customizeToolbar
in class IcyCanvas
toolBar
- the parent toolbar to customize@Deprecated public void lock()
getVtkPanel().lock()
instead.@Deprecated public void unlock()
getVtkPanel().unlock()
instead.@Deprecated public vtk.vtkCamera getActiveCam()
getCamera()
insteadpublic vtk.vtkCamera getCamera()
public vtk.vtkLight getLight()
null
if render window is not yet initialized.public vtk.vtkAxesActor getAxes()
public vtk.vtkCubeAxesActor getBoundingBox()
public vtk.vtkCubeAxesActor getRulerBox()
@Deprecated public vtk.vtkOrientationMarkerWidget getWidget()
public VtkImageVolume getImageVolume()
public java.awt.Color getBackgroundColor()
public void setBackgroundColor(java.awt.Color value)
public boolean isBoundingBoxVisible()
true
if the volume bounding box is visible.public void setBoundingBoxVisible(boolean value)
public boolean isBoundingBoxGridVisible()
true
if the volume bounding box grid is visible.public void setBoundingBoxGridVisible(boolean value)
public boolean isBoundingBoxRulerVisible()
true
if the volume bounding box ruler are visible.public void setBoundingBoxRulerVisible(boolean value)
public boolean isBoundingBoxRulerLabelsVisible()
true
if the volume bounding box ruler labels are visible.public void setBoundingBoxRulerLabelsVisible(boolean value)
@Deprecated public void setBoundingBoxColor(java.awt.Color color)
setBackgroundColorInternal(Color)
public void setBackgroundColorInternal(java.awt.Color color)
public boolean isAxisVisible()
true
if the 3D axis are visible.public void setAxisVisible(boolean value)
public VtkImageVolume.VtkVolumeBlendType getVolumeBlendingMode()
VtkImageVolume.getBlendingMode()
public void setVolumeBlendingMode(VtkImageVolume.VtkVolumeBlendType value)
public int getVolumeSample()
VtkImageVolume.getSampleResolution()
public void setVolumeSample(int value)
public boolean isVolumeShadingEnable()
VtkImageVolume.getShade()
public void setVolumeShadingEnable(boolean value)
VtkImageVolume.setShade(boolean)
public double getVolumeAmbient()
VtkImageVolume.getAmbient()
public void setVolumeAmbient(double value)
VtkImageVolume.setAmbient(double)
public double getVolumeDiffuse()
VtkImageVolume.getDiffuse()
public void setVolumeDiffuse(double value)
VtkImageVolume.setDiffuse(double)
public double getVolumeSpecular()
VtkImageVolume.getSpecular()
public void setVolumeSpecular(double value)
VtkImageVolume.setSpecular(double)
public int getVolumeInterpolation()
public void setVolumeInterpolation(int value)
public boolean getGPURendering()
VtkImageVolume.getGPURendering()
public void setGPURendering(boolean value)
@Deprecated public VtkImageVolume.VtkVolumeMapperType getVolumeMapperType()
getGPURendering()
instead@Deprecated public void setVolumeMapperType(VtkImageVolume.VtkVolumeMapperType value)
setGPURendering(boolean)
insteadpublic boolean isVolumeVisible()
VtkImageVolume.isVisible()
public void setVolumeVisible(boolean value)
VtkImageVolume.setVisible(boolean)
@Deprecated public void setVolumeDistanceSample(int value)
setVolumeSample(int)
insteadCanvas3D
setVolumeDistanceSample
in class Canvas3D
@Deprecated public boolean getPickOnMouseMove()
true
)@Deprecated public void setPickOnMouseMove(boolean value)
public vtk.vtkProp getPickedObject()
null
if no object was picked).pickProp(int, int)
@Deprecated public vtk.vtkActor pick(int x, int y)
pickProp(int, int)
instead.public vtk.vtkProp pickProp(int x, int y)
getPickedObject()
,
IcyVtkPanel.pick(int, int)
public double getWorldZ(int x, int y)
public double getWorldZ(java.awt.Point pt)
public Point3D worldToDisplay(Point3D pt)
public Point3D worldToDisplay(double x, double y, double z)
public Point3D displayToWorld(java.awt.Point pt)
public Point3D displayToWorld(int x, int y)
public Point3D displayToWorld(java.awt.Point pt, double z)
public Point3D displayToWorld(double x, double y, double z)
public java.awt.Point imageToCanvas(double x, double y, double z)
IcyCanvas3D
imageToCanvas
in class IcyCanvas3D
public Point3D.Double canvasToImage(int x, int y)
IcyCanvas3D
canvasToImage
in class IcyCanvas3D
public java.awt.Component getViewComponent()
getViewComponent
in class IcyCanvas
public IcyVtkPanel getVtkPanel()
@Deprecated public IcyVtkPanel getPanel3D()
getVtkPanel()
getPanel3D
in class Canvas3D
public vtk.vtkRenderer getRenderer()
getRenderer
in class Canvas3D
public vtk.vtkRenderWindow getRenderWindow()
public vtk.vtkPicker getPicker()
IcyVtkPanel.getPicker()
public double[] getVolumeScale()
getVolumeScale
in class Canvas3D
public void setVolumeScale(double x, double y, double z)
setVolumeScale
in class Canvas3D
public void keyPressed(java.awt.event.KeyEvent e)
keyPressed
in interface java.awt.event.KeyListener
keyPressed
in class IcyCanvas
public void keyReleased(java.awt.event.KeyEvent e)
keyReleased
in interface java.awt.event.KeyListener
keyReleased
in class IcyCanvas
public void setMouseImagePosX(double value)
IcyCanvas
setMouseImagePosX
in class IcyCanvas
public void setMouseImagePosY(double value)
IcyCanvas
setMouseImagePosY
in class IcyCanvas
public void setMouseImagePosZ(double value)
IcyCanvas
setMouseImagePosZ
in class IcyCanvas
public java.awt.image.BufferedImage getRenderedImage(int t, int c)
Canvas3D
getRenderedImage
in class Canvas3D
t
- T position of wanted image (-1 for complete sequence)c
- C position of wanted image (-1 for all channels)public java.awt.image.BufferedImage getRenderedImage(int t, int z, int c, boolean canvasView)
IcyCanvas
getRenderedImage
in class IcyCanvas
t
- T position of wanted image (-1 for complete sequence)z
- Z position of wanted image (-1 for complete stack)c
- C position of wanted image (-1 for all channels)canvasView
- render with canvas view if true else use default sequence dimensionpublic void changed(IcyCanvasEvent event)
IcyCanvas
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
public void settingChange(java.beans.PropertyChangeEvent evt)
settingChange
in interface VtkSettingPanel.SettingChangeListener