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