Class VOILatticeManager
- java.lang.Object
-
- gov.nih.mipav.view.renderer.WildMagic.VOI.VOIManager
-
- gov.nih.mipav.view.renderer.WildMagic.VOI.VOILatticeManager
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.awt.event.KeyListener
,java.awt.event.MouseListener
,java.awt.event.MouseMotionListener
,java.util.EventListener
public class VOILatticeManager extends VOIManager
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class gov.nih.mipav.view.renderer.WildMagic.VOI.VOIManager
VOIManager.ActiveTree, VOIManager.TreeNode
-
-
Field Summary
Fields Modifier and Type Field Description (package private) VOILatticeManagerInterface
m_kVOIInterface
-
Fields inherited from class gov.nih.mipav.view.renderer.WildMagic.VOI.VOIManager
DELETE_INTENSITY_LINE, GRADIENT_ALL, GRADIENT_MAG, GRADIENT_MAG_INT, GRADIENT_MAG_MED, INTENSITY, m_bFirstDrag, m_bSelected, m_fMouseX, m_fMouseY, m_iNearStatus, m_iPlane, m_kComponent, m_kCurrentVOI, m_kDrawingContext, m_kImageActive, m_kMouseOffset, m_kParent, m_kPopupPt, m_kPopupVOI, MEDIALNESS, NearBoundPoint, NearLine, NearNone, NearPoint, SHOW_INTENSITY_GRAPH, SHOW_LINE_ENDPOINTS
-
-
Constructor Summary
Constructors Constructor Description VOILatticeManager(VOIManagerInterface kParent)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add3DMarker(VOI textVOI, boolean automaticLabel)
private void
addPoint(int iX, int iY)
void
clear3DSelection()
boolean
doAutomaticLabels()
boolean
is3DSelectionEnabled()
void
mouseDragged(java.awt.event.MouseEvent kEvent)
void
mouseMoved(java.awt.event.MouseEvent kEvent)
void
mousePressed(java.awt.event.MouseEvent kEvent)
void
mouseReleased(java.awt.event.MouseEvent kEvent)
protected VOIBase
selectVOI(java.awt.event.MouseEvent kEvent)
void
setInterface(VOILatticeManagerInterface voiInterface)
protected void
showSelectedVOI(java.awt.event.MouseEvent kEvent)
-
Methods inherited from class gov.nih.mipav.view.renderer.WildMagic.VOI.VOIManager
actionPerformed, add, contains, createOvalVOI, createPointVOI, createPolygonVOI, deleteVOI, dispose, doLevelset, doVOI, draw, editCircleDiameter, editSquareLength, getComponent, getDrawingContext, getDrawVOIflag, getImage, getLocalImage, getParent, getPlane, getSlice, init, isActive, keyPressed, keyReleased, keyTyped, liveWire, mouseClicked, mouseEntered, mouseExited, move, nearBoundPoint, nearLine, nearPoint, pasteAllVOI, pasteVOI, processLeftMouseDrag, propagateVOI, scaleCircleVOI, scaleSquareVOI, setActive, setActiveImage, setImage, setImageB, setPopupPt, setPopupVOI, testMove
-
-
-
-
Field Detail
-
m_kVOIInterface
VOILatticeManagerInterface m_kVOIInterface
-
-
Constructor Detail
-
VOILatticeManager
public VOILatticeManager(VOIManagerInterface kParent)
Constructor. Passes in the VOIManagerInterface parent which communicates all user-interface commands to the VOIManager.- Parameters:
kParent
- containing VOIManagerInterface.
-
-
Method Detail
-
setInterface
public void setInterface(VOILatticeManagerInterface voiInterface)
-
clear3DSelection
public void clear3DSelection()
-
doAutomaticLabels
public boolean doAutomaticLabels()
-
is3DSelectionEnabled
public boolean is3DSelectionEnabled()
-
mouseDragged
public void mouseDragged(java.awt.event.MouseEvent kEvent)
- Specified by:
mouseDragged
in interfacejava.awt.event.MouseMotionListener
- Overrides:
mouseDragged
in classVOIManager
-
mouseMoved
public void mouseMoved(java.awt.event.MouseEvent kEvent)
- Specified by:
mouseMoved
in interfacejava.awt.event.MouseMotionListener
- Overrides:
mouseMoved
in classVOIManager
-
mousePressed
public void mousePressed(java.awt.event.MouseEvent kEvent)
- Specified by:
mousePressed
in interfacejava.awt.event.MouseListener
- Overrides:
mousePressed
in classVOIManager
-
mouseReleased
public void mouseReleased(java.awt.event.MouseEvent kEvent)
- Specified by:
mouseReleased
in interfacejava.awt.event.MouseListener
- Overrides:
mouseReleased
in classVOIManager
-
addPoint
private void addPoint(int iX, int iY)
-
add3DMarker
public void add3DMarker(VOI textVOI, boolean automaticLabel)
-
selectVOI
protected VOIBase selectVOI(java.awt.event.MouseEvent kEvent)
- Overrides:
selectVOI
in classVOIManager
-
showSelectedVOI
protected void showSelectedVOI(java.awt.event.MouseEvent kEvent)
- Overrides:
showSelectedVOI
in classVOIManager
-
-