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>
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);
The SbMatrix class is a 4x4 dimensional representation of a matrix.
Definition SbMatrix.h:47
The SbPlane class represents a plane in 3D space.
Definition SbPlane.h:43
The SoAccumulatedElement class is an abstract class for storing accumulated state.
Definition SoAccumulatedElement.h:39
static void initClass(void)
Definition SoAccumulatedElement.cpp:69
virtual void push(SoState *state)
Definition SoAccumulatedElement.cpp:92
virtual void init(SoState *state)
Definition SoAccumulatedElement.cpp:84
The SoClipPlaneElement class is used to manage the clip plane stack.
Definition SoClipPlaneElement.h:40
int startIndex
Definition SoClipPlaneElement.h:79
SbList< so_plane_data > planes
Definition SoClipPlaneElement.h:78
The SoNode class is the base class for nodes used in scene graphs.
Definition SoNode.h:56
The SoState class manages the Coin scene graph traversal state data.
Definition SoState.h:44