| library: libRGL #include "TGLClip.h" |

| virtual void | TGLPhysicalShape::DirectDraw(const TGLDrawFlags& flags) const |
| const TGLDrawable& | TGLDrawable::operator=(const TGLDrawable&) |
| enum TGLClip::EMode { | kInside | |
| kOutside | ||
| }; | ||
| enum TGLPhysicalShape::EManip { | kTranslateX | |
| kTranslateY | ||
| kTranslateZ | ||
| kTranslateAll | ||
| kScaleX | ||
| kScaleY | ||
| kScaleZ | ||
| kScaleAll | ||
| kRotateX | ||
| kRotateY | ||
| kRotateZ | ||
| kRotateAll | ||
| kManipAll | ||
| }; | ||
| enum TGLDrawable::ELODAxes { | kLODAxesNone | |
| kLODAxesX | ||
| kLODAxesY | ||
| kLODAxesZ | ||
| kLODAxesAll | ||
| }; |
| ULong_t | TGLDrawable::fID | ! unique drawable ID |
| Bool_t | TGLDrawable::fCached | ! use display list cached |
| TGLBoundingBox | TGLDrawable::fBoundingBox | ! the drawables bounding box |
| static TGLQuadric | TGLDrawable::fgQuad | ! Single common quadric drawing object |
TGLClip
Abstract clipping shape - derives from TGLPhysicalShape
Adds clip mode (inside/outside) and pure virtual method to
approximate shape as set of planes. This plane set is used to perform
interactive clipping using OpenGL clip planes.
Construct a clip plane object, based on supplied 'plane', with initial manipulation pivot at 'center', with drawn extents (in local x/y axes) of 'extents' Plane can have center pivot translated in all directions, and rotated round center in X/Y axes , the in-plane axes. It cannot be scaled Note theorectically a plane is of course infinite - however we want to draw the object in viewer - so we fake it with a single GL face (polygon) - extents defines the width/depth of this - should be several times scene extents.
Update clip plane object to follow passed 'plane' equation. Center pivot is shifted to nearest point on new plane.
Return set of planes (actually a single) describing this clip plane