#ifndef ROOT_TEveCalo3DGL
#define ROOT_TEveCalo3DGL
#include "TGLObject.h"
#include "TEveCaloData.h"
class TEveCalo3D;
class TEveCalo3DGL : public TGLObject
{
private:
TEveCalo3DGL(const TEveCalo3DGL&);
TEveCalo3DGL& operator=(const TEveCalo3DGL&);
void CrossProduct(const Float_t a[3], const Float_t b[3], const Float_t c[3], Float_t out[3]) const;
void RenderBox(const Float_t pnts[8]) const;
void RenderGridEndCap() const;
void RenderGridBarrel() const;
void RenderGrid(TGLRnrCtx & rnrCtx) const;
Float_t RenderBarrelCell(const TEveCaloData::CellData_t &cell, Float_t towerH, Float_t offset) const;
Float_t RenderEndCapCell(const TEveCaloData::CellData_t &cell, Float_t towerH, Float_t offset) const;
protected:
TEveCalo3D *fM;
public:
TEveCalo3DGL();
virtual ~TEveCalo3DGL() {}
virtual Bool_t SetModel(TObject* obj, const Option_t* opt=0);
virtual void SetBBox();
virtual void DirectDraw(TGLRnrCtx & rnrCtx) const;
virtual Bool_t ShouldDLCache(const TGLRnrCtx& rnrCtx) const;
virtual Bool_t SupportsSecondarySelect() const { return kTRUE; }
virtual void ProcessSelection(TGLRnrCtx & rnrCtx, TGLSelectRecord & rec);
ClassDef(TEveCalo3DGL, 0);
};
#endif
Last change: Wed Dec 10 08:21:17 2008
Last generated: 2008-12-10 08:21
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.