Open Inventor Release 2024.1.3
 
Loading...
Searching...
No Matches
OrthoSliceBorder.h
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 ORTHO_SLICE_BORDER_H_
15#define ORTHO_SLICE_BORDER_H_
16
17#include <Medical/InventorMedical.h>
18#include <Inventor/fields/SoSFBool.h>
19#include <Inventor/fields/SoSFColor.h>
20#include <VolumeViz/nodes/SoOrthoSlice.h>
21
22class SoDrawStyle;
23class SoSeparator;
24class SoDEPRECATED INVENTORMEDICAL_API OrthoSliceBorder : public SoOrthoSlice
77{
78 SO_NODE_HEADER(OrthoSliceBorder);
79
80 public:
81
83 static void initClass();
84
86 static void exitClass();
87
90
91 private:
92
94 virtual ~OrthoSliceBorder();
95
97 virtual void GLRender(SoGLRenderAction* action);
98
99 SoRef<SoSeparator> m_scene; // Internal scene graph
100 SoRef<SoNode> m_geometry; // Shape node that draws the border
101 SbBox3f m_volumeExtent;
102 int m_sliceAxis;
103 int m_sliceNumber;
104 SoDrawStyle* m_style;
105};
106
107#endif //OrthoSliceBorder
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> (Preview feature...
static void exitClass()
Finish using class (called automatically by InventorMedical::finish()).
OrthoSliceBorder()
Constructor.
static void initClass()
Initialize class (called automatically by InventorMedical::init()).
3D box class.
Definition SbBox.h:649
Node that defines the style to use when rendering.
Renders a scene graph using Open Inventor's Render Engine.
<a href="IconLegend.html"><img src="extVR.gif" alt="VolumeViz" border="0"></a> Ortho slice shape nod...
Smart pointer for any class inheriting SoRefCounter.
Definition SoRef.h:90
Group node that saves and restores traversal state.