[PREVIEW] [Medical] Shape node to display a medical gnomon (compass) on the screen. More...
#include <Medical/nodes/Gnomon.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
Gnomon () | |
void | setScale (SbVec3f scale) |
void | setGeometry (SoNode *geometrySceneGraph) |
Static Public Member Functions | |
static SoType | getClassTypeId () |
static void | initClass () |
static void | exitClass () |
Public Attributes | |
SoSFBool | isDisplayed |
SoSFVec2i32 | position |
SoSFInt32 | width |
SoSFInt32 | height |
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 the isDisplayed field.
Position and size of the gnomon are specified in pixels using the position, width and height fields.
isDisplayed | TRUE |
position | 0 0 |
width | 100 |
height | 100 |
InventorMedical, DicomInfo, Magnifier, Ruler
Gnomon::Gnomon | ( | ) |
Constructor.
static void Gnomon::exitClass | ( | ) | [static] |
Finish using class (called automatically by InventorMedical::finish()).
Reimplemented from SoAnnotation.
static SoType Gnomon::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoAnnotation.
virtual SoType Gnomon::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from SoAnnotation.
static void Gnomon::initClass | ( | ) | [static] |
Initialize class (called automatically by InventorMedical::init()).
Reimplemented from SoAnnotation.
void Gnomon::setGeometry | ( | SoNode * | geometrySceneGraph | ) |
Replace the gnomon geometry (default is basic medical gnomon).
Gnomon geometry should have a 3D extent of -1 to 1.
void Gnomon::setScale | ( | SbVec3f | scale | ) | [inline] |
Scale the size of the gnomon (default is 1,1,1).
Specifies the height of the gnomon viewport in points (default is 100).
Controls whether the gnomon is visible (default is true).
Position of the gnomon viewport in points (default is 0,0).
Specifies the width of the gnomon viewport in points (default is 100).