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);
The SbMatrix class is a 4x4 dimensional representation of a matrix.
Definition: SbMatrix.h:37
The SbPlane class represents a plane in 3D space.
Definition: SbPlane.h:34
The SoAccumulatedElement class is an abstract class for storing accumulated state.
Definition: SoAccumulatedElement.h:30
virtual void push(SoState *state)
Definition: SoAccumulatedElement.cpp:74
virtual void init(SoState *state)
Definition: SoAccumulatedElement.cpp:66
The SoClipPlaneElement class is used to manage the clip plane stack.
Definition: SoClipPlaneElement.h:31
int startIndex
Definition: SoClipPlaneElement.h:70
SbList< so_plane_data > planes
Definition: SoClipPlaneElement.h:69
SoElement is the abstract base class for all elements.
Definition: SoElement.h:34
The SoNode class is the base class for nodes used in scene graphs.
Definition: SoNode.h:47
The SoState class manages the Coin scenegraph traversal state data.
Definition: SoState.h:35