TGLClipSet Class Reference

#include <TGLClip.h>

Inheritance diagram for TGLClipSet:

TGLOverlayElement TGLOverlayElement List of all members.

Public Member Functions

 TGLClipSet ()
virtual ~TGLClipSet ()
virtual Bool_t MouseEnter (TGLOvlSelectRecord &selRec)
virtual Bool_t MouseStillInside (TGLOvlSelectRecord &selRec)
virtual Bool_t Handle (TGLRnrCtx &rnrCtx, TGLOvlSelectRecord &selRec, Event_t *event)
virtual void MouseLeave ()
virtual void Render (TGLRnrCtx &rnrCtx)
Bool_t IsClipping () const
TGLClipGetCurrentClip () const
void FillPlaneSet (TGLPlaneSet_t &set) const
void SetupClips (const TGLBoundingBox &sceneBBox)
void SetupCurrentClip (const TGLBoundingBox &sceneBBox)
void SetupCurrentClipIfInvalid (const TGLBoundingBox &sceneBBox)
void InvalidateClips ()
void InvalidateCurrentClip ()
void GetClipState (EClipType type, Double_t data[6]) const
void SetClipState (EClipType type, const Double_t data[6])
EClipType GetClipType () const
void SetClipType (EClipType type)
Bool_t GetAutoUpdate () const
void SetAutoUpdate (Bool_t aup)
Bool_t GetShowManip () const
void SetShowManip (Bool_t show)
Bool_t GetShowClip () const
void SetShowClip (Bool_t show)
 ClassDef (TGLClipSet, 0)
 TGLClipSet ()
virtual ~TGLClipSet ()
virtual Bool_t MouseEnter (TGLOvlSelectRecord &selRec)
virtual Bool_t MouseStillInside (TGLOvlSelectRecord &selRec)
virtual Bool_t Handle (TGLRnrCtx &rnrCtx, TGLOvlSelectRecord &selRec, Event_t *event)
virtual void MouseLeave ()
virtual void Render (TGLRnrCtx &rnrCtx)
Bool_t IsClipping () const
TGLClipGetCurrentClip () const
void FillPlaneSet (TGLPlaneSet_t &set) const
void SetupClips (const TGLBoundingBox &sceneBBox)
void SetupCurrentClip (const TGLBoundingBox &sceneBBox)
void SetupCurrentClipIfInvalid (const TGLBoundingBox &sceneBBox)
void InvalidateClips ()
void InvalidateCurrentClip ()
void GetClipState (EClipType type, Double_t data[6]) const
void SetClipState (EClipType type, const Double_t data[6])
EClipType GetClipType () const
void SetClipType (EClipType type)
Bool_t GetAutoUpdate () const
void SetAutoUpdate (Bool_t aup)
Bool_t GetShowManip () const
void SetShowManip (Bool_t show)
Bool_t GetShowClip () const
void SetShowClip (Bool_t show)
 ClassDef (TGLClipSet, 0)

Protected Attributes

TGLClipPlanefClipPlane
TGLClipBoxfClipBox
TGLClipfCurrentClip
Bool_t fAutoUpdate
 the current clipping shape
Bool_t fShowClip
Bool_t fShowManip
TGLManipSetfManip
TGLBoundingBox fLastBBox
TGLClipPlanefClipPlane
TGLClipBoxfClipBox
TGLClipfCurrentClip
TGLManipSetfManip

Private Member Functions

 TGLClipSet (const TGLClipSet &)
TGLClipSetoperator= (const TGLClipSet &)
 TGLClipSet (const TGLClipSet &)
TGLClipSetoperator= (const TGLClipSet &)

Detailed Description

Definition at line 131 of file TGLClip.h.


Constructor & Destructor Documentation

TGLClipSet::TGLClipSet ( const TGLClipSet  )  [private]

TGLClipSet::TGLClipSet (  ) 

Definition at line 338 of file TGLClip.cxx.

TGLClipSet::~TGLClipSet (  )  [virtual]

Definition at line 352 of file TGLClip.cxx.

References fClipBox, fClipPlane, and fManip.

TGLClipSet::TGLClipSet ( const TGLClipSet  )  [private]

TGLClipSet::TGLClipSet (  ) 

virtual TGLClipSet::~TGLClipSet (  )  [virtual]


Member Function Documentation

TGLClipSet& TGLClipSet::operator= ( const TGLClipSet  )  [private]

Bool_t TGLClipSet::MouseEnter ( TGLOvlSelectRecord selRec  )  [virtual]

Reimplemented from TGLOverlayElement.

Definition at line 362 of file TGLClip.cxx.

References fManip, and TGLManipSet::MouseEnter().

Bool_t TGLClipSet::MouseStillInside ( TGLOvlSelectRecord selRec  )  [virtual]

Reimplemented from TGLOverlayElement.

Definition at line 370 of file TGLClip.cxx.

References fManip, and TGLOverlayElement::MouseStillInside().

Bool_t TGLClipSet::Handle ( TGLRnrCtx rnrCtx,
TGLOvlSelectRecord selRec,
Event_t event 
) [virtual]

Reimplemented from TGLOverlayElement.

Definition at line 379 of file TGLClip.cxx.

References fManip, and TGLManipSet::Handle().

void TGLClipSet::MouseLeave (  )  [virtual]

Reimplemented from TGLOverlayElement.

Definition at line 389 of file TGLClip.cxx.

References fManip, and TGLManipSet::MouseLeave().

void TGLClipSet::Render ( TGLRnrCtx rnrCtx  )  [virtual]

Implements TGLOverlayElement.

Definition at line 398 of file TGLClip.cxx.

References TGLClip::Draw(), fCurrentClip, fManip, fShowClip, fShowManip, TGLRnrCtx::kLODHigh, TGLRnrCtx::kPassFill, TGLManipSet::Render(), TGLRnrCtx::Selection(), TGLRnrCtx::SetDrawPass(), and TGLRnrCtx::SetShapeLOD().

Bool_t TGLClipSet::IsClipping (  )  const [inline]

Definition at line 161 of file TGLClip.h.

References fCurrentClip.

TGLClip* TGLClipSet::GetCurrentClip (  )  const [inline]

Definition at line 162 of file TGLClip.h.

References fCurrentClip.

Referenced by TGLViewer::PreRender(), TGLClipSetSubEditor::ResetViewerClip(), TGLClipSetSubEditor::SetModel(), and TGLClipSetSubEditor::UpdateViewerClip().

void TGLClipSet::FillPlaneSet ( TGLPlaneSet_t set  )  const

Definition at line 417 of file TGLClip.cxx.

References fCurrentClip, and TGLClip::PlaneSet().

void TGLClipSet::SetupClips ( const TGLBoundingBox sceneBBox  ) 

Definition at line 426 of file TGLClip.cxx.

References fClipBox, fClipPlane, fLastBBox, TGLClipPlane::Setup(), and TGLClipBox::Setup().

void TGLClipSet::SetupCurrentClip ( const TGLBoundingBox sceneBBox  ) 

Definition at line 436 of file TGLClip.cxx.

References fCurrentClip, fLastBBox, and TGLClip::Setup().

Referenced by TGLViewer::SetupClipObject().

void TGLClipSet::SetupCurrentClipIfInvalid ( const TGLBoundingBox sceneBBox  ) 

Definition at line 446 of file TGLClip.cxx.

References fCurrentClip, fLastBBox, TGLClip::IsValid(), and TGLClip::Setup().

Referenced by TGLViewer::SetupClipObject().

void TGLClipSet::InvalidateClips (  ) 

Definition at line 456 of file TGLClip.cxx.

References fClipBox, fClipPlane, and TGLClip::Invalidate().

void TGLClipSet::InvalidateCurrentClip (  ) 

Definition at line 465 of file TGLClip.cxx.

References fCurrentClip, and TGLClip::Invalidate().

void TGLClipSet::GetClipState ( EClipType  type,
Double_t  data[6] 
) const

Definition at line 474 of file TGLClip.cxx.

References TGLPhysicalShape::BoundingBox(), box(), Error, fClipBox, fClipPlane, fLastBBox, TGLClip::IsValid(), kClipBox, kClipNone, kClipPlane, TGLClipPlane::PlaneSet(), TGLClipPlane::Setup(), and TGLClipBox::Setup().

Referenced by TGLClipSetSubEditor::SetModel().

void TGLClipSet::SetClipState ( EClipType  type,
const Double_t  data[6] 
)

Definition at line 520 of file TGLClip.cxx.

References TGLPhysicalShape::BoundingBox(), TGLBoundingBox::Center(), TGLBoundingBox::Extents(), fClipBox, fClipPlane, TGLPhysicalShape::GetScale(), kClipBox, kClipNone, kClipPlane, TGLPhysicalShape::Scale(), TGLClipPlane::Set(), TGLPhysicalShape::Translate(), TGLVertex3::X(), TGLVertex3::Y(), and TGLVertex3::Z().

Referenced by TGLClipSetSubEditor::UpdateViewerClip().

EClipType TGLClipSet::GetClipType (  )  const

Definition at line 560 of file TGLClip.cxx.

References Error, fClipBox, fClipPlane, fCurrentClip, kClipBox, kClipNone, kClipPlane, and type.

Referenced by TGLClipSetSubEditor::ResetViewerClip(), and TGLClipSetSubEditor::SetModel().

void TGLClipSet::SetClipType ( EClipType  type  ) 

Definition at line 580 of file TGLClip.cxx.

References Error, fClipBox, fClipPlane, fCurrentClip, fManip, kClipBox, kClipNone, kClipPlane, and TGLManipSet::SetPShape().

Referenced by TGLClipSetSubEditor::ClipTypeChanged().

Bool_t TGLClipSet::GetAutoUpdate (  )  const [inline]

Definition at line 180 of file TGLClip.h.

References fAutoUpdate.

Referenced by TGLViewer::GetClipAutoUpdate(), and TGLClipSetSubEditor::SetModel().

void TGLClipSet::SetAutoUpdate ( Bool_t  aup  )  [inline]

Definition at line 181 of file TGLClip.h.

References fAutoUpdate.

Referenced by TGLViewer::SetClipAutoUpdate(), and TGLClipSetSubEditor::UpdateViewerClip().

Bool_t TGLClipSet::GetShowManip (  )  const [inline]

Definition at line 182 of file TGLClip.h.

References fShowManip.

Referenced by TGLClipSetSubEditor::SetModel().

void TGLClipSet::SetShowManip ( Bool_t  show  )  [inline]

Definition at line 183 of file TGLClip.h.

References fShowManip.

Referenced by TGLClipSetSubEditor::UpdateViewerClip().

Bool_t TGLClipSet::GetShowClip (  )  const [inline]

Definition at line 184 of file TGLClip.h.

References fShowClip.

Referenced by TGLClipSetSubEditor::SetModel().

void TGLClipSet::SetShowClip ( Bool_t  show  )  [inline]

Definition at line 185 of file TGLClip.h.

References fShowClip.

Referenced by TGLClipSetSubEditor::UpdateViewerClip().

TGLClipSet::ClassDef ( TGLClipSet  ,
 
)

TGLClipSet& TGLClipSet::operator= ( const TGLClipSet  )  [private]

virtual Bool_t TGLClipSet::MouseEnter ( TGLOvlSelectRecord selRec  )  [virtual]

Reimplemented from TGLOverlayElement.

virtual Bool_t TGLClipSet::MouseStillInside ( TGLOvlSelectRecord selRec  )  [virtual]

Reimplemented from TGLOverlayElement.

virtual Bool_t TGLClipSet::Handle ( TGLRnrCtx rnrCtx,
TGLOvlSelectRecord selRec,
Event_t event 
) [virtual]

Reimplemented from TGLOverlayElement.

virtual void TGLClipSet::MouseLeave (  )  [virtual]

Reimplemented from TGLOverlayElement.

virtual void TGLClipSet::Render ( TGLRnrCtx rnrCtx  )  [virtual]

Implements TGLOverlayElement.

Bool_t TGLClipSet::IsClipping (  )  const [inline]

Definition at line 161 of file TGLClip.h.

References fCurrentClip.

TGLClip* TGLClipSet::GetCurrentClip (  )  const [inline]

Definition at line 162 of file TGLClip.h.

References fCurrentClip.

void TGLClipSet::FillPlaneSet ( TGLPlaneSet_t set  )  const

void TGLClipSet::SetupClips ( const TGLBoundingBox sceneBBox  ) 

void TGLClipSet::SetupCurrentClip ( const TGLBoundingBox sceneBBox  ) 

void TGLClipSet::SetupCurrentClipIfInvalid ( const TGLBoundingBox sceneBBox  ) 

void TGLClipSet::InvalidateClips (  ) 

void TGLClipSet::InvalidateCurrentClip (  ) 

void TGLClipSet::GetClipState ( EClipType  type,
Double_t  data[6] 
) const

void TGLClipSet::SetClipState ( EClipType  type,
const Double_t  data[6] 
)

EClipType TGLClipSet::GetClipType (  )  const

void TGLClipSet::SetClipType ( EClipType  type  ) 

Bool_t TGLClipSet::GetAutoUpdate (  )  const [inline]

Definition at line 180 of file TGLClip.h.

References fAutoUpdate.

void TGLClipSet::SetAutoUpdate ( Bool_t  aup  )  [inline]

Definition at line 181 of file TGLClip.h.

References fAutoUpdate.

Bool_t TGLClipSet::GetShowManip (  )  const [inline]

Definition at line 182 of file TGLClip.h.

References fShowManip.

void TGLClipSet::SetShowManip ( Bool_t  show  )  [inline]

Definition at line 183 of file TGLClip.h.

References fShowManip.

Bool_t TGLClipSet::GetShowClip (  )  const [inline]

Definition at line 184 of file TGLClip.h.

References fShowClip.

void TGLClipSet::SetShowClip ( Bool_t  show  )  [inline]

Definition at line 185 of file TGLClip.h.

References fShowClip.

TGLClipSet::ClassDef ( TGLClipSet  ,
 
)


Member Data Documentation

TGLClipPlane* TGLClipSet::fClipPlane [protected]

Definition at line 138 of file TGLClip.h.

Referenced by GetClipState(), GetClipType(), InvalidateClips(), SetClipState(), SetClipType(), SetupClips(), and ~TGLClipSet().

TGLClipBox* TGLClipSet::fClipBox [protected]

Definition at line 139 of file TGLClip.h.

Referenced by GetClipState(), GetClipType(), InvalidateClips(), SetClipState(), SetClipType(), SetupClips(), and ~TGLClipSet().

TGLClip* TGLClipSet::fCurrentClip [protected]

Definition at line 140 of file TGLClip.h.

Referenced by FillPlaneSet(), GetClipType(), GetCurrentClip(), InvalidateCurrentClip(), IsClipping(), Render(), SetClipType(), SetupCurrentClip(), and SetupCurrentClipIfInvalid().

Bool_t TGLClipSet::fAutoUpdate [protected]

the current clipping shape

Definition at line 142 of file TGLClip.h.

Referenced by GetAutoUpdate(), and SetAutoUpdate().

Bool_t TGLClipSet::fShowClip [protected]

Definition at line 143 of file TGLClip.h.

Referenced by GetShowClip(), Render(), and SetShowClip().

Bool_t TGLClipSet::fShowManip [protected]

Definition at line 144 of file TGLClip.h.

Referenced by GetShowManip(), Render(), and SetShowManip().

TGLManipSet* TGLClipSet::fManip [protected]

Definition at line 145 of file TGLClip.h.

Referenced by Handle(), MouseEnter(), MouseLeave(), MouseStillInside(), Render(), SetClipType(), and ~TGLClipSet().

TGLBoundingBox TGLClipSet::fLastBBox [protected]

Definition at line 147 of file TGLClip.h.

Referenced by GetClipState(), SetupClips(), SetupCurrentClip(), and SetupCurrentClipIfInvalid().

TGLClipPlane* TGLClipSet::fClipPlane [protected]

Definition at line 138 of file TGLClip.h.

TGLClipBox* TGLClipSet::fClipBox [protected]

Definition at line 139 of file TGLClip.h.

TGLClip* TGLClipSet::fCurrentClip [protected]

Definition at line 140 of file TGLClip.h.

TGLManipSet* TGLClipSet::fManip [protected]

Definition at line 145 of file TGLClip.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:39:58 2011 for ROOT_528-00b_version by  doxygen 1.5.1