TGLClip Class Reference

#include <TGLClip.h>

Inheritance diagram for TGLClip:

TGLPhysicalShape TGLPhysicalShape TGLClipBox TGLClipBox TGLClipPlane TGLClipPlane List of all members.

Public Types

enum  EMode
enum  EMode

Public Member Functions

 TGLClip (const TGLLogicalShape &logical, const TGLMatrix &transform, const float color[4])
virtual ~TGLClip ()
virtual void Modified ()
virtual void Setup (const TGLBoundingBox &bbox)=0
virtual void Setup (const TGLVector3 &, const TGLVector3 &)
EMode GetMode () const
void SetMode (EMode mode)
UInt_t TimeStamp () const
void IncTimeStamp ()
Bool_t IsValid () const
void Invalidate ()
virtual void Draw (TGLRnrCtx &rnrCtx) const
virtual void PlaneSet (TGLPlaneSet_t &set) const=0
 ClassDef (TGLClip, 0)
 TGLClip (const TGLLogicalShape &logical, const TGLMatrix &transform, const float color[4])
virtual ~TGLClip ()
virtual void Modified ()
virtual void Setup (const TGLBoundingBox &bbox)=0
virtual void Setup (const TGLVector3 &, const TGLVector3 &)
EMode GetMode () const
void SetMode (EMode mode)
UInt_t TimeStamp () const
void IncTimeStamp ()
Bool_t IsValid () const
void Invalidate ()
virtual void Draw (TGLRnrCtx &rnrCtx) const
virtual void PlaneSet (TGLPlaneSet_t &set) const=0
 ClassDef (TGLClip, 0)

Protected Attributes

EMode fMode
UInt_t fTimeStamp
Bool_t fValid

Detailed Description

Definition at line 31 of file TGLClip.h.


Member Enumeration Documentation

enum TGLClip::EMode

Definition at line 34 of file TGLClip.h.

enum TGLClip::EMode

Definition at line 34 of file TGLClip.h.


Constructor & Destructor Documentation

TGLClip::TGLClip ( const TGLLogicalShape logical,
const TGLMatrix transform,
const float  color[4] 
)

Definition at line 89 of file TGLClip.cxx.

References kTRUE, and TGLLogicalShape::StrongRef().

TGLClip::~TGLClip (  )  [virtual]

Definition at line 101 of file TGLClip.cxx.

TGLClip::TGLClip ( const TGLLogicalShape logical,
const TGLMatrix transform,
const float  color[4] 
)

virtual TGLClip::~TGLClip (  )  [virtual]


Member Function Documentation

virtual void TGLClip::Modified (  )  [inline, virtual]

Reimplemented from TGLPhysicalShape.

Definition at line 47 of file TGLClip.h.

References IncTimeStamp(), and TGLPhysicalShape::Modified().

virtual void TGLClip::Setup ( const TGLBoundingBox bbox  )  [pure virtual]

Referenced by TGLViewerBase::SetupClipObject(), TGLClipSet::SetupCurrentClip(), and TGLClipSet::SetupCurrentClipIfInvalid().

void TGLClip::Setup ( const TGLVector3 ,
const TGLVector3  
) [virtual]

Definition at line 107 of file TGLClip.cxx.

References Warning().

EMode TGLClip::GetMode (  )  const [inline]

Definition at line 52 of file TGLClip.h.

References fMode.

Referenced by TGLClipSetSubEditor::SetModel(), and TGLSceneBase::UpdateSceneInfo().

void TGLClip::SetMode ( EMode  mode  )  [inline]

Definition at line 53 of file TGLClip.h.

References fMode, and fTimeStamp.

Referenced by TGLClipSetSubEditor::UpdateViewerClip().

UInt_t TGLClip::TimeStamp (  )  const [inline]

Definition at line 55 of file TGLClip.h.

References fTimeStamp.

Referenced by TGLSceneBase::UpdateSceneInfo().

void TGLClip::IncTimeStamp (  )  [inline]

Definition at line 56 of file TGLClip.h.

References fTimeStamp.

Referenced by Modified(), TGLClipPlane::Set(), TGLClipPlane::Setup(), and TGLClipBox::Setup().

Bool_t TGLClip::IsValid (  )  const [inline]

Definition at line 58 of file TGLClip.h.

References fValid.

Referenced by TGLClipSet::GetClipState(), and TGLClipSet::SetupCurrentClipIfInvalid().

void TGLClip::Invalidate (  )  [inline]

Definition at line 59 of file TGLClip.h.

References fValid, and kFALSE.

Referenced by TGLClipSet::InvalidateClips(), and TGLClipSet::InvalidateCurrentClip().

void TGLClip::Draw ( TGLRnrCtx rnrCtx  )  const [virtual]

Reimplemented from TGLPhysicalShape.

Definition at line 118 of file TGLClip.cxx.

References TGLPhysicalShape::Draw(), GL_BLEND, GL_CULL_FACE, GL_FALSE, GL_FILL, GL_FRONT, GL_FRONT_AND_BACK, GL_ONE_MINUS_SRC_ALPHA, GL_SRC_ALPHA, GL_TRUE, glBlendFunc(), glDepthMask(), glDisable(), glEnable(), and glPolygonMode().

Referenced by TGLClipSet::Render().

virtual void TGLClip::PlaneSet ( TGLPlaneSet_t set  )  const [pure virtual]

Referenced by TGLClipSet::FillPlaneSet(), and TGLSceneBase::UpdateSceneInfo().

TGLClip::ClassDef ( TGLClip  ,
 
)

virtual void TGLClip::Modified (  )  [inline, virtual]

Reimplemented from TGLPhysicalShape.

Definition at line 47 of file TGLClip.h.

References IncTimeStamp(), and TGLPhysicalShape::Modified().

virtual void TGLClip::Setup ( const TGLBoundingBox bbox  )  [pure virtual]

virtual void TGLClip::Setup ( const TGLVector3 ,
const TGLVector3  
) [virtual]

EMode TGLClip::GetMode (  )  const [inline]

Definition at line 52 of file TGLClip.h.

References fMode.

void TGLClip::SetMode ( EMode  mode  )  [inline]

Definition at line 53 of file TGLClip.h.

References fMode, and fTimeStamp.

UInt_t TGLClip::TimeStamp (  )  const [inline]

Definition at line 55 of file TGLClip.h.

References fTimeStamp.

void TGLClip::IncTimeStamp (  )  [inline]

Definition at line 56 of file TGLClip.h.

References fTimeStamp.

Bool_t TGLClip::IsValid (  )  const [inline]

Definition at line 58 of file TGLClip.h.

References fValid.

void TGLClip::Invalidate (  )  [inline]

Definition at line 59 of file TGLClip.h.

References fValid, and kFALSE.

virtual void TGLClip::Draw ( TGLRnrCtx rnrCtx  )  const [virtual]

Reimplemented from TGLPhysicalShape.

virtual void TGLClip::PlaneSet ( TGLPlaneSet_t set  )  const [pure virtual]

TGLClip::ClassDef ( TGLClip  ,
 
)


Member Data Documentation

EMode TGLClip::fMode [protected]

Definition at line 39 of file TGLClip.h.

Referenced by GetMode(), and SetMode().

UInt_t TGLClip::fTimeStamp [protected]

Definition at line 40 of file TGLClip.h.

Referenced by IncTimeStamp(), SetMode(), and TimeStamp().

Bool_t TGLClip::fValid [protected]

Definition at line 41 of file TGLClip.h.

Referenced by Invalidate(), IsValid(), TGLClipPlane::Set(), TGLClipPlane::Setup(), TGLClipBox::Setup(), and TGLClipPlane::TGLClipPlane().


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