A++ » INCLUDE » TGLClipSet

class TGLClipSet: public TGLOverlayElement


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.

Function Members (Methods)

public:
virtual~TGLClipSet()
static TClass*Class()
voidFillPlaneSet(TGLPlaneSet_t& set) const
Bool_tGetAutoUpdate() const
voidGetClipState(TGLClip::EType type, Double_t[6] data) const
TGLClip::ETypeGetClipType() const
TGLClip*GetCurrentClip() const
TGLOverlayElement::ERoleTGLOverlayElement::GetRole() const
Bool_tGetShowClip() const
Bool_tGetShowManip() const
TGLOverlayElement::EStateTGLOverlayElement::GetState() const
virtual Bool_tHandle(TGLRnrCtx& rnrCtx, TGLOvlSelectRecord& selRec, Event_t* event)
voidInvalidateClips()
voidInvalidateCurrentClip()
virtual TClass*IsA() const
Bool_tIsClipping() const
virtual Bool_tMouseEnter(TGLOvlSelectRecord& selRec)
virtual voidMouseLeave()
virtual Bool_tMouseStillInside(TGLOvlSelectRecord& selRec)
virtual voidRender(TGLRnrCtx& rnrCtx)
voidSetAutoUpdate(Bool_t aup)
voidTGLOverlayElement::SetBinaryState(Bool_t s)
voidSetClipState(TGLClip::EType type, const Double_t[6] data)
voidSetClipType(TGLClip::EType type)
voidTGLOverlayElement::SetRole(TGLOverlayElement::ERole r)
voidSetShowClip(Bool_t show)
voidSetShowManip(Bool_t show)
voidTGLOverlayElement::SetState(TGLOverlayElement::EState s)
voidSetupClips(const TGLBoundingBox& sceneBBox)
voidSetupCurrentClip(const TGLBoundingBox& sceneBBox)
voidSetupCurrentClipIfInvalid(const TGLBoundingBox& sceneBBox)
virtual voidShowMembers(TMemberInspector& insp) const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
TGLClipSet()

Data Members

protected:
Bool_tfAutoUpdate
TGLClipBox*fClipBox
TGLClipPlane*fClipPlane
TGLClip*fCurrentClip! the current clipping shape
TGLBoundingBoxfLastBBox
TGLManipSet*fManip
TGLOverlayElement::ERoleTGLOverlayElement::fRole
Bool_tfShowClip
Bool_tfShowManip
TGLOverlayElement::EStateTGLOverlayElement::fState

Class Charts

Inheritance Chart:
TGLOverlayElement
TGLClipSet

Function documentation

TGLClipSet(const TGLClipSet& )
TGLClipSet& operator=(const TGLClipSet& )
TGLClipSet()
virtual ~TGLClipSet()
Bool_t MouseEnter(TGLOvlSelectRecord& selRec)
Bool_t MouseStillInside(TGLOvlSelectRecord& selRec)
Bool_t Handle(TGLRnrCtx& rnrCtx, TGLOvlSelectRecord& selRec, Event_t* event)
void Render(TGLRnrCtx& rnrCtx)
Bool_t IsClipping() const
{ return fCurrentClip != 0; }
TGLClip* GetCurrentClip() const
{ return fCurrentClip; }
void FillPlaneSet(TGLPlaneSet_t& set) const
void SetupClips(const TGLBoundingBox& sceneBBox)
 Clipping
void SetupCurrentClip(const TGLBoundingBox& sceneBBox)
void SetupCurrentClipIfInvalid(const TGLBoundingBox& sceneBBox)
void InvalidateClips()
void InvalidateCurrentClip()
void GetClipState(TGLClip::EType type, Double_t[6] data) const
void SetClipState(TGLClip::EType type, const Double_t[6] data)
TGLClip::EType GetClipType() const
void SetClipType(TGLClip::EType type)
Bool_t GetAutoUpdate() const
 Clip control flags
{ return fAutoUpdate; }
void SetAutoUpdate(Bool_t aup)
{ fAutoUpdate = aup; }
Bool_t GetShowManip() const
{ return fShowManip; }
void SetShowManip(Bool_t show)
{ fShowManip = show; }
Bool_t GetShowClip() const
{ return fShowClip; }
void SetShowClip(Bool_t show)
{ fShowClip = show; }