Class VOIWormAnnotation
java.lang.Object
java.util.AbstractCollection<WildMagic.LibFoundation.Mathematics.Vector3f>
java.util.AbstractList<WildMagic.LibFoundation.Mathematics.Vector3f>
java.util.Vector<WildMagic.LibFoundation.Mathematics.Vector3f>
gov.nih.mipav.model.structures.VOIBase
gov.nih.mipav.model.structures.VOIText
gov.nih.mipav.view.renderer.WildMagic.WormUntwisting.VOIWormAnnotation
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<WildMagic.LibFoundation.Mathematics.Vector3f>,Collection<WildMagic.LibFoundation.Mathematics.Vector3f>,List<WildMagic.LibFoundation.Mathematics.Vector3f>,RandomAccess,SequencedCollection<WildMagic.LibFoundation.Mathematics.Vector3f>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate booleanprivate intprivate floatprivate floatprivate WildMagic.LibFoundation.Mathematics.Vector3fprivate booleanprivate booleanprivate booleanprivate WildMagic.LibFoundation.Mathematics.Vector3fprivate static final longprivate VOIContour[]private VOIprivate intprivate WildMagic.LibFoundation.Mathematics.Vector3fFields inherited from class gov.nih.mipav.model.structures.VOIBase
active, autoLabel, averagePt, cenMassPt, cenMassPtB, cenMassPtG, cenMassPtR, CIRCLE, closed, display, DOWN, fixed, gcPt, label, lastPoint, LEFT, LEFT_MIDDLE, LOWER_LEFT, LOWER_MIDDLE, LOWER_RIGHT, m_akImageMinMax, m_bQuickLUT, m_bReloadPoints, m_bSplit, m_bUpdateAverage, m_bUpdateBounds, m_bUpdateGeometricCenter, m_bUpdateMask, m_bUpdatePlane, m_iAnchorIndex, m_iPlane, m_iVOIType, m_kColor, m_kPositionSum, m_kVolumeVOI, nearBoundPoint, nearPoint, NOT_A_PLANE, NOT_A_POINT, numPixels, process, RIGHT, RIGHT_MIDDLE, SQUARE, UNKNOWN_SUBTYPE, UP, UPPER_LEFT, UPPER_MIDDLE, UPPER_RIGHT, voiGroup, volumeDisplayRange, XPLANE, YPLANE, ZPLANEFields inherited from class java.util.Vector
capacityIncrement, elementCount, elementDataFields inherited from class java.util.AbstractList
modCount -
Constructor Summary
ConstructorsConstructorDescriptionVOIWormAnnotation(VOIText kVOI) VOIWormAnnotation(Vector<WildMagic.LibFoundation.Mathematics.Vector3f> kPositions) VOIWormAnnotation(WildMagic.LibFoundation.Mathematics.Vector3f kPosition) -
Method Summary
Modifier and TypeMethodDescriptionclone()voidcopy(VOIWormAnnotation kVOI) voiddisplay(boolean show) Turns the display setting on/off for the VolumeVOI displayed in the volume renderer.voiddispose()Deletes local data members.intWildMagic.LibFoundation.Mathematics.Vector3fintgetSlice()WildMagic.LibFoundation.Mathematics.Vector3fWildMagic.LibFoundation.Mathematics.Vector3fbooleanbooleanbooleanprivate voidmakeSelectionFrame(WildMagic.LibFoundation.Mathematics.Vector3f right, WildMagic.LibFoundation.Mathematics.Vector3f up, WildMagic.LibFoundation.Mathematics.Vector3f center, float diameter, VOIContour ellipse) Generates the VOI that highlights which point (lattice or annotation) is currently selected by the user.booleanmodified()voidmodified(boolean modified) booleanretwist()voidretwist(boolean retwist) voidsetCurveAnnotation(boolean isCurve) voidsetLatticeSegment(int segment) voidsetSeamCell(boolean isSeam) voidsetSelected(boolean select) voidsetSelectionOffset(WildMagic.LibFoundation.Mathematics.Vector3f selection) voiduntwistTest(WildMagic.LibFoundation.Mathematics.Vector3f pt, float distance) voiduntwistTestNoBounds(WildMagic.LibFoundation.Mathematics.Vector3f pt, float distance) voidupdateSelected(ModelImage image) Methods inherited from class gov.nih.mipav.model.structures.VOIText
exportPoint, getBackgroundColor, getColor, getColorString, getComments, getDisplay, getFontDescriptors, getFontName, getFontSize, getLocationString, getNote, getText, getTextFont, getTextWidth, moveVOIPoint, setBackgroundColor, setColor, setComments, setFontDescriptors, setFontName, setFontSize, setNote, setText, setTextFont, setTextWidth, setUseMarker, update, updateText, useMarker, xCor, yCorMethods inherited from class gov.nih.mipav.model.structures.VOIBase
addElement, addElement, area, areaTwice, calcIntensity, calcIntensity, calcIntensityThreshold, calcRGBIntensity, calcRGBIntensity, calcRGBIntensityThreshold, contain, contains, contains, contains, createVolumeVOI, cycleActivePt, delete, deleteVolumeVOI, distanceToVOI, equals, exportArrays, exportArrays, fillVolume, findPositionAndCurvature, findPositionAndIntensity, findPositionAndIntensity, findVOIIndentations2D, getActivePt, getAllContourPoints, getAnchor, getAverage, getBounds, getBounds, getCenterOfMass, getCenterOfMass, getCenterOfMassB, getCenterOfMassG, getCenterOfMassR, getContourID, getDoGeometricCenterLabel, getGeometricCenter, getGeometricCenterA, getGroup, getImageBoundingBox, getLabel, getLastNumPixels, getLengthPtToPt, getLengthPtToPt, getLengthString, getMaskPositions, getName, getNearBoundPoint, getNearPoint, getNumVoxels, getPlane, getProcess, getSelectedPoint, getSubtype, getTotalLengthString, getType, getVolumeDisplayRange, getVolumeVOI, importArrays, importArrays, importPoints, isActive, isClosed, isFixed, isM_bUpdateBounds, isM_bUpdateGeometricCenter, isQuickLUT, isSplit, nearLine, nearLine, planeFit, reloadPoints, setActive, setAnchor, setClosed, setDoGeometricCenterLabel, setFixed, setGroup, setLabel, setMask, setMaskSlice, setNearBoundPoint, setNearPoint, setPlane, setProcess, setQuickLUT, setSelectedPoint, setSplit, setSubtype, setVOIIntensities, setVOIIntensities, setVolumeDisplayRange, slice, slice, transform, trimPoints, update, updateMethods inherited from class java.util.Vector
add, add, addAll, addAll, addElement, capacity, clear, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, firstElement, forEach, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeIf, removeRange, replaceAll, retainAll, set, setElementAt, setSize, size, sort, spliterator, subList, toArray, toArray, toString, trimToSizeMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, stream, toArrayMethods inherited from interface java.util.List
addFirst, addLast, getFirst, getLast, removeFirst, removeLast, reversed
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
retwist
private boolean retwist -
modified
private boolean modified -
latticeSegment
private int latticeSegment -
slice
private int slice -
selected
private boolean selected -
showSelectedVOI
-
showSelected
-
selectionOffset
private WildMagic.LibFoundation.Mathematics.Vector3f selectionOffset -
isCurveAnnotation
private boolean isCurveAnnotation -
isSeamCell
private boolean isSeamCell -
untwistPt
private WildMagic.LibFoundation.Mathematics.Vector3f untwistPt -
minDistance
private float minDistance -
minUntwistPt
private WildMagic.LibFoundation.Mathematics.Vector3f minUntwistPt -
minUntwistDistance
private float minUntwistDistance
-
-
Constructor Details
-
VOIWormAnnotation
public VOIWormAnnotation() -
VOIWormAnnotation
public VOIWormAnnotation(WildMagic.LibFoundation.Mathematics.Vector3f kPosition) -
VOIWormAnnotation
-
VOIWormAnnotation
-
VOIWormAnnotation
-
-
Method Details
-
copy
-
clone
-
dispose
public void dispose()Description copied from class:VOIBaseDeletes local data members. -
modified
public void modified(boolean modified) -
modified
public boolean modified() -
retwist
public void retwist(boolean retwist) -
retwist
public boolean retwist() -
getSlice
public int getSlice() -
getLatticeSegment
public int getLatticeSegment() -
setLatticeSegment
public void setLatticeSegment(int segment) -
isSeamCell
public boolean isSeamCell() -
setSeamCell
public void setSeamCell(boolean isSeam) -
setCurveAnnotation
public void setCurveAnnotation(boolean isCurve) -
isCurveAnnotation
public boolean isCurveAnnotation() -
setSelected
public void setSelected(boolean select) -
isSelected
public boolean isSelected() -
setSelectionOffset
public void setSelectionOffset(WildMagic.LibFoundation.Mathematics.Vector3f selection) -
getSelectionOffset
public WildMagic.LibFoundation.Mathematics.Vector3f getSelectionOffset() -
untwistTest
public void untwistTest(WildMagic.LibFoundation.Mathematics.Vector3f pt, float distance) -
getUntwistTest
public WildMagic.LibFoundation.Mathematics.Vector3f getUntwistTest() -
untwistTestNoBounds
public void untwistTestNoBounds(WildMagic.LibFoundation.Mathematics.Vector3f pt, float distance) -
getUntwistTestNoBounds
public WildMagic.LibFoundation.Mathematics.Vector3f getUntwistTestNoBounds() -
updateSelected
-
display
public void display(boolean show) Turns the display setting on/off for the VolumeVOI displayed in the volume renderer. -
makeSelectionFrame
private void makeSelectionFrame(WildMagic.LibFoundation.Mathematics.Vector3f right, WildMagic.LibFoundation.Mathematics.Vector3f up, WildMagic.LibFoundation.Mathematics.Vector3f center, float diameter, VOIContour ellipse) Generates the VOI that highlights which point (lattice or annotation) is currently selected by the user.- Parameters:
right-up-center-diameter-ellipse-
-