library: libRGL
#include "TGLObject.h"

TGLObject


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

class TGLObject: public TGLLogicalShape

Inheritance Inherited Members Includes Libraries
Class Charts

Function Members (Methods)

Display options:
Show inherited
Show non-public
 
    This is an abstract class, constructors will not be documented.
    Look at the header to check for available constructors.

public:
virtual~TGLObject()
voidTGLLogicalShape::AddRef() const
const TGLBoundingBox&TGLDrawable::BoundingBox() const
static TClass*Class()
virtual voidTGLDrawable::Draw(const TGLDrawFlags& flags) const
TObject*TGLLogicalShape::GetExternal() const
ULong_tTGLDrawable::ID() const
virtual Bool_tTGLLogicalShape::IgnoreSizeForOfInterest() const
voidTGLLogicalShape::InvokeContextMenu(TContextMenu& menu, UInt_t x, UInt_t y) const
virtual TClass*IsA() const
virtual Bool_tKeepDuringSmartRefresh() const
virtual voidTGLLogicalShape::ProcessSelection(UInt_t* ptr, TGLViewer*, TGLScene*)
virtual voidTGLDrawable::Purge()
UInt_tTGLLogicalShape::Ref() const
virtual voidSetBBox()
Bool_tTGLDrawable::SetCached(Bool_t cached)
virtual Bool_tSetModel(TObject* obj)
virtual Bool_tTGLDrawable::ShouldCache(const TGLDrawFlags& flags) const
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
voidTGLLogicalShape::StrongRef(Bool_t strong) const
Bool_tTGLLogicalShape::SubRef() const
virtual TGLDrawable::ELODAxesSupportedLODAxes() const
virtual Bool_tTGLLogicalShape::SupportsSecondarySelect() const
protected:
virtual voidTGLDrawable::DirectDraw(const TGLDrawFlags& flags) const
TGLLogicalShape&TGLLogicalShape::operator=(const TGLLogicalShape&)
voidSetAxisAlignedBBox(const Float_t* p)
voidSetAxisAlignedBBox(Float_t xmin, Float_t xmax, Float_t ymin, Float_t ymax, Float_t zmin, Float_t zmax)
Bool_tSetModelCheckClass(TObject* obj, TClass* cls)

Data Members

public:
enum TGLDrawable::ELODAxes { kLODAxesNone
kLODAxesX
kLODAxesY
kLODAxesZ
kLODAxesAll
};
protected:
Bool_tTGLLogicalShape::fRefStrong! Strong ref (delete on 0 ref)
TObject*TGLLogicalShape::fExternalObj
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

Class Description

 TGLObject

 Base-class for direct OpenGL renderers.
 This allows classes to circumvent passing of TBuffer3D and
 use user-provided OpenGL code.
 By convention, if you want class TFoo : public TObject to have direct rendering
 you should also provide TFooGL : public TGLObject and implement
 abstract functions SetModel() and SetBBox().
 TAttBBox can be used to facilitate calculation of bounding-boxes.
 See TPointSet3D and TPointSet3DGL.
Bool_t SetModelCheckClass(TObject* obj, TClass* cls)
 Checks if obj is of proper class and sets the model.
 Protected helper for subclasses.
void SetAxisAlignedBBox(Float_t xmin, Float_t xmax, Float_t ymin, Float_t ymax, Float_t zmin, Float_t zmax)
 Set axis-aligned bounding-box.
 Protected helper for subclasses.
void SetAxisAlignedBBox(const Float_t* p)
 Set axis-aligned bounding-box.
 Protected helper for subclasses.
virtual ~TGLObject()
{}
ELODAxes SupportedLODAxes()
{ return kLODAxesNone; }
Bool_t KeepDuringSmartRefresh()
{ return kTRUE; }
Bool_t SetModel(TObject* obj)
void SetBBox()

Author: Matevz Tadel 7/4/2006
Last update: root/gl:$Name: $:$Id: TGLObject.cxx,v 1.4 2006/08/23 14:39:40 brun Exp $
Copyright (C) 1995-2006, 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.