library: libRGL
#include "TGLClip.h"

TGLClipBox


class description - header file - source file
viewCVS header - viewCVS source

class TGLClipBox: public TGLClip

Inheritance Inherited Members Includes Libraries
Class Charts

Function Members (Methods)

Display options:
Show inherited
Show non-public
public:
TGLClipBox(const TGLClipBox&)
TGLClipBox(const TGLVector3& halfLengths, const TGLVertex3& center)
virtual~TGLClipBox()
const TGLBoundingBox&TGLDrawable::BoundingBox() const
TGLDrawFlagsTGLPhysicalShape::CalcDrawFlags(const TGLCamera& camera, const TGLDrawFlags& sceneFlags) const
static TClass*Class()
const Float_t*TGLPhysicalShape::Color() const
virtual voidTGLClip::Draw(const TGLDrawFlags& flags) const
const TGLLogicalShape&TGLPhysicalShape::GetLogical() const
TGLPhysicalShape::EManipTGLPhysicalShape::GetManip() const
TGLVector3TGLPhysicalShape::GetScale() const
TGLVertex3TGLPhysicalShape::GetTranslation() const
ULong_tTGLDrawable::ID() const
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
TGLClip::EModeTGLClip::Mode() const
virtual voidPlaneSet(TGLPlaneSet_t& set) const
virtual voidTGLDrawable::Purge()
voidTGLPhysicalShape::Rotate(const TGLVertex3& pivot, const TGLVector3& axis, Double_t angle)
voidTGLPhysicalShape::Scale(const TGLVector3& scale)
voidTGLPhysicalShape::Select(Bool_t select)
Bool_tTGLDrawable::SetCached(Bool_t cached)
voidTGLPhysicalShape::SetColor(const Float_t* rgba)
voidTGLPhysicalShape::SetManip(TGLPhysicalShape::EManip manip)
voidTGLClip::SetMode(TGLClip::EMode mode)
voidTGLPhysicalShape::SetTransform(const TGLMatrix& transform)
voidTGLPhysicalShape::SetTranslation(const TGLVertex3& translation)
virtual Bool_tTGLDrawable::ShouldCache(const TGLDrawFlags& flags) const
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
virtual TGLDrawable::ELODAxesTGLPhysicalShape::SupportedLODAxes() const
voidTGLPhysicalShape::Translate(const TGLVector3& vect)
protected:
virtual voidTGLPhysicalShape::DirectDraw(const TGLDrawFlags& flags) const
const TGLDrawable&TGLDrawable::operator=(const TGLDrawable&)

Data Members

public:
enum TGLClip::EMode { kInside
kOutside
};
enum TGLPhysicalShape::EManip { kTranslateX
kTranslateY
kTranslateZ
kTranslateAll
kScaleX
kScaleY
kScaleZ
kScaleAll
kRotateX
kRotateY
kRotateZ
kRotateAll
kManipAll
};
enum TGLDrawable::ELODAxes { kLODAxesNone
kLODAxesX
kLODAxesY
kLODAxesZ
kLODAxesAll
};
protected:
ULong_tTGLDrawable::fID! unique drawable ID
Bool_tTGLDrawable::fCached! use display list cached
TGLBoundingBoxTGLDrawable::fBoundingBox! the drawables bounding box
static TGLQuadricTGLDrawable::fgQuad! Single common quadric drawing object
private:
static const floatfgColor[4]! Fixed color of clip box

Class Description

                                                                      
 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.                       

TGLClipBox(const TGLVector3 & halfLengths, const TGLVertex3 & center)
 Construct an (initially) axis aligned clip pbox object, extents 'halfLengths',
 centered on 'center' vertex.
 Box can be translated, rotated and scaled in all (xyz) local axes.
~TGLClipBox()
 Destroy clip box object
void PlaneSet(TGLPlaneSet_t & set)
 Return set of 6 planes describing faces of the box
TGLClipBox(const TGLVector3 & halfLengths, const TGLVertex3 & center)

Author: Richard Maunder 16/09/2005
Last update: root/gl:$Name: $:$Id: TGLClip.cxx,v 1.7 2006/02/20 11:02:19 brun Exp $
Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - Top of the page

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.