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()
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
virtual voidModified()
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* rgba)
voidTGLPhysicalShape::SetColorOnFamily(const Float_t* rgba)
voidTGLPhysicalShape::SetDiffuseColor(const Float_t* rgba)
voidTGLPhysicalShape::SetDiffuseColor(const UChar_t* 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* vals)
voidTGLPhysicalShape::SetTranslation(const TGLVertex3& translation)
virtual voidSetup(const TGLBoundingBox& bbox)
voidTGLPhysicalShape::SetupGLColors(TGLRnrCtx& rnrCtx, const Float_t* color = 0) const
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
UInt_tTimeStamp() const
voidTGLPhysicalShape::Translate(const TGLVector3& vect)

Data Members

public:
enum EMode { kOutside
kInside
};
enum TGLPhysicalShape::EManip { kTranslateX
kTranslateY
kTranslateZ
kTranslateAll
kScaleX
kScaleY
kScaleZ
kScaleAll
kRotateX
kRotateY
kRotateZ
kRotateAll
kManipAll
};
private:
TGLClip::EModefMode
UInt_tfTimeStamp

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

~TGLClip()
 Destroy clip object.
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.
void Modified()
{ TGLPhysicalShape::Modified(); IncTimeStamp(); }
void Setup(const TGLBoundingBox& bbox)
EMode GetMode()
{ return fMode; }
void SetMode(TGLClip::EMode mode)
UInt_t TimeStamp()
{ return fTimeStamp; }
void IncTimeStamp()
{ ++fTimeStamp; }
void PlaneSet(TGLPlaneSet_t& set) const

Author: Richard Maunder 16/09/2005
Last change: root/gl:$Id: TGLClip.h 26394 2008-11-23 14:35:25Z matevz $
Last generated: 2008-11-24 08:19
Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. *

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.