00001 // @(#)root/eve:$Id: TEvePointSetArrayEditor.h 21054 2007-11-26 18:00:41Z matevz $ 00002 // Authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007 00003 00004 /************************************************************************* 00005 * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. * 00006 * All rights reserved. * 00007 * * 00008 * For the licensing terms see $ROOTSYS/LICENSE. * 00009 * For the list of contributors see $ROOTSYS/README/CREDITS. * 00010 *************************************************************************/ 00011 00012 #ifndef ROOT_TEvePointSetArrayEditor 00013 #define ROOT_TEvePointSetArrayEditor 00014 00015 #include "TGedFrame.h" 00016 00017 class TGCheckButton; 00018 class TGNumberEntry; 00019 class TGColorSelect; 00020 00021 class TEveGValuator; 00022 class TEveGDoubleValuator; 00023 00024 class TEvePointSetArray; 00025 00026 class TEvePointSetArrayEditor : public TGedFrame 00027 { 00028 TEvePointSetArrayEditor(const TEvePointSetArrayEditor&); // Not implemented 00029 TEvePointSetArrayEditor& operator=(const TEvePointSetArrayEditor&); // Not implemented 00030 00031 protected: 00032 TEvePointSetArray *fM; // Model object. 00033 00034 TEveGDoubleValuator *fRange; // Control for displayed range of the separating quantity. 00035 00036 public: 00037 TEvePointSetArrayEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, 00038 UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground()); 00039 ~TEvePointSetArrayEditor(); 00040 00041 virtual void SetModel(TObject* obj); 00042 00043 void DoRange(); 00044 00045 ClassDef(TEvePointSetArrayEditor, 1); // Editor for TEvePointSetArray class. 00046 }; 00047 00048 #endif