Gnomon Class Reference
[Nodes]

VSG extension [PREVIEW] [Medical] Shape node to display a medical gnomon (compass) on the screen. More...

#include <Medical/nodes/Gnomon.h>

Inheritance diagram for Gnomon:
SoAnnotation SoSeparator SoGroup SoNode SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

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

Detailed Description

VSG extension [PREVIEW] [Medical] Shape node to display a medical gnomon (compass) on the screen.

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.

FILE FORMAT/DEFAULT

SEE ALSO

InventorMedical, DicomInfo, Magnifier, Ruler

What is a Preview Feature ?:

Constructor & Destructor Documentation

Gnomon::Gnomon (  ) 

Constructor.


Member Function Documentation

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).


Member Data Documentation

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).


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 4 Sep 2023
Copyright © Thermo Fisher Scientific All rights reserved.
https://www.openinventor.com/