14#ifndef _PLANE_GEOMETRY_INTERSECTION_H_
15#define _PLANE_GEOMETRY_INTERSECTION_H_
17#include <Medical/InventorMedical.h>
18#include <Inventor/nodes/SoSeparator.h>
20#include <Inventor/fields/SoSFBool.h>
21#include <Inventor/fields/SoSFFloat.h>
22#include <Inventor/fields/SoSFNode.h>
23#include <Inventor/fields/SoSFPlane.h>
24#include <Inventor/nodes/SoShape.h>
25#include <Inventor/sensors/SoFieldSensor.h>
27class PlaneGeometryIntersectionImpl;
208 PlaneGeometryIntersectionImpl* m_impl;
214 static void fieldSensorCB(
void* data,
SoSensor* sensor );
217 void resetGeometry();
<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()).
PlaneGeometryIntersection()
Constructor.
const SoShape * getShape() const
Get the shape node that contains the computed vertices and indices.
SoSFPlane plane
Plane to intersect with.
SoSFBool polygon
Specifies whether to compute a capping polygon (default false).
SoSFBool automatic
Specifies whether to recompute the intersection automatically or not (default true).
SoSFFloat tolerance
Tolerance for testing if vertices are equal.
static void exitClass()
Finish using class (called automatically by InventorMedical::finish()).
SoSFNode scene
Scene to intersect with plane.
int recompute()
Recompute the intersection.
Sensor class that can be attached to Open Inventor fields.
Field containing a single Boolean value.
Field containing a floating-point value.
Field containing a a node.
Field containing a plane equation.
Abstract base class for Open Inventor sensors.
Group node that saves and restores traversal state.
Abstract base class for all shape nodes.