Class SliceOrientationMarkers

  • All Implemented Interfaces:

    public class SliceOrientationMarkers
    extends SoAnnotation
    (Preview Feature) Shape node to display slice orientation markers in window coordinates.

    Preview Feature means this class is fully supported and can be used in Open Inventor applications. Being tagged as a Preview Feature just means that the implementation is still subject to API changes and adjustments based on feedback from early adopters. Please be also aware that source compatibility might be broken regardless of the Open Inventor compatibility changes policy due to our commitment to bring needed changes to be sure the specifications of this Preview Feature match the expectations of our customers.

    This node displays slice orientation markers at a fixed location in the viewer window. Slice orientation markers are useful when viewing images in a "2D" mode. The orientation markers are a set of four letters. Each letter is displayed at the mid-point of one edge of the window and offset inward by the value specified in the offset field. The letters displayed depend on the value of the axis field and correspond to the DICOM radiological viewing convention. This node is intended to be used with SoOrthoSlice and a "plane" viewer.

    The application can connect the axis field from the 'axis' field of the SoOrthoSlice node and the correct orientation markers will be displayed automatically if the slice axis is changed.


    • AXIAL display
      • Left/Right: R(ight) / L(eft)
      • Top/Bottom: A(nterior) / P(osterior)
    • CORONAL display
      • Left/Right: R(ight) / L(eft)
      • Top/Bottom: S(uperior) / I(nferior)
    • SAGITTAL display
      • Left/Right: A(nterior) / P(osterior)
      • Top/Bottom: S(uperior) / I(nferior)

    File format/default:

    SliceOrientationMarkers {

      offset 0.05
      axis AXIAL
      fontName Arial:Bold
      fontSize 17

    See Also:
    DicomInfo, Magnifier, Gnomon, SliceScaleBar, TextBox
    • Field Detail

      • axis

        public SoSFEnum<MedicalHelper.Axis> axis
        Axis (default is AXIAL). Use enum MedicalHelper.Axis. Determines which letters are displayed.
      • offset

        public SoSFFloat offset
        Distance from edge of window to letter. Specified in normalized screen coordinates (-1 to 1). Default is 0.05.
      • fontName

        public SoSFString fontName
        Specify the font name (default is "Arial:Bold"). See for details.
      • fontSize

        public SoSFFloat fontSize
        Specify the font size in pixels (default is 17).
    • Constructor Detail

      • SliceOrientationMarkers

        public SliceOrientationMarkers()