[PREVIEW] [Medical] Shape node to display slice orientation markers in window coordinates. More...
#include <Medical/nodes/SliceOrientationMarkers.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
SliceOrientationMarkers () | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
static void | initClass () |
static void | exitClass () |
Public Attributes | |
SoSFEnum | axis |
SoSFFloat | offset |
SoSFString | fontName |
SoSFFloat | fontSize |
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.
For:
offset | 0.05 |
axis | AXIAL |
fontName | Arial:Bold |
fontSize | 17 |
InventorMedical, DicomInfo, Gnomon, Magnifier, Ruler, SliceScaleBar, TextBox
SliceOrientationMarkers::SliceOrientationMarkers | ( | ) |
Constructor.
static void SliceOrientationMarkers::exitClass | ( | ) | [static] |
Finish using the class.
Reimplemented from SoAnnotation.
static SoType SliceOrientationMarkers::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoAnnotation.
virtual SoType SliceOrientationMarkers::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from SoAnnotation.
static void SliceOrientationMarkers::initClass | ( | ) | [static] |
Initialize the class.
Reimplemented from SoAnnotation.
Axis (default is AXIAL).
Use enum MedicalHelper::Axis.
Specify the font name (default is "Arial:Bold").
See SoFont::name for details.
Specify the font size in pixels (default is 17).
Distance from edge of window to letter.
Specified in normalized screen coordinates (-1 to 1). Default is 0.05.