#include "TGLSceneObject.h"

# TGLFaceSet

class description - source file - inheritance tree (.pdf)

## class TGLFaceSet : public TGLSceneObject

| Inheritance Chart:

`TGLDrawable`

<-

`TGLLogicalShape`

<-

`TGLSceneObject`

<-

`TGLFaceSet`

        private:

                   void CalculateNormals()
                  Int_t CheckPoints(const Int_t* source, Int_t* dest) const
          static Bool_t Eq(const Double_t* p1, const Double_t* p2)
                   void GLDrawPolys() const

        protected:

          virtual void DirectDraw(UInt_t LOD) const

        public:

                          TGLFaceSet(const TBuffer3D& buff, TObject* realObj)
                          ~TGLFaceSet()
           static TClass* Class()
             virtual void DrawOutline(UInt_t) const
             virtual void DrawWireFrame(UInt_t) const
          virtual TClass* IsA() const
                     void SetFromMesh(const RootCsg::BaseMesh* m)
             virtual void ShowMembers(TMemberInspector& insp, char* parent)
             virtual void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)

### Data Members

        private:

          vector<Double_t> fNormals
             vector<Int_t> fPolyDesc
                    UInt_t fNbPols

## Class Description

TGLFaceSet(const TBuffer3D & buff, TObject *realobj) :TGLSceneObject(buff, realobj), fNormals(3 * buff.NbPols())

void SetFromMesh(const RootCsg::BaseMesh *mesh)

     Should only be done on an empty faceset object

void DirectDraw(UInt_t LOD) const

     Debug tracing

void DrawWireFrame(UInt_t) const

void DrawOutline(UInt_t lod) const

Int_t CheckPoints(const Int_t *source, Int_t *dest) const

Bool_t Eq(const Double_t *p1, const Double_t *p2)

void CalculateNormals()

### Inline Functions

                   void ~TGLFaceSet()
                   void GLDrawPolys() const
                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
                   void StreamerNVirtual(TBuffer& b)

Author: Timur Pocheptsov 03/08/2004
Last update: root/gl:$Name: $:$Id: TGLSceneObject.cxx,v 1.43 2005/06/15 15:40:30 brun Exp $
Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *