#include <TGLClip.h>
Inheritance diagram for TGLClip:
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 |
Definition at line 31 of file TGLClip.h.
enum TGLClip::EMode |
enum TGLClip::EMode |
TGLClip::TGLClip | ( | const TGLLogicalShape & | logical, | |
const TGLMatrix & | transform, | |||
const float | color[4] | |||
) |
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] |
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] |
void TGLClip::Setup | ( | const TGLVector3 & | , | |
const TGLVector3 & | ||||
) | [virtual] |
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 | , | |
0 | ||||
) |
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] |
void TGLClip::SetMode | ( | EMode | mode | ) | [inline] |
UInt_t TGLClip::TimeStamp | ( | ) | const [inline] |
void TGLClip::IncTimeStamp | ( | ) | [inline] |
Bool_t TGLClip::IsValid | ( | ) | const [inline] |
void TGLClip::Invalidate | ( | ) | [inline] |
virtual void TGLClip::Draw | ( | TGLRnrCtx & | rnrCtx | ) | const [virtual] |
Reimplemented from TGLPhysicalShape.
virtual void TGLClip::PlaneSet | ( | TGLPlaneSet_t & | set | ) | const [pure virtual] |
TGLClip::ClassDef | ( | TGLClip | , | |
0 | ||||
) |
EMode TGLClip::fMode [protected] |
UInt_t TGLClip::fTimeStamp [protected] |
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().