TEveGedEditor Class Reference

#include <TEveGedEditor.h>

Inheritance diagram for TEveGedEditor:

TGedEditor TGedEditor TGMainFrame TVirtualPadEditor TGMainFrame TVirtualPadEditor TGMainFrame TVirtualPadEditor TGMainFrame TVirtualPadEditor List of all members.

Public Types

typedef TGedFrame *(*) NameFrameCreator_t (TEveGedEditor *, const TGWindow *parent, const char *tab_name)
typedef TGedFrame *(*) NameFrameCreator_t (TEveGedEditor *, const TGWindow *parent, const char *tab_name)

Public Member Functions

 TEveGedEditor (TCanvas *canvas=0, UInt_t width=250, UInt_t height=400)
virtual ~TEveGedEditor ()
virtual void CloseWindow ()
virtual void DeleteWindow ()
TEveElementGetEveElement () const
void DisplayElement (TEveElement *re)
void DisplayObject (TObject *obj)
virtual void SetModel (TVirtualPad *pad, TObject *obj, Int_t event)
virtual void Update (TGedFrame *gframe=0)
 ClassDef (TEveGedEditor, 0)
 TEveGedEditor (TCanvas *canvas=0, UInt_t width=250, UInt_t height=400)
virtual ~TEveGedEditor ()
virtual void CloseWindow ()
virtual void DeleteWindow ()
TEveElementGetEveElement () const
void DisplayElement (TEveElement *re)
void DisplayObject (TObject *obj)
virtual void SetModel (TVirtualPad *pad, TObject *obj, Int_t event)
virtual void Update (TGedFrame *gframe=0)
 ClassDef (TEveGedEditor, 0)

Static Public Member Functions

static void SpawnNewEditor (TObject *obj)
static void ElementChanged (TEveElement *el)
static void ElementDeleted (TEveElement *el)
static void DestroyEditors ()
static TContextMenuGetContextMenu ()
static void SpawnNewEditor (TObject *obj)
static void ElementChanged (TEveElement *el)
static void ElementDeleted (TEveElement *el)
static void DestroyEditors ()
static TContextMenuGetContextMenu ()

Protected Member Functions

virtual TGedFrameCreateNameFrame (const TGWindow *parent, const char *tab_name)
virtual TGedFrameCreateNameFrame (const TGWindow *parent, const char *tab_name)

Protected Attributes

TEveElementfElement
TObjectfObject
TEveElementfElement
TObjectfObject

Static Protected Attributes

static Int_t fgMaxExtraEditors
static TListfgExtraEditors
static TContextMenufgContextMenu
static TListfgExtraEditors
static TContextMenufgContextMenu

Private Member Functions

 TEveGedEditor (const TEveGedEditor &)
TEveGedEditoroperator= (const TEveGedEditor &)
 TEveGedEditor (const TEveGedEditor &)
TEveGedEditoroperator= (const TEveGedEditor &)

Detailed Description

Definition at line 26 of file TEveGedEditor.h.


Member Typedef Documentation

typedef TGedFrame*(*) TEveGedEditor::NameFrameCreator_t(TEveGedEditor *, const TGWindow *parent, const char *tab_name)

Definition at line 32 of file TEveGedEditor.h.

typedef TGedFrame*(*) TEveGedEditor::NameFrameCreator_t(TEveGedEditor *, const TGWindow *parent, const char *tab_name)

Definition at line 32 of file TEveGedEditor.h.


Constructor & Destructor Documentation

TEveGedEditor::TEveGedEditor ( const TEveGedEditor  )  [private]

Referenced by SpawnNewEditor().

TEveGedEditor::TEveGedEditor ( TCanvas canvas = 0,
UInt_t  width = 250,
UInt_t  height = 400 
)

Definition at line 42 of file TEveGedEditor.cxx.

References TMap::Add(), TGCompositeFrame::AddFrame(), CreateNameFrame(), TGObject::fClient, TGedEditor::fFrameMap, TGedEditor::fTabContainer, TClass::GetClass(), TClass::GetDataMemberOffset(), TGClient::GetRoot(), kLHintsExpandX, kLHintsTop, TClass::New(), nf, TGCompositeFrame::RemoveAll(), TGedEditor::SetFrameCreator(), TGedFrame::SetModelClass(), TGClient::SetRoot(), and TObject::Warning().

TEveGedEditor::~TEveGedEditor (  )  [virtual]

Definition at line 78 of file TEveGedEditor.cxx.

References gDebug, and TObject::Info().

TEveGedEditor::TEveGedEditor ( const TEveGedEditor  )  [private]

TEveGedEditor::TEveGedEditor ( TCanvas canvas = 0,
UInt_t  width = 250,
UInt_t  height = 400 
)

virtual TEveGedEditor::~TEveGedEditor (  )  [virtual]


Member Function Documentation

TEveGedEditor& TEveGedEditor::operator= ( const TEveGedEditor  )  [private]

TGedFrame * TEveGedEditor::CreateNameFrame ( const TGWindow parent,
const char *  tab_name 
) [protected, virtual]

Reimplemented from TGedEditor.

Definition at line 122 of file TEveGedEditor.cxx.

Referenced by TEveGedEditor().

void TEveGedEditor::CloseWindow (  )  [virtual]

Reimplemented from TGedEditor.

Definition at line 87 of file TEveGedEditor.cxx.

References DeleteWindow(), fgExtraEditors, gDebug, TObject::Info(), and TList::Remove().

void TEveGedEditor::DeleteWindow (  )  [virtual]

Reimplemented from TGFrame.

Definition at line 101 of file TEveGedEditor.cxx.

References DisplayElement(), gDebug, gDNDManager, TGDNDManager::GetMainFrame(), TGWindow::GetName(), TObject::Info(), TGFrame::kDeleteWindowCalled, TObject::SetBit(), TGDNDManager::SetMainFrame(), TTimer::SingleShot(), and TObject::TestBit().

Referenced by CloseWindow(), and ElementDeleted().

TEveElement * TEveGedEditor::GetEveElement (  )  const

Definition at line 130 of file TEveGedEditor.cxx.

References fElement, TGedEditor::fModel, and fObject.

Referenced by TEveManager::ElementPaste(), and TEveGedNameTextButton::HandleButton().

void TEveGedEditor::DisplayElement ( TEveElement re  ) 

Definition at line 138 of file TEveGedEditor.cxx.

References fElement, fObject, TGedEditor::fPad, TEveElement::GetEditorObject(), kButton1Down, and TGedEditor::SetModel().

Referenced by DeleteWindow(), TEveManager::EditElement(), and ElementChanged().

void TEveGedEditor::DisplayObject ( TObject obj  ) 

Definition at line 150 of file TEveGedEditor.cxx.

References fElement, fObject, TGedEditor::fPad, kButton1Down, and TGedEditor::SetModel().

Referenced by SpawnNewEditor().

void TEveGedEditor::SetModel ( TVirtualPad pad,
TObject obj,
Int_t  event 
) [virtual]

Reimplemented from TGedEditor.

Definition at line 162 of file TEveGedEditor.cxx.

References fElement, fObject, and TGedEditor::SetModel().

void TEveGedEditor::Update ( TGedFrame gframe = 0  )  [virtual]

Reimplemented from TGedEditor.

Definition at line 172 of file TEveGedEditor.cxx.

References TEveElement::ElementChanged(), fElement, gEve, TEveElement::PropagateVizParamsToProjecteds(), and TEveManager::Redraw3D().

void TEveGedEditor::SpawnNewEditor ( TObject obj  )  [static]

Definition at line 191 of file TEveGedEditor.cxx.

References TList::Add(), DisplayObject(), fgExtraEditors, fgMaxExtraEditors, Form(), gClient, TGClient::GetDefaultRoot(), TEveManager::GetMainWindow(), TCollection::GetSize(), gEve, kMBIconStop, kMBOk, TGMainFrame::SetWindowName(), and TEveGedEditor().

Referenced by G__G__Eve1_320_0_12(), G__setup_memfuncTEveGedEditor(), and TEveGedNameFrame::SpawnEditorClone().

void TEveGedEditor::ElementChanged ( TEveElement el  )  [static]

Definition at line 214 of file TEveGedEditor.cxx.

References DisplayElement(), fgExtraEditors, TList::FirstLink(), TEveElement::GetEditorObject(), TGedEditor::GetModel(), TObjLink::GetObject(), and TObjLink::Next().

Referenced by TEveManager::DoRedraw3D(), TEveManager::ElementChanged(), G__G__Eve1_320_0_13(), and G__setup_memfuncTEveGedEditor().

void TEveGedEditor::ElementDeleted ( TEveElement el  )  [static]

Definition at line 230 of file TEveGedEditor.cxx.

References DeleteWindow(), fgExtraEditors, TList::FirstLink(), TEveElement::GetEditorObject(), TGedEditor::GetModel(), TObjLink::GetObject(), TObjLink::Next(), and TList::Remove().

Referenced by G__G__Eve1_320_0_14(), G__setup_memfuncTEveGedEditor(), and TEveManager::PreDeleteElement().

void TEveGedEditor::DestroyEditors (  )  [static]

Definition at line 254 of file TEveGedEditor.cxx.

References fgExtraEditors, TList::First(), TCollection::IsEmpty(), and TSeqCollection::RemoveFirst().

Referenced by G__G__Eve1_320_0_15(), G__setup_memfuncTEveGedEditor(), and TEveManager::Terminate().

TContextMenu * TEveGedEditor::GetContextMenu (  )  [static]

Definition at line 267 of file TEveGedEditor.cxx.

References fgContextMenu.

Referenced by G__G__Eve1_320_0_16(), G__setup_memfuncTEveGedEditor(), and TEveGedNameTextButton::HandleButton().

TEveGedEditor::ClassDef ( TEveGedEditor  ,
 
)

TEveGedEditor& TEveGedEditor::operator= ( const TEveGedEditor  )  [private]

virtual TGedFrame* TEveGedEditor::CreateNameFrame ( const TGWindow parent,
const char *  tab_name 
) [protected, virtual]

Reimplemented from TGedEditor.

virtual void TEveGedEditor::CloseWindow (  )  [virtual]

Reimplemented from TGedEditor.

virtual void TEveGedEditor::DeleteWindow (  )  [virtual]

Reimplemented from TGFrame.

TEveElement* TEveGedEditor::GetEveElement (  )  const

void TEveGedEditor::DisplayElement ( TEveElement re  ) 

void TEveGedEditor::DisplayObject ( TObject obj  ) 

virtual void TEveGedEditor::SetModel ( TVirtualPad pad,
TObject obj,
Int_t  event 
) [virtual]

Reimplemented from TGedEditor.

virtual void TEveGedEditor::Update ( TGedFrame gframe = 0  )  [virtual]

Reimplemented from TGedEditor.

static void TEveGedEditor::SpawnNewEditor ( TObject obj  )  [static]

static void TEveGedEditor::ElementChanged ( TEveElement el  )  [static]

static void TEveGedEditor::ElementDeleted ( TEveElement el  )  [static]

static void TEveGedEditor::DestroyEditors (  )  [static]

static TContextMenu* TEveGedEditor::GetContextMenu (  )  [static]

TEveGedEditor::ClassDef ( TEveGedEditor  ,
 
)


Member Data Documentation

TEveElement* TEveGedEditor::fElement [protected]

Definition at line 35 of file TEveGedEditor.h.

Referenced by DisplayElement(), DisplayObject(), GetEveElement(), SetModel(), and Update().

TObject* TEveGedEditor::fObject [protected]

Definition at line 36 of file TEveGedEditor.h.

Referenced by DisplayElement(), DisplayObject(), GetEveElement(), and SetModel().

static Int_t TEveGedEditor::fgMaxExtraEditors [static, protected]

Definition at line 40 of file TEveGedEditor.h.

Referenced by SpawnNewEditor().

TList * TEveGedEditor::fgExtraEditors [static, protected]

Definition at line 41 of file TEveGedEditor.h.

Referenced by CloseWindow(), DestroyEditors(), ElementChanged(), ElementDeleted(), and SpawnNewEditor().

TContextMenu * TEveGedEditor::fgContextMenu [static, protected]

Definition at line 43 of file TEveGedEditor.h.

Referenced by GetContextMenu().

TEveElement* TEveGedEditor::fElement [protected]

Definition at line 35 of file TEveGedEditor.h.

TObject* TEveGedEditor::fObject [protected]

Definition at line 36 of file TEveGedEditor.h.

TList* TEveGedEditor::fgExtraEditors [static, protected]

Definition at line 41 of file TEveGedEditor.h.

TContextMenu* TEveGedEditor::fgContextMenu [static, protected]

Definition at line 43 of file TEveGedEditor.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:36:50 2011 for ROOT_528-00b_version by  doxygen 1.5.1