// $Header$ #ifndef REVE_NLTProjectorEditor_H #define REVE_NLTProjectorEditor_H #include class TGComboBox; class TGCheckButton; class TGNumberEntry; class TGColorSelect; namespace Reve { class NLTProjector; class RGValuator; class NLTProjectorEditor : public TGedFrame { private: NLTProjectorEditor(const NLTProjectorEditor&); // Not implemented NLTProjectorEditor& operator=(const NLTProjectorEditor&); // Not implemented protected: NLTProjector *fM; // fModel dynamic-casted to NLTProjectorEditor // projection TGComboBox *fType; RGValuator *fDistortion; RGValuator *fFixedRadius; RGValuator *fCurrentDepth; // center TGVerticalFrame *fCenterFrame; // Parent frame for projection center interface. TGCheckButton *fDrawCenter; TGCheckButton *fDrawOrigin; RGValuator *fCenterX; RGValuator *fCenterY; RGValuator *fCenterZ; // axis TGColorSelect *fAxisColor; TGComboBox *fSIMode; TGNumberEntry *fSILevel; public: NLTProjectorEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground()); virtual ~NLTProjectorEditor(){} virtual void SetModel(TObject* obj); // Declare callback/slot methods void DoSplitInfoMode(Int_t type); void DoSplitInfoLevel(); void DoAxisColor(Pixel_t pixel); void DoType(Int_t type); void DoDistortion(); void DoFixedRadius(); void DoCurrentDepth(); void DoDrawCenter(); void DoDrawOrigin(); void DoCenter(); ClassDef(NLTProjectorEditor, 0); // Editor for NLTProjector. }; // endclass NLTProjectorEditor } #endif