Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
PlaneBoxIntersection.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//
14//
15// PlaneBoxIntersection
16//
18
19#ifndef _PLANE_BOX_INTERSECTION_H_
20#define _PLANE_BOX_INTERSECTION_H_
21
22#include <Inventor/SbLinear.h>
26
27class SoFieldSensor;
28class PlaneBoxIntersectionImpl;
29
72{
73
75
76 public:
77
80
84
86 static void initClass();
88 static void exitClass();
89
92
93 private:
94
95 // Destructor
96 virtual ~PlaneBoxIntersection();
97
98 // These sensors ensure that the geometry is updated when the fields change
99 SoFieldSensor *m_boxFieldSensor;
100 SoFieldSensor *m_planeFieldSensor;
101
102 static void fieldSensorCB(void *, SoSensor *);
103
104 PlaneBoxIntersectionImpl* m_impl;
105
106};
107
108#endif //PlaneBoxIntersection
#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...
SoSFPlane plane
Plane to intersect with.
PlaneBoxIntersection()
Constructor.
static void initClass()
Initialize this class.
SoSFBox3f box
3D box to be intersected.
static void exitClass()
Finish this class.
Sensor class that can be attached to Open Inventor fields.
Polyline shape node.
Definition SoLineSet.h:190
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Field containing...
Definition SoSFBox3f.h:55
Field containing a plane equation.
Definition SoSFPlane.h:82
Abstract base class for Open Inventor sensors.
Definition SoSensor.h:97
#define INVENTORMEDICAL_API
Definition port.h:388