#ifndef ROOT_TShape
#define ROOT_TShape
#ifndef ROOT_TNamed
#include "TNamed.h"
#endif
#ifndef ROOT_TMaterial
#include "TMaterial.h"
#endif
#ifndef ROOT_TAttLine
#include "TAttLine.h"
#endif
#ifndef ROOT_TAttFill
#include "TAttFill.h"
#endif
#ifndef ROOT_TAtt3D
#include "TAtt3D.h"
#endif
#ifndef ROOT_X3DBuffer
#include "X3DBuffer.h"
#endif
class TBuffer3D;
class TNode;
class TShape : public TNamed, public TAttLine, public TAttFill, public TAtt3D {
protected:
Int_t fNumber;
Int_t fVisibility;
TMaterial *fMaterial;
virtual void FillBuffer3D(TBuffer3D & buffer, Int_t reqSections) const;
Int_t GetBasicColor() const;
Int_t ShapeDistancetoPrimitive(Int_t numPoints, Int_t px, Int_t py);
public:
TShape();
TShape(const char *name, const char *title, const char *material);
TShape(const TShape&);
TShape& operator=(const TShape&);
virtual ~TShape();
virtual const TBuffer3D &GetBuffer3D(Int_t reqSections) const;
TMaterial *GetMaterial() const {return fMaterial;}
virtual Int_t GetNumber() const {return fNumber;}
Int_t GetVisibility() const {return fVisibility;}
virtual void Paint(Option_t *option="");
virtual void SetName(const char *name);
virtual void SetPoints(Double_t *points) const ;
virtual void SetVisibility(Int_t vis) {fVisibility = vis;}
void TransformPoints(Double_t *points, UInt_t NbPnts) const;
ClassDef(TShape,2)
};
R__EXTERN TNode *gNode;
inline void TShape::SetName(const char *) { }
#endif
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.