Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
Magnifier.h
Go to the documentation of this file.
1
2//
3// This class is part of the Open Inventor Medical utility library.
4//
5// The medical utility classes are provided as a prebuilt library named
6// "fei_inventor_medical", that can be used directly in an Open Inventor
7// application. The classes in the prebuilt library are documented and
8// supported by Thermo Fisher Scientific. These classes are also provided as source code.
9//
10// Please see $OIVHOME/include/Medical/InventorMedical.h for the full text.
11//
13
14#ifndef _MEDICAL_MAGNIFIER_H
15#define _MEDICAL_MAGNIFIER_H
16
23
27
61
63
64public:
69
74
80
83
85 static void initClass();
86
88 static void exitClass();
89
90private:
91 virtual ~Magnifier();
92
93private:
94
95 void commonConstructor();
96
97 SoFieldSensor* m_sceneFieldSensor;
98 static void sceneFieldChangedCB( void* data, SoSensor* sensor );
99
100 SoRef<SoSeparator> m_magnifierSGSep;
101 SoRef<SoMaterial> m_magnifierBorderMaterial;
102 SoRef<SoSeparator> m_sceneToMagnifyParent;
103 SoRef<SoOrthographicCamera> m_magnifierCam;
104};
105#endif
#define SO_NODE_HEADER(className)
Definition SoSubNode.h:151
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> (Preview feature...
Definition Magnifier.h:60
static void initClass()
Initialize class (called automatically by InventorMedical::init()).
Magnifier()
Constructor.
SoSFFloat magnifierFactor
Specifies the magnification factor.
Definition Magnifier.h:79
static void exitClass()
Finish using class (called automatically by InventorMedical::finish()).
SoSFNode sceneToMagnify
Specifies the root node of the scene that will be magnified.
Definition Magnifier.h:68
SoSFColor magnifierColor
Specifies the color of the border around the magnifier.
Definition Magnifier.h:73
Sensor class that can be attached to Open Inventor fields.
Smart pointer for any class inheriting SoRefCounter.
Definition SoRef.h:90
Field containing an RGB color.
Definition SoSFColor.h:82
Field containing a floating-point value.
Definition SoSFFloat.h:78
Field containing a a node.
Definition SoSFNode.h:97
Abstract base class for Open Inventor sensors.
Definition SoSensor.h:97
Object you can translate within a plane by dragging with the mouse.
#define INVENTORMEDICAL_API
Definition port.h:388