Inheritance diagram for osg::ClipPlane:
Public Member Functions | |
ClipPlane () | |
ClipPlane (unsigned int no, const Vec4 &plane) | |
ClipPlane (unsigned int no, const Plane &plane) | |
ClipPlane (unsigned int no, double a, double b, double c, double d) | |
ClipPlane (const ClipPlane &cp, const CopyOp ©op=CopyOp::SHALLOW_COPY) | |
META_StateAttribute (osg, ClipPlane, CLIPPLANE) | |
virtual int | compare (const StateAttribute &sa) const |
virtual unsigned int | getMember () |
virtual bool | getModeUsage (ModeUsage &usage) const |
void | setClipPlane (const Vec4 &plane) |
void | setClipPlane (const Plane &plane) |
void | setClipPlane (const double *plane) |
void | setClipPlane (double a, double b, double c, double d) |
void | getClipPlane (Vec4 &plane) const |
void | getClipPlane (Plane &plane) const |
void | getClipPlane (double *plane) const |
void | setClipPlaneNum (unsigned int num) |
unsigned int | getClipPlaneNum () const |
virtual void | apply (State &state) const |
Protected Member Functions | |
virtual | ~ClipPlane () |
Protected Attributes | |
double | _clipPlane [4] |
unsigned int | _clipPlaneNum |
|
|
|
|
|
|
|
|
|
Copy constructor using CopyOp to manage deep vs shallow copy. |
|
|
|
Applies the clip plane's state to the OpenGL state machine. Implements osg::StateAttribute. |
|
Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. Implements osg::StateAttribute. |
|
Gets the clip plane as an array of doubles. |
|
Gets the clip plane as a Plane. |
|
Gets the clip plane as a Vec4. |
|
Gets the clip plane number. |
|
|
|
Return the modes associated with this StateAttribute. Reimplemented from osg::StateAttribute. |
|
|
|
Defines the plane as [ a b c d ]. |
|
Defines the clip plane with the given double[4]. |
|
Defines this plane with the given Plane. |
|
Defines the clip plane with the given Vec4. |
|
Sets the clip plane number. |
|
|
|
|