A collection of concrete TGLClip objects to be selected from.
Public Member Functions | |
TGLClipSet () | |
Constructor. | |
~TGLClipSet () override | |
Destructor. | |
void | FillPlaneSet (TGLPlaneSet_t &set) const |
Forward request to fill the plane-set to the current clip. | |
Bool_t | GetAutoUpdate () const |
void | GetClipState (TGLClip::EType type, Double_t data[6]) const |
Get state of clip object 'type' into data vector: | |
TGLClip::EType | GetClipType () const |
Get current type active in viewer - returns one of kClipNone kClipPlane or kClipBox. | |
TGLClip * | GetCurrentClip () const |
Bool_t | GetShowClip () const |
Bool_t | GetShowManip () const |
Bool_t | Handle (TGLRnrCtx &rnrCtx, TGLOvlSelectRecord &selRec, Event_t *event) override |
Handle overlay event. | |
void | InvalidateClips () |
Invalidate clip objects. | |
void | InvalidateCurrentClip () |
Invalidate current clip object. | |
TClass * | IsA () const override |
Bool_t | IsClipping () const |
Bool_t | MouseEnter (TGLOvlSelectRecord &selRec) override |
Mouse has entered this element. | |
void | MouseLeave () override |
Mouse has left the element. | |
Bool_t | MouseStillInside (TGLOvlSelectRecord &selRec) override |
void | Render (TGLRnrCtx &rnrCtx) override |
Render clip-shape and manipulator. | |
void | SetAutoUpdate (Bool_t aup) |
void | SetClipState (TGLClip::EType type, const Double_t data[6]) |
Set state of clip object 'type' into data vector: | |
void | SetClipType (TGLClip::EType type) |
Set current clip active in viewer - 'type' is one of kClipNone kClipPlane or kClipBox. | |
void | SetShowClip (Bool_t show) |
void | SetShowManip (Bool_t show) |
void | SetupClips (const TGLBoundingBox &sceneBBox) |
Setup clipping objects for given scene bounding box. | |
void | SetupCurrentClip (const TGLBoundingBox &sceneBBox) |
Setup current clipping object for given scene bounding box. | |
void | SetupCurrentClipIfInvalid (const TGLBoundingBox &sceneBBox) |
Setup current clipping object for given scene bounding box. | |
void | Streamer (TBuffer &) override |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Public Member Functions inherited from TGLOverlayElement | |
TGLOverlayElement (ERole r=kUser, EState s=kActive) | |
virtual | ~TGLOverlayElement () |
ERole | GetRole () const |
EState | GetState () const |
void | SetBinaryState (Bool_t s) |
void | SetRole (ERole r) |
void | SetState (EState s) |
Static Public Member Functions | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Protected Attributes | |
Bool_t | fAutoUpdate |
the current clipping shape | |
TGLClipBox * | fClipBox |
TGLClipPlane * | fClipPlane |
TGLClip * | fCurrentClip |
TGLBoundingBox | fLastBBox |
TGLManipSet * | fManip |
Bool_t | fShowClip |
Bool_t | fShowManip |
Protected Attributes inherited from TGLOverlayElement | |
ERole | fRole |
EState | fState |
Private Member Functions | |
TGLClipSet (const TGLClipSet &)=delete | |
TGLClipSet & | operator= (const TGLClipSet &)=delete |
Additional Inherited Members | |
Public Types inherited from TGLOverlayElement | |
enum | ERole { kUser , kViewer , kAnnotation , kAll } |
enum | EState { kInvisible = 1 , kDisabled = 2 , kActive = 4 , kAllVisible = kDisabled | kActive } |
Protected Member Functions inherited from TGLOverlayElement | |
void | ProjectionMatrixPushIdentity () |
#include <TGLClip.h>
|
privatedelete |
TGLClipSet::TGLClipSet | ( | ) |
Constructor.
Definition at line 336 of file TGLClip.cxx.
|
override |
Destructor.
Definition at line 351 of file TGLClip.cxx.
|
static |
|
inlinestaticconstexpr |
|
inlinestatic |
void TGLClipSet::FillPlaneSet | ( | TGLPlaneSet_t & | set | ) | const |
Forward request to fill the plane-set to the current clip.
Definition at line 416 of file TGLClip.cxx.
void TGLClipSet::GetClipState | ( | TGLClip::EType | type, |
Double_t | data[6] | ||
) | const |
Get state of clip object 'type' into data vector:
'type' requested - 'data' contents returned kClipPlane 4 components - A,B,C,D - of plane eq : Ax+By+CZ+D = 0 kBoxPlane 6 components - Box Center X/Y/Z - Box Extents X/Y/Z
Definition at line 477 of file TGLClip.cxx.
TGLClip::EType TGLClipSet::GetClipType | ( | ) | const |
Get current type active in viewer - returns one of kClipNone kClipPlane or kClipBox.
Definition at line 560 of file TGLClip.cxx.
|
overridevirtual |
Handle overlay event.
Forward to ManipSet.
Reimplemented from TGLOverlayElement.
Definition at line 379 of file TGLClip.cxx.
void TGLClipSet::InvalidateClips | ( | ) |
Invalidate clip objects.
Definition at line 455 of file TGLClip.cxx.
void TGLClipSet::InvalidateCurrentClip | ( | ) |
Invalidate current clip object.
Definition at line 464 of file TGLClip.cxx.
|
inlineoverride |
|
overridevirtual |
Mouse has entered this element.
Forward to ManipSet.
Reimplemented from TGLOverlayElement.
Definition at line 362 of file TGLClip.cxx.
|
overridevirtual |
Mouse has left the element.
Forward to ManipSet.
Reimplemented from TGLOverlayElement.
Definition at line 389 of file TGLClip.cxx.
|
overridevirtual |
Reimplemented from TGLOverlayElement.
Definition at line 367 of file TGLClip.cxx.
|
privatedelete |
|
overridevirtual |
Render clip-shape and manipulator.
Implements TGLOverlayElement.
Definition at line 397 of file TGLClip.cxx.
void TGLClipSet::SetClipState | ( | TGLClip::EType | type, |
const Double_t | data[6] | ||
) |
Set state of clip object 'type' into data vector:
'type' specified 'data' contents interpretation kClipNone ignored kClipPlane 4 components - A,B,C,D - of plane eq : Ax+By+CZ+D = 0 kBoxPlane 6 components - Box Center X/Y/Z - Box Extents X/Y/Z
Definition at line 524 of file TGLClip.cxx.
void TGLClipSet::SetClipType | ( | TGLClip::EType | type | ) |
Set current clip active in viewer - 'type' is one of kClipNone kClipPlane or kClipBox.
Definition at line 580 of file TGLClip.cxx.
void TGLClipSet::SetupClips | ( | const TGLBoundingBox & | sceneBBox | ) |
Setup clipping objects for given scene bounding box.
Definition at line 425 of file TGLClip.cxx.
void TGLClipSet::SetupCurrentClip | ( | const TGLBoundingBox & | sceneBBox | ) |
Setup current clipping object for given scene bounding box.
Definition at line 435 of file TGLClip.cxx.
void TGLClipSet::SetupCurrentClipIfInvalid | ( | const TGLBoundingBox & | sceneBBox | ) |
Setup current clipping object for given scene bounding box.
Definition at line 445 of file TGLClip.cxx.
|
override |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |