class TGLClipPlane: public TGLClip


TGLClipPlane

Concrete clip plane object. This can be translated in all directions
rotated about the Y/Z local axes (the in-plane axes). It cannot be
scaled.


Function Members (Methods)

public:
TGLClipPlane()
TGLClipPlane(const TGLClipPlane&)
virtual~TGLClipPlane()
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 voidTGLClip::Draw(TGLRnrCtx& rnrCtx) const
const TGLLogicalShape*TGLPhysicalShape::GetLogical() const
TGLPhysicalShape::EManipTGLPhysicalShape::GetManip() const
TGLClip::EModeTGLClip::GetMode() const
const TGLPhysicalShape*TGLPhysicalShape::GetNextPhysical() const
TGLVector3TGLPhysicalShape::GetScale() const
UChar_tTGLPhysicalShape::GetSelected() const
TGLVertex3TGLPhysicalShape::GetTranslation() const
UInt_tTGLPhysicalShape::ID() const
voidTGLClip::IncTimeStamp()
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 voidTGLClip::Modified()
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)
voidSet(const TGLPlane& plane)
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)
voidTGLClip::SetMode(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_tTGLClip::TimeStamp() const
voidTGLPhysicalShape::Translate(const TGLVector3& vect)

Data Members

public:
enum TGLClip::EMode { kOutside
kInside
};
enum TGLPhysicalShape::EManip { kTranslateX
kTranslateY
kTranslateZ
kTranslateAll
kScaleX
kScaleY
kScaleZ
kScaleAll
kRotateX
kRotateY
kRotateZ
kRotateAll
kManipAll
};
private:
static const floatfgColor[4]! Fixed color of clip plane

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TGLClipPlane(const TGLClipPlane& )
 Construct a clip plane object, based on supplied 'plane', with
 initial manipulation pivot at 'center', with drawn extents (in
 local x/y axes) of 'extents'

 Plane can have center pivot translated in all directions, and
 rotated round center in X/Y axes , the in-plane axes. It cannot
 be scaled

 Note theorectically a plane is of course infinite - however we
 want to draw the object in viewer - so we fake it with a single
 GL face (polygon) - extents defines the width/depth of this -
 should be several times scene extents - see Setup().
~TGLClipPlane()
 Destroy clip plane object
void Setup(const TGLBoundingBox& bbox)
 Setup the clip object for scene encompassed by bbox.
void Set(const TGLPlane& plane)
 Update clip plane object to follow passed 'plane' equation. Center pivot
 is shifted to nearest point on new plane.
void PlaneSet(TGLPlaneSet_t& set) const
 Return set of planes (actually a single) describing this clip plane.
TGLClipPlane(const TGLClipPlane& )

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.