ROOT 6.18/05 Reference Guide |
A collection of concrete TGLClip objects to be selected from.
Public Member Functions | |
TGLClipSet () | |
Constructor. More... | |
virtual | ~TGLClipSet () |
Destructor. More... | |
void | FillPlaneSet (TGLPlaneSet_t &set) const |
Forward request to fill the plane-set to the current clip. More... | |
Bool_t | GetAutoUpdate () const |
void | GetClipState (TGLClip::EType type, Double_t data[6]) const |
Get state of clip object 'type' into data vector: More... | |
TGLClip::EType | GetClipType () const |
Get current type active in viewer - returns one of kClipNone kClipPlane or kClipBox. More... | |
TGLClip * | GetCurrentClip () const |
Bool_t | GetShowClip () const |
Bool_t | GetShowManip () const |
virtual Bool_t | Handle (TGLRnrCtx &rnrCtx, TGLOvlSelectRecord &selRec, Event_t *event) |
Handle overlay event. More... | |
void | InvalidateClips () |
Invalidate clip objects. More... | |
void | InvalidateCurrentClip () |
Invalidate current clip object. More... | |
Bool_t | IsClipping () const |
virtual Bool_t | MouseEnter (TGLOvlSelectRecord &selRec) |
Mouse has entered this element. More... | |
virtual void | MouseLeave () |
Mouse has left the element. More... | |
virtual Bool_t | MouseStillInside (TGLOvlSelectRecord &selRec) |
virtual void | Render (TGLRnrCtx &rnrCtx) |
Render clip-shape and manipulator. More... | |
void | SetAutoUpdate (Bool_t aup) |
void | SetClipState (TGLClip::EType type, const Double_t data[6]) |
Set state of clip object 'type' into data vector: More... | |
void | SetClipType (TGLClip::EType type) |
Set current clip active in viewer - 'type' is one of kClipNone kClipPlane or kClipBox. More... | |
void | SetShowClip (Bool_t show) |
void | SetShowManip (Bool_t show) |
void | SetupClips (const TGLBoundingBox &sceneBBox) |
Setup clipping objects for given scene bounding box. More... | |
void | SetupCurrentClip (const TGLBoundingBox &sceneBBox) |
Setup current clipping object for given scene bounding box. More... | |
void | SetupCurrentClipIfInvalid (const TGLBoundingBox &sceneBBox) |
Setup current clipping object for given scene bounding box. More... | |
Public Member Functions inherited from TGLOverlayElement | |
TGLOverlayElement (ERole r=kUser, EState s=kActive) | |
virtual | ~TGLOverlayElement () |
ERole | GetRole () const |
EState | GetState () const |
virtual Bool_t | Handle (TGLRnrCtx &rnrCtx, TGLOvlSelectRecord &selRec, Event_t *event) |
Handle overlay event. More... | |
virtual Bool_t | MouseEnter (TGLOvlSelectRecord &selRec) |
Mouse has entered this element. More... | |
virtual void | MouseLeave () |
Mouse has left the element. More... | |
virtual Bool_t | MouseStillInside (TGLOvlSelectRecord &selRec) |
virtual void | Render (TGLRnrCtx &rnrCtx)=0 |
void | SetBinaryState (Bool_t s) |
void | SetRole (ERole r) |
void | SetState (EState s) |
Protected Attributes | |
Bool_t | fAutoUpdate |
the current clipping shape More... | |
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 &) | |
TGLClipSet & | operator= (const TGLClipSet &) |
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>
|
private |
TGLClipSet::TGLClipSet | ( | ) |
Constructor.
Definition at line 336 of file TGLClip.cxx.
|
virtual |
Destructor.
Definition at line 351 of file TGLClip.cxx.
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.
|
virtual |
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.
|
virtual |
Mouse has entered this element.
Forward to ManipSet.
Reimplemented from TGLOverlayElement.
Definition at line 362 of file TGLClip.cxx.
|
virtual |
Mouse has left the element.
Forward to ManipSet.
Reimplemented from TGLOverlayElement.
Definition at line 389 of file TGLClip.cxx.
|
virtual |
Reimplemented from TGLOverlayElement.
Definition at line 367 of file TGLClip.cxx.
|
private |
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.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |