]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EVE/Reve/RGEditor.h
Record changes.
[u/mrichter/AliRoot.git] / EVE / Reve / RGEditor.h
CommitLineData
5a5a1232 1// $Header$
2
3#ifndef REVE_RGEditor_H
4#define REVE_RGEditor_H
5
6#include <TGedEditor.h>
7
8namespace Reve {
9
a8600b56 10class RenderElement;
11
5a5a1232 12class RGEditor : public TGedEditor
13{
3c67f72c 14 RGEditor(const RGEditor&); // Not implemented
15 RGEditor& operator=(const RGEditor&); // Not implemented
16
5a5a1232 17protected:
32e219c2 18 RenderElement *fRnrElement; // Cached rnr-el pointer
19 TObject *fObject; // Cached tobj pointer
5a5a1232 20
21public:
32e219c2 22 RGEditor(TCanvas* canvas=0, Int_t width=250, Int_t height=400);
5a5a1232 23 virtual ~RGEditor() {}
a8600b56 24
32e219c2 25 RenderElement* GetRnrElement() const;
26
a8600b56 27 void DisplayRenderElement(RenderElement* re);
5a5a1232 28 void DisplayObject(TObject* obj);
a8600b56 29
32e219c2 30 virtual void SetModel(TVirtualPad* pad, TObject* obj, Int_t event);
a8600b56 31 virtual void Update(TGedFrame* gframe=0);
5a5a1232 32
32e219c2 33 // virtual Bool_t HandleButton(Event_t *event);
34
35 ClassDef(RGEditor, 0);
5a5a1232 36}; // endclass RGEditor
37
38}
39
40#endif