public class Gnomon extends SoAnnotation
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 a medical specific "gnomon" (compass) on the screen that shows the user the current orientation of the volume in 3D space. Visibility of the gnomon is controlled by theisDisplayed
field.
Position and size of the gnomon are specified in pixels using the position
,
width
and height
fields.
File format/default:
Gnomon {
isDisplayed | TRUE |
position | 0 0 |
width | 100 |
height | 100 |
SoSeparator.Cachings, SoSeparator.FastEditings, SoSeparator.RenderUnitIds
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
SoSFFloat |
cameraDistance
Specifies the distance from the camera to the gnomon geometry.
|
SoSFInt32 |
height
Specifies the height of the gnomon viewport in pixels (default is 100).
|
SoSFBool |
isDisplayed
Controls whether the gnomon is visible (default is true).
|
SoSFVec2i32 |
position
Position of the gnomon viewport in pixels (default is 0,0).
|
SoSFInt32 |
width
Specifies the width of the gnomon viewport in pixels (default is 100).
|
AUTO, boundingBoxCaching, CLEAR_ZBUFFER, directVizCaching, DISABLE, fastEditing, KEEP_ZBUFFER, OFF, ON, pickCulling, renderCaching, renderCulling, renderUnitId
boundingBoxIgnoring
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
Gnomon()
Constructor
|
getNumRenderCaches, setNumRenderCaches
addChild, findChild, getChild, getNumChildren, insertChild, removeAllChildren, removeChild, removeChild, replaceChild, replaceChild
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
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
dispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizable
getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public SoSFBool isDisplayed
public SoSFVec2i32 position
public SoSFInt32 width
public SoSFInt32 height
public SoSFFloat cameraDistance
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com