#ifndef ROOT_TEveProjectionBases
#define ROOT_TEveProjectionBases
#include "TEveUtil.h"
#include <list>
class TBuffer3D;
class TEveProjected;
class TEveProjectionManager;
class TEveProjectable
{
private:
TEveProjectable(const TEveProjectable&);
TEveProjectable& operator=(const TEveProjectable&);
protected:
std::list<TEveProjected*> fProjectedList;
public:
TEveProjectable();
virtual ~TEveProjectable();
virtual TClass* ProjectedClass() const = 0;
virtual void AddProjected(TEveProjected* p) { fProjectedList.push_back(p); }
virtual void RemoveProjected(TEveProjected* p) { fProjectedList.remove(p); }
ClassDef(TEveProjectable, 0);
};
class TEveProjected
{
private:
TEveProjected(const TEveProjected&);
TEveProjected& operator=(const TEveProjected&);
protected:
TEveProjectionManager *fProjector;
TEveProjectable *fProjectable;
Float_t fDepth;
public:
TEveProjected();
virtual ~TEveProjected();
virtual void SetProjection(TEveProjectionManager* proj, TEveProjectable* model);
virtual void UnRefProjectable(TEveProjectable* assumed_parent);
virtual void SetDepth(Float_t d) { fDepth = d; }
virtual void UpdateProjection() = 0;
ClassDef(TEveProjected, 0);
};
#endif
Last update: Thu Jan 17 08:49:04 2008
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.