14#ifndef _MEDICAL_GNOMON_H
15#define _MEDICAL_GNOMON_H
17#include <Medical/InventorMedical.h>
19#include <Inventor/fields/SoSFFloat.h>
20#include <Inventor/fields/SoSFInt32.h>
21#include <Inventor/fields/SoSFVec2i32.h>
23#include <Inventor/nodes/SoAnnotation.h>
24#include <Inventor/nodes/SoCallback.h>
25#include <Inventor/nodes/SoOrthographicCamera.h>
26#include <Inventor/nodes/SoScale.h>
27#include <Inventor/nodes/SoSwitch.h>
106 virtual void notify(SoNotList *list);
111 void commonConstructor();
117 void updateGnomonVisibility();
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> (Preview feature...
static void initClass()
Initialize class (called automatically by InventorMedical::init()).
SoSFInt32 height
Specifies the height of the gnomon viewport in points (default is 100).
SoSFVec2i32 position
Position of the gnomon viewport in points (default is 0,0).
SoSFBool isDisplayed
Controls whether the gnomon is visible (default is true).
SoSFInt32 width
Specifies the width of the gnomon viewport in points (default is 100).
void setGeometry(SoNode *geometrySceneGraph)
Replace the gnomon geometry (default is basic medical gnomon).
static void exitClass()
Finish using class (called automatically by InventorMedical::finish()).
void setScale(SbVec3f scale)
Scale the size of the gnomon (default is 1,1,1).
Abstract base class for all database nodes.
Orthographic camera node.
Smart pointer for any class inheriting SoRefCounter.
Field containing a single Boolean value.
Field containing a floating-point value.
Field containing a int32_t integer.
Field containing a two-dimensional vector.