TGLClipPlane Concrete clip plane object. This can be translated in all directions rotated about the Y/Z local axes (the in-plane axes). It cannot be scaled.
static TGLClip::EType | TGLClip::kClipBox | |
static TGLClip::EType | TGLClip::kClipNone | |
static TGLClip::EType | TGLClip::kClipPlane | |
static TGLClip::EMode | TGLClip::kInside | |
static TGLPhysicalShape::EManip | TGLPhysicalShape::kManipAll | |
static TGLClip::EMode | TGLClip::kOutside | |
static TGLPhysicalShape::EManip | TGLPhysicalShape::kRotateAll | |
static TGLPhysicalShape::EManip | TGLPhysicalShape::kRotateX | |
static TGLPhysicalShape::EManip | TGLPhysicalShape::kRotateY | |
static TGLPhysicalShape::EManip | TGLPhysicalShape::kRotateZ | |
static TGLPhysicalShape::EManip | TGLPhysicalShape::kScaleAll | |
static TGLPhysicalShape::EManip | TGLPhysicalShape::kScaleX | |
static TGLPhysicalShape::EManip | TGLPhysicalShape::kScaleY | |
static TGLPhysicalShape::EManip | TGLPhysicalShape::kScaleZ | |
static TGLPhysicalShape::EManip | TGLPhysicalShape::kTranslateAll | |
static TGLPhysicalShape::EManip | TGLPhysicalShape::kTranslateX | |
static TGLPhysicalShape::EManip | TGLPhysicalShape::kTranslateY | |
static TGLPhysicalShape::EManip | TGLPhysicalShape::kTranslateZ |
TGLClip::EMode | TGLClip::fMode | |
UInt_t | TGLClip::fTimeStamp | |
Bool_t | TGLClip::fValid |
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 - see Setup().
Setup the clipping plane by point and normal. Length of the normal determines the size of the plane drawn in GL viewer. The normal points into the direction of visible half-plane. This only makes sense if you disable auto-update of the clip-object: gl_viewer->SetClipAutoUpdate(kFALSE). After calling this also call gl_viewer->RefreshPadEditor(gl_viewer) and gl_viewer->RequestDraw().
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 one) describing this clip plane.