1 #ifndef COIN_SOCLIPPLANEELEMENT_H 2 #define COIN_SOCLIPPLANEELEMENT_H 36 #include <Inventor/elements/SoAccumulatedElement.h> 37 #include <Inventor/lists/SbList.h> 38 #include <Inventor/SbPlane.h> 45 static void initClass(
void);
56 int getNum(
void)
const;
57 const SbPlane &
get(
const int index,
const SbBool inworldspace = TRUE)
const;
69 SbBool operator==(
const so_plane_data &spd)
const {
70 return spd.plane == plane && spd.wcPlane == wcPlane;
72 SbBool operator!=(
const so_plane_data &spd)
const {
73 return spd.plane != plane || spd.wcPlane != wcPlane;
81 virtual void addToElt(
const SbPlane & plane,
const SbMatrix & modelmatrix);
84 #endif // !COIN_SOCLIPPLANEELEMENT_H
virtual void init(SoState *state)
Definition: SoAccumulatedElement.cpp:75
The SoNode class is the base class for nodes used in scene graphs.Coin is a retained mode 3D visualiz...
Definition: SoNode.h:56
SoElement is the abstract base class for all elements.
Definition: SoElement.h:43
The SoState class manages the Coin scenegraph traversal state data.The SoState class is used by actio...
Definition: SoState.h:44
int startIndex
Definition: SoClipPlaneElement.h:79
The SbMatrix class is a 4x4 dimensional representation of a matrix.SbMatrix is used by many other cla...
Definition: SbMatrix.h:46
The SoAccumulatedElement class is an abstract class for storing accumulated state.This is the superclass of elements where new element data accumulates with older data.
Definition: SoAccumulatedElement.h:39
The SoClipPlaneElement class is used to manage the clip plane stack.
Definition: SoClipPlaneElement.h:40
The SbPlane class represents a plane in 3D space.SbPlane is used by many other classes in Coin...
Definition: SbPlane.h:43
SbList< so_plane_data > planes
Definition: SoClipPlaneElement.h:78
virtual void push(SoState *state)
Definition: SoAccumulatedElement.cpp:83