Class SliceOrientationMarkers
- All Implemented Interfaces:
SafeDisposable
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 theoffset
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:
- 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:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.openinventor.inventor.nodes.SoSeparator
SoSeparator.Cachings, SoSeparator.FastEditings, SoSeparator.RenderUnitIds
Nested classes/interfaces inherited from class com.openinventor.inventor.nodes.SoNode
SoNode.RenderModes
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
Field Summary
FieldsModifier and TypeFieldDescriptionAxis (default is AXIAL).Specify the font name (default is "Arial:Bold").Specify the font size in pixels (default is 17).Distance from edge of window to letter.Fields inherited from class com.openinventor.inventor.nodes.SoSeparator
boundingBoxCaching, fastEditing, pickCulling, renderCaching, renderCulling, renderUnitId
Fields inherited from class com.openinventor.inventor.nodes.SoGroup
boundingBoxIgnoring
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the supported Render engine mode.Methods inherited from class com.openinventor.inventor.nodes.SoGroup
addChild, findChild, getChild, getNumChildren, insertChild, removeAllChildren, removeChild, removeChild, replaceChild, replaceChild
Methods inherited from class com.openinventor.inventor.nodes.SoNode
affectsState, callback, copy, copy, distribute, doAction, getAlternateRep, getBoundingBox, getByName, getMatrix, getPrimitiveCount, getRenderUnitID, GLRender, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, handleEvent, isBoundingBoxIgnoring, isOverride, pick, rayPick, search, setOverride, touch, write
Methods inherited from class com.openinventor.inventor.fields.SoFieldContainer
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
Methods inherited from class com.openinventor.inventor.misc.SoBase
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizable
Methods inherited from class com.openinventor.inventor.Inventor
getNativeResourceHandle
-
Field Details
-
axis
Axis (default is AXIAL). Use enum MedicalHelper.Axis. Determines which letters are displayed. -
offset
Distance from edge of window to letter. Specified in normalized screen coordinates (-1 to 1). Default is 0.05. -
fontName
Specify the font name (default is "Arial:Bold"). See SoFont.name for details. -
fontSize
Specify the font size in pixels (default is 17).
-
-
Constructor Details
-
SliceOrientationMarkers
public SliceOrientationMarkers()Constructor
-
-
Method Details
-
getRenderEngineMode
Description copied from class:SoNode
Returns the supported Render engine mode.For custom node, this method returns by default
SoNode.RenderModes.OIV_UNKNOWN_RENDERING_MODE
, override this method to specify the Render engine mode supported by your custom node.- Overrides:
getRenderEngineMode
in classSoNode
- Returns:
- the supported Render engine mode for this node.
-