class TGLFaceSet: public TGLLogicalShape


 Implementss a native ROOT-GL representation of an arbitrary set of
 polygons.

Function Members (Methods)

public:
TGLFaceSet(const TBuffer3D& buffer)
~TGLFaceSet()
voidTGLLogicalShape::AddRef(TGLPhysicalShape* phys) const
const TGLBoundingBox&TGLLogicalShape::BoundingBox() const
static TClass*Class()
voidTGLLogicalShape::DestroyPhysicals()
virtual voidDirectDraw(TGLRnrCtx& rnrCtx) const
virtual voidTGLLogicalShape::DLCacheClear()
virtual voidTGLLogicalShape::DLCacheDrop()
virtual voidTGLLogicalShape::DLCachePurge()
virtual Int_tTGLLogicalShape::DLCacheSize() const
virtual UInt_tTGLLogicalShape::DLOffset(Short_t) const
virtual voidTGLLogicalShape::Draw(TGLRnrCtx& rnrCtx) const
TObject*TGLLogicalShape::GetExternal() const
const TGLPhysicalShape*TGLLogicalShape::GetFirstPhysical() const
TGLScene*TGLLogicalShape::GetScene() const
TObject*TGLLogicalShape::ID() const
virtual Bool_tTGLLogicalShape::IgnoreSizeForOfInterest() const
voidTGLLogicalShape::InvokeContextMenu(TContextMenu& menu, UInt_t x, UInt_t y) const
virtual TClass*IsA() const
virtual Bool_tTGLLogicalShape::KeepDuringSmartRefresh() const
virtual voidTGLLogicalShape::ProcessSelection(TGLRnrCtx& rnrCtx, TGLSelectRecord& rec)
virtual Short_tTGLLogicalShape::QuantizeShapeLOD(Short_t shapeLOD, Short_t combiLOD) const
UInt_tTGLLogicalShape::Ref() const
Bool_tTGLLogicalShape::SetDLCache(Bool_t cached)
voidSetFromMesh(const RootCsg::TBaseMesh* m)
virtual Bool_tTGLLogicalShape::ShouldDLCache(const TGLRnrCtx& rnrCtx) const
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
voidTGLLogicalShape::StrongRef(Bool_t strong) const
voidTGLLogicalShape::SubRef(TGLPhysicalShape* phys) const
virtual TGLLogicalShape::ELODAxesTGLLogicalShape::SupportedLODAxes() const
virtual Bool_tTGLLogicalShape::SupportsSecondarySelect() const
UInt_tTGLLogicalShape::UnrefFirstPhysical()
virtual voidTGLLogicalShape::UpdateBoundingBox()
voidTGLLogicalShape::UpdateBoundingBoxesOfPhysicals()
private:
voidCalculateNormals()
Int_tCheckPoints(const Int_t* source, Int_t* dest) const
static Bool_tEq(const Double_t* p1, const Double_t* p2)
voidGLDrawPolys() const

Data Members

public:
enum TGLLogicalShape::ELODAxes { kLODAxesNone
kLODAxesX
kLODAxesY
kLODAxesZ
kLODAxesAll
};
protected:
TGLBoundingBoxTGLLogicalShape::fBoundingBox! Shape's bounding box.
UInt_tTGLLogicalShape::fDLBase! display-list id base
Bool_tTGLLogicalShape::fDLCache! use display list caching
UShort_tTGLLogicalShape::fDLValid! display-list validity bit-field
TObject*TGLLogicalShape::fExternalObj! Also plays the role of ID.
TGLPhysicalShape*TGLLogicalShape::fFirstPhysical! first replica
Bool_tTGLLogicalShape::fOwnExtObj! External object is a fake
UInt_tTGLLogicalShape::fRef! physical instance ref counting
Bool_tTGLLogicalShape::fRefStrong! Strong ref (delete on 0 ref); not in scene
TGLScene*TGLLogicalShape::fScene! scene where object is stored (can be zero!)
private:
UInt_tfNbPols
vector<Double_t>fNormals
vector<Int_t>fPolyDesc
vector<Double_t>fVertices

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TGLFaceSet(const TBuffer3D& buffer)
 constructor
void SetFromMesh(const RootCsg::TBaseMesh* m)
 Should only be done on an empty faceset object
void DirectDraw(TGLRnrCtx& rnrCtx) const
 Debug tracing
Int_t CheckPoints(const Int_t* source, Int_t* dest) const
 CheckPoints
Bool_t Eq(const Double_t* p1, const Double_t* p2)
 test equality
void CalculateNormals()
 CalculateNormals
void GLDrawPolys()

Author: Timur Pocheptsov 03/08/2004
Last change: root/gl:$Id: TGLFaceSet.h 21252 2007-12-07 01:39:32Z matevz $
Last generated: 2008-06-25 08:40
Copyright (C) 1995-2006, 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.