1 #ifndef COIN_SOCLIPPLANEELEMENT_H
2 #define COIN_SOCLIPPLANEELEMENT_H
27 #include <Inventor/elements/SoAccumulatedElement.h>
28 #include <Inventor/lists/SbList.h>
29 #include <Inventor/SbPlane.h>
36 static void initClass(
void);
47 int getNum(
void)
const;
48 const SbPlane &
get(
const int index,
const SbBool inworldspace = TRUE)
const;
60 SbBool operator==(
const so_plane_data &spd)
const {
61 return spd.plane == plane && spd.wcPlane == wcPlane;
63 SbBool operator!=(
const so_plane_data &spd)
const {
64 return spd.plane != plane || spd.wcPlane != wcPlane;
72 virtual void addToElt(
const SbPlane & plane,
const SbMatrix & modelmatrix);
75 #endif // !COIN_SOCLIPPLANEELEMENT_H
virtual void init(SoState *state)
Definition: SoAccumulatedElement.cpp:66
The SoNode class is the base class for nodes used in scene graphs.Coin is a retained mode 3D visualiz...
Definition: SoNode.h:47
SoElement is the abstract base class for all elements.
Definition: SoElement.h:34
The SoState class manages the Coin scenegraph traversal state data.The SoState class is used by actio...
Definition: SoState.h:35
int startIndex
Definition: SoClipPlaneElement.h:70
The SbMatrix class is a 4x4 dimensional representation of a matrix.SbMatrix is used by many other cla...
Definition: SbMatrix.h:37
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:30
The SoClipPlaneElement class is used to manage the clip plane stack.
Definition: SoClipPlaneElement.h:31
The SbPlane class represents a plane in 3D space.SbDPPlane is used by many other classes in Coin...
Definition: SbPlane.h:34
SbList< so_plane_data > planes
Definition: SoClipPlaneElement.h:69
virtual void push(SoState *state)
Definition: SoAccumulatedElement.cpp:74