Public Methods |
| ClipPlane () |
| ClipPlane (unsigned int no, const Vec4 &plane) |
| ClipPlane (unsigned int no, const Plane &plane) |
| ClipPlane (unsigned int no, const double a, const double b, const double c, const 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,(Type)(CLIPPLANE+_clipPlaneNum)) |
virtual int | compare (const StateAttribute &sa) const |
| return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs.
|
virtual void | getAssociatedModes (std::vector< GLMode > &modes) const |
| return the modes associated with this StateSet
|
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 | setClipPlane (const double a, const double b, const double c, const double d) |
| Set the clip plane, using a a 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 Methods |
virtual | ~ClipPlane () |
Protected Attributes |
double | _clipPlane [4] |
unsigned int | _clipPlaneNum |