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.
| enum TGLClip::EMode { | kOutside | |
| kInside | ||
| }; | ||
| enum TGLPhysicalShape::EManip { | kTranslateX | |
| kTranslateY | ||
| kTranslateZ | ||
| kTranslateAll | ||
| kScaleX | ||
| kScaleY | ||
| kScaleZ | ||
| kScaleAll | ||
| kRotateX | ||
| kRotateY | ||
| kRotateZ | ||
| kRotateAll | ||
| kManipAll | ||
| }; | 

Construct an (initially) axis aligned clip pbox object, extents 'halfLengths', centered on 'center' vertex. Box can be translated, rotated and scaled in all (xyz) local axes.
Return set of 6 planes describing faces of the box but invert them so that they point inside of box.