Class VOIWormAnnotation

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<WildMagic.LibFoundation.Mathematics.Vector3f>, java.util.Collection<WildMagic.LibFoundation.Mathematics.Vector3f>, java.util.List<WildMagic.LibFoundation.Mathematics.Vector3f>, java.util.RandomAccess

    public class VOIWormAnnotation
    extends VOIText
    See Also:
    Serialized Form
    • Field Detail

      • retwist

        private boolean retwist
      • modified

        private boolean modified
      • latticeSegment

        private int latticeSegment
      • slice

        private int slice
      • selected

        private boolean selected
      • showSelectedVOI

        private VOI showSelectedVOI
      • 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 Detail

      • VOIWormAnnotation

        public VOIWormAnnotation()
      • VOIWormAnnotation

        public VOIWormAnnotation​(WildMagic.LibFoundation.Mathematics.Vector3f kPosition)
      • VOIWormAnnotation

        public VOIWormAnnotation​(java.util.Vector<WildMagic.LibFoundation.Mathematics.Vector3f> kPositions)
      • VOIWormAnnotation

        public VOIWormAnnotation​(VOIText kVOI)
    • Method Detail

      • dispose

        public void dispose()
        Description copied from class: VOIBase
        Deletes local data members.
        Overrides:
        dispose in class VOIBase
      • 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

        public void updateSelected​(ModelImage image)
      • display

        public void display​(boolean show)
        Turns the display setting on/off for the VolumeVOI displayed in the volume renderer.
        Overrides:
        display in class VOIBase
        Parameters:
        show -
      • 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 -