ROOT logo
ROOT » GRAF3D » GL » TGLClipPlane

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()
static TClass*TGLClip::Class()
static TClass*TGLPhysicalShape::Class()
const Float_t*TGLPhysicalShape::Color() const
virtual voidTGLClip::Draw(TGLRnrCtx& rnrCtx) const
virtual voidTGLPhysicalShape::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()
voidTGLClip::Invalidate()
voidTGLPhysicalShape::InvokeContextMenu(TContextMenu& menu, UInt_t x, UInt_t y) const
virtual TClass*IsA() const
virtual TClass*TGLClip::IsA() const
virtual TClass*TGLPhysicalShape::IsA() const
Bool_tTGLPhysicalShape::IsInvisible() const
Bool_tTGLPhysicalShape::IsModified() const
Bool_tTGLPhysicalShape::IsSelected() const
Bool_tTGLPhysicalShape::IsTransparent() const
Bool_tTGLClip::IsValid() const
virtual voidTGLClip::Modified()
voidTGLPhysicalShape::Modified()
virtual voidPlaneSet(TGLPlaneSet_t& set) const
virtual voidTGLClip::PlaneSet(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)
virtual voidTGLClip::Setup(const TGLBoundingBox& bbox)
voidTGLPhysicalShape::SetupGLColors(TGLRnrCtx& rnrCtx, const Float_t* color = 0) const
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidTGLClip::ShowMembers(TMemberInspector& insp, char* parent)
virtual voidTGLPhysicalShape::ShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
virtual voidTGLClip::Streamer(TBuffer& b)
virtual voidTGLPhysicalShape::Streamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
voidTGLClip::StreamerNVirtual(TBuffer& b)
voidTGLPhysicalShape::StreamerNVirtual(TBuffer& b)
UInt_tTGLClip::TimeStamp() const
voidTGLPhysicalShape::Translate(const TGLVector3& vect)

Data Members

private:
static const floatfgColor[4]! Fixed color of clip plane

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

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 one) describing this clip plane.
TGLClipPlane()