PlaneBoxIntersection Class Reference
[Nodes]

VSG extension [PREVIEW] [Medical] Shape node that draws the intersection of a plane and a box. More...

#include <Medical/nodes/PlaneBoxIntersection.h>

Inheritance diagram for PlaneBoxIntersection:
SoLineSet SoNonIndexedShape SoVertexShape SoShape SoNode SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Member Functions

virtual SoType getTypeId () const
 PlaneBoxIntersection ()

Static Public Member Functions

static SoType getClassTypeId ()
static void initClass ()
static void exitClass ()

Public Attributes

SoSFBox3f box
SoSFPlane plane

Detailed Description

VSG extension [PREVIEW] [Medical] Shape node that draws the intersection of a plane and a box.

This node is useful for highlighting. The intersection of a plane and a box in the general case is a polygon with up to six points. If the plane does not intersect the box, nothing is drawn.

This node is particularly useful for highlighting the location of a clip plane (using the bounding box of the geometry) and for highlighting the outline of an oblique slice (SoObliqueSlice) using the bounding box (extent) of the volume. The plane field may be automatically updated from a dragger or another node such as SoClipPlane or SoObliqueSlice using the connectFrom() method.

This node is derived from SoLineSet, but the standard fields of that class (numVertices, startIndex and vertexProperty) are managed internally and should not be modified by the application.

The color, line width, etc of the intersection lines can be set using SoMaterial, SoDrawStyle, etc nodes in the usual way.

FILE FORMAT/DEFAULT

SEE ALSO

SoClipPlane, SoObliqueSlice, MoMeshPlaneSlice

What is a Preview Feature ?:

Constructor & Destructor Documentation

PlaneBoxIntersection::PlaneBoxIntersection (  ) 

Constructor.


Member Function Documentation

static void PlaneBoxIntersection::exitClass (  )  [static]

Finish this class.

Reimplemented from SoLineSet.

static SoType PlaneBoxIntersection::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoLineSet.

virtual SoType PlaneBoxIntersection::getTypeId (  )  const [virtual]

Returns the type identifier for this specific instance.

Reimplemented from SoLineSet.

static void PlaneBoxIntersection::initClass (  )  [static]

Initialize this class.

Reimplemented from SoLineSet.


Member Data Documentation

3D box to be intersected.

Default is an empty box.

Plane to intersect with.

Default is plane with normal vector 1,0,0 at distance 0.


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/