#ifndef ROOT_TEveProjectionManager
#define ROOT_TEveProjectionManager
#include "TAtt3D.h"
#include "TAttBBox.h"
#include "TEveElement.h"
#include "TEveProjections.h"
#include "TEveVSDStructs.h"
class TEveProjectionManager : public TEveElementList,
public TAttBBox,
public TAtt3D
{
private:
TEveProjectionManager(const TEveProjectionManager&);
TEveProjectionManager& operator=(const TEveProjectionManager&);
TEveProjection* fProjection;
Bool_t fDrawCenter;
Bool_t fDrawOrigin;
TEveVector fCenter;
Int_t fSplitInfoMode;
Int_t fSplitInfoLevel;
Color_t fAxisColor;
Float_t fCurrentDepth;
virtual Bool_t ShouldImport(TEveElement* rnr_el);
public:
TEveProjectionManager();
virtual ~TEveProjectionManager();
void SetProjection(TEveProjection::EPType_e type, Float_t distort=0);
TEveProjection* GetProjection() { return fProjection; }
virtual void UpdateName();
void SetAxisColor(Color_t col) { fAxisColor = col; }
Color_t GetAxisColor() const { return fAxisColor; }
void SetSplitInfoMode(Int_t x) { fSplitInfoMode = x; }
Int_t GetSplitInfoMode() const { return fSplitInfoMode; }
void SetSplitInfoLevel(Int_t x) { fSplitInfoLevel = x; }
Int_t GetSplitInfoLevel() const { return fSplitInfoLevel; }
void SetDrawCenter(Bool_t x){ fDrawCenter = x; }
Bool_t GetDrawCenter(){ return fDrawCenter; }
void SetDrawOrigin(Bool_t x){ fDrawOrigin = x; }
Bool_t GetDrawOrigin(){ return fDrawOrigin; }
void SetCenter(Float_t x, Float_t y, Float_t z);
TEveVector& GetCenter(){return fCenter;}
void SetCurrentDepth(Float_t d) { fCurrentDepth = d; }
Float_t GetCurrentDepth() const { return fCurrentDepth; }
virtual Bool_t HandleElementPaste(TEveElement* el);
virtual void ImportElementsRecurse(TEveElement* rnr_el, TEveElement* parent);
virtual void ImportElements(TEveElement* rnr_el);
virtual void ProjectChildren();
virtual void ProjectChildrenRecurse(TEveElement* rnr_el);
virtual void ComputeBBox();
virtual void Paint(Option_t* option = "");
ClassDef(TEveProjectionManager, 0);
};
#endif
Last update: Thu Jan 17 08:49:05 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.