#ifndef ROOT_TPadView3D
#define ROOT_TPadView3D
#ifndef ROOT_TObjectView
#endif
#include "Gtypes.h"
#ifndef ROOT_TObject
#include "TObject.h"
#endif
class TVirtualPad;
class TPolyMarker3D;
class TPolyLine3D;
class TPoints3DABC;
class TNode;
class TRotMatrix;
class TPadView3D {
protected:
TVirtualPad *fParent;
Double_t fViewBoxMin[3];
Double_t fViewBoxMax[3];
Double_t fTranslate[3];
Double_t fExtraTranslate[3];
Double_t fAngles[3];
Double_t fExtraAngles[3];
Double_t fAnglFactor[3];
Float_t fScale;
public:
TPadView3D() { fParent = 0;}
TPadView3D(TVirtualPad *pad) { SetPad(pad); }
virtual ~TPadView3D();
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py);
TVirtualPad *GetPad() const { return fParent; }
virtual void Paint(Option_t *option="");
virtual void Size(Int_t width, Int_t height);
virtual void PaintBeginModel(Option_t *opt="");
virtual void PaintEnd(Option_t *opt="");
virtual void PaintScene(Option_t *opt="");
virtual void PaintPolyMarker(TPolyMarker3D *marker, Option_t *opt="");
virtual void PaintPolyLine(TPolyLine3D *line, Option_t *opt="");
virtual void PaintPoints3D(const TPoints3DABC *points,Option_t *opt="");
virtual void PushMatrix() { }
virtual void PopMatrix() { }
virtual void SetAttNode(TNode *node, Option_t *opt="");
virtual void SetLineAttr(Color_t color, Int_t width, Option_t *opt="");
void SetPad(TVirtualPad *pad=0) { fParent = pad; }
virtual void UpdateNodeMatrix(TNode *node, Option_t *opt="");
virtual void UpdatePosition(Double_t x,Double_t y,Double_t z,TRotMatrix *matrix, Option_t *opt="");
virtual void UpdateView() { }
virtual void GetRange(Double_t min[3], Double_t max[3]) const;
virtual void SetRange(Double_t min[3], Double_t max[3]);
virtual void GetShift(Double_t main_shift[3], Double_t extra_shift[3]) const;
virtual void SetShift(Double_t main_shift[3], Double_t extra_shift[3]);
virtual void GetAngles(Double_t main_angles[3], Double_t extra_angles[3]) const;
virtual void SetAngles(Double_t main_angles[3], Double_t extra_angles[3]);
virtual void GetAnglesFactors(Double_t factors[3]) const;
virtual void SetAnglesFactors(Double_t factors[3]);
virtual Float_t GetScale(){return fScale;}
virtual void SetScale(Float_t scale);
};
inline void TPadView3D::ExecuteEvent(Int_t, Int_t, Int_t) { }
inline void TPadView3D::Paint(Option_t *) { }
inline void TPadView3D::Size(Int_t, Int_t) { }
inline void TPadView3D::PaintBeginModel(Option_t *) { }
inline void TPadView3D::PaintEnd(Option_t *) { }
inline void TPadView3D::PaintScene(Option_t *) { }
inline void TPadView3D::PaintPolyMarker(TPolyMarker3D *, Option_t *) { }
inline void TPadView3D::PaintPolyLine(TPolyLine3D *, Option_t *) { }
inline void TPadView3D::PaintPoints3D(const TPoints3DABC *,Option_t *){ }
inline void TPadView3D::SetAttNode(TNode *, Option_t *) { }
inline void TPadView3D::SetLineAttr(Color_t ,Int_t ,Option_t *) { }
inline void TPadView3D::UpdateNodeMatrix(TNode *, Option_t *) { }
inline void TPadView3D::UpdatePosition(Double_t ,Double_t ,Double_t ,TRotMatrix *, Option_t *){ }
#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.