Inheritance diagram for osg::ClipPlane:
Public Member Functions | |
ClipPlane () | |
ClipPlane (unsigned int no, const Vec4d &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 () const |
virtual bool | getModeUsage (ModeUsage &usage) const |
void | setClipPlane (const Plane &plane) |
void | setClipPlane (double a, double b, double c, double d) |
void | setClipPlane (const Vec4d &plane) |
const Vec4d & | getClipPlane () const |
void | setClipPlaneNum (unsigned int num) |
unsigned int | getClipPlaneNum () const |
virtual void | apply (State &state) const |
Protected Member Functions | |
virtual | ~ClipPlane () |
Protected Attributes | |
Vec4d | _clipPlane |
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 a Vec4d. |
|
Gets the clip plane number. |
|
Return the member identifier within the attribute's class type. Used for light number/clip plane number etc. Reimplemented from osg::StateAttribute. |
|
|
|
|
|
Set the clip plane with the given Vec4. |
|
Defines the plane as [ a b c d ]. |
|
Set the clip plane with the given Plane. |
|
Sets the clip plane number. |
|
|
|
|