ROOT » GRAF3D » GL » TGLClip

class TGLClip: public TGLPhysicalShape


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)

 
    This is an abstract class, constructors will not be documented.
    Look at the header to check for available constructors.

public:
virtual~TGLClip()
voidTGLPhysicalShape::AddReference(TGLPShapeRef* ref)
const TGLBoundingBox&TGLPhysicalShape::BoundingBox() const
virtual voidTGLPhysicalShape::CalculateShapeLOD(TGLRnrCtx& rnrCtx, Float_t& pixSize, Short_t& shapeLOD) const
static TClass*Class()
const Float_t*TGLPhysicalShape::Color() const
virtual voidDraw(TGLRnrCtx& rnrCtx) const
const TGLLogicalShape*TGLPhysicalShape::GetLogical() const
TGLPhysicalShape::EManipTGLPhysicalShape::GetManip() const
TGLClip::EModeGetMode() const
const TGLPhysicalShape*TGLPhysicalShape::GetNextPhysical() const
TGLVector3TGLPhysicalShape::GetScale() const
UChar_tTGLPhysicalShape::GetSelected() const
TGLVertex3TGLPhysicalShape::GetTranslation() const
UInt_tTGLPhysicalShape::ID() const
voidIncTimeStamp()
voidInvalidate()
voidTGLPhysicalShape::InvokeContextMenu(TContextMenu& menu, UInt_t x, UInt_t y) const
virtual TClass*IsA() const
Bool_tTGLPhysicalShape::IsInvisible() const
Bool_tTGLPhysicalShape::IsModified() const
Bool_tTGLPhysicalShape::IsSelected() const
Bool_tTGLPhysicalShape::IsTransparent() const
Bool_tIsValid() const
virtual voidModified()
TGLClip&operator=(const TGLClip&)
virtual voidPlaneSet(TGLPlaneSet_t& set) const
virtual voidTGLPhysicalShape::QuantizeShapeLOD(Short_t shapeLOD, Short_t combiLOD, Short_t& quantLOD) const
voidTGLPhysicalShape::RemoveReference(TGLPShapeRef* ref)
voidTGLPhysicalShape::Rotate(const TGLVertex3& pivot, const TGLVector3& axis, Double_t angle)
voidTGLPhysicalShape::Scale(const TGLVector3& scale)
voidTGLPhysicalShape::Select(UChar_t select)
voidTGLPhysicalShape::SetColor(const Float_t[17] rgba)
voidTGLPhysicalShape::SetColorOnFamily(const Float_t[17] rgba)
voidTGLPhysicalShape::SetDiffuseColor(const Float_t[4] rgba)
voidTGLPhysicalShape::SetDiffuseColor(const UChar_t[4] rgba)
voidTGLPhysicalShape::SetDiffuseColor(Color_t ci, UChar_t transparency)
voidTGLPhysicalShape::SetManip(TGLPhysicalShape::EManip manip)
voidSetMode(TGLClip::EMode mode)
voidTGLPhysicalShape::SetTransform(const TGLMatrix& transform)
voidTGLPhysicalShape::SetTransform(const Double_t[16] vals)
voidTGLPhysicalShape::SetTranslation(const TGLVertex3& translation)
virtual voidSetup(const TGLBoundingBox& bbox)
virtual voidSetup(const TGLVector3&, const TGLVector3&)
voidTGLPhysicalShape::SetupGLColors(TGLRnrCtx& rnrCtx, const Float_t* color = 0) const
virtual voidShowMembers(TMemberInspector& insp) const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
TGLClip(const TGLClip&)
TGLClip(const TGLLogicalShape& logical, const TGLMatrix& transform, const float[4] color)
UInt_tTimeStamp() const
voidTGLPhysicalShape::Translate(const TGLVector3& vect)

Data Members

protected:
TGLClip::EModefMode
UInt_tfTimeStamp
Bool_tfValid

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TGLClip(const TGLLogicalShape& logical, const TGLMatrix& transform, const float[4] color)
 Construct a stand-alone physical clipping object.
~TGLClip()
 Destroy clip object.
void Setup(const TGLVector3& , const TGLVector3& )
 Setup the clipping object with two vectors.
 The interpretation of the two is different for plane and box
 clipping objects.
void Draw(TGLRnrCtx& rnrCtx) const
 Draw out clipping object with blending and back + front filling.
 Some clip objects are single face which we want to see both sides of.
TGLClip(const TGLLogicalShape& logical, const TGLMatrix& transform, const float[4] color)
void Modified()
void Setup(const TGLBoundingBox& bbox)
EMode GetMode() const
{ return fMode; }
void SetMode(TGLClip::EMode mode)
UInt_t TimeStamp() const
{ return fTimeStamp; }
void IncTimeStamp()
{ ++fTimeStamp; }
Bool_t IsValid() const
{ return fValid; }
void Invalidate()
{ fValid = kFALSE; }
void PlaneSet(TGLPlaneSet_t& set) const
TGLClipSet& operator=(const TGLClip& )