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:76
The SoNode class is the base class for nodes used in scene graphs.
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.
Definition: SoState.h:44
int startIndex
Definition: SoClipPlaneElement.h:79
The SbMatrix class is a 4x4 dimensional representation of a matrix.
Definition: SbMatrix.h:47
The SoAccumulatedElement class is an abstract class for storing accumulated state.
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.
Definition: SbPlane.h:43
SbList< so_plane_data > planes
Definition: SoClipPlaneElement.h:78
virtual void push(SoState *state)
Definition: SoAccumulatedElement.cpp:84