ClipPlane state class which encapsulates OpenGL glClipPlane() functionality
Inheritance:
Public Methods
-
ClipPlane()
-
virtual Object* clone() const
- return a shallow copy of a node, with Object* return type
-
virtual bool isSameKindAs(const Object* obj) const
- return true if this and obj are of the same kind of object
-
virtual const char* className() const
- return the name of the node's class type
-
virtual const Type getType() const
-
virtual void setStateSetModes(StateSet& ds, const GLModeValue value) const
-
void setClipPlane(const Vec4& plane)
- Set the clip plane, using a Vec4 to define plane.
-
void setClipPlane(const Plane& plane)
- Set the clip plane, using a Plane to define plane.
-
void setClipPlane(const double* plane)
- Set the clip plane, using a double[4] to define plane.
-
void getClipPlane(Vec4& plane) const
- Get the clip plane, values entered into a Vec4 passed to the getClipPlane.
-
void getClipPlane(Plane& plane) const
- Get the clip plane, values entered into a Plane passed to the getClipPlane.
-
void getClipPlane(double* plane) const
- Get the clip plane, values entered into a double[4] passed to the getClipPlane.
-
void setClipPlaneNum(const unsigned int num)
- Set the clip plane number.
-
const unsigned int getClipPlaneNum() const
- Get the clip plane number.
-
virtual void apply(State& state) const
- Apply the clip plane's state to the OpenGL state machine.
Protected Fields
-
double* _clipPlane
-
unsigned int _clipPlaneNum
Protected Methods
-
virtual ~ClipPlane()
Public Methods
-
virtual void compile(State&) const
Public Members
-
typedef GLenum GLMode
-
typedef unsigned int GLModeValue
-
typedef unsigned int OverrideValue
-
enum Values
-
enum Type
Inherited from Object:
Public Methods
-
inline Referenced& operator = (Referenced&)
-
inline void ref() const
-
inline void unref() const
-
inline const int referenceCount() const
Protected Fields
-
mutable int _refCount
Documentation
ClipPlane state class which encapsulates OpenGL glClipPlane() functionality
- ClipPlane()
- virtual Object* clone() const
- return a shallow copy of a node, with Object* return type
- virtual bool isSameKindAs(const Object* obj) const
- return true if this and obj are of the same kind of object
- virtual const char* className() const
- return the name of the node's class type
- virtual const Type getType() const
- virtual void setStateSetModes(StateSet& ds, const GLModeValue value) const
- void setClipPlane(const Vec4& plane)
- Set the clip plane, using a Vec4 to define plane.
- void setClipPlane(const Plane& plane)
- Set the clip plane, using a Plane to define plane.
- void setClipPlane(const double* plane)
- Set the clip plane, using a double[4] to define plane.
- void getClipPlane(Vec4& plane) const
- Get the clip plane, values entered into a Vec4 passed to the getClipPlane.
- void getClipPlane(Plane& plane) const
- Get the clip plane, values entered into a Plane passed to the getClipPlane.
- void getClipPlane(double* plane) const
- Get the clip plane, values entered into a double[4] passed to the getClipPlane.
- void setClipPlaneNum(const unsigned int num)
- Set the clip plane number.
- const unsigned int getClipPlaneNum() const
- Get the clip plane number.
- virtual void apply(State& state) const
- Apply the clip plane's state to the OpenGL state machine.
- virtual ~ClipPlane()
- double* _clipPlane
- unsigned int _clipPlaneNum
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.