Inherit from this to draw interactive TGraphs on top of you. More...
#include <TGraphInteractive.h>
Public Member Functions | |
GuiParent () | |
void | deleteChildren () |
virtual void | Draw (Option_t *opt)=0 |
virtual GuiParent * | getParent () const |
virtual void | DrawGroup (Option_t *opt="") |
Must be overloaded by children (TGraphInteractive*) to return pointer to parent | |
size_t | addGuiChild (TGraphInteractive *grPtr) |
size_t | addGuiChild (const TGraph &grRef, Option_t *drawOpt) |
size_t | copyChildren (const GuiParent *that) |
const TGraphInteractive * | findChild (const char *name) |
Friends | |
class | TGraphInteractive |
Inherit from this to draw interactive TGraphs on top of you.
Skeletal class to inherit from if you want to have a bunch of TGraphs which follow you around a ROOT GUI Draw the whole set (self + children) with DrawGroup(Option_t*)
Definition at line 20 of file TGraphInteractive.h.
|
inline |
Default constructor
Definition at line 28 of file TGraphInteractive.h.
|
pure virtual |
Must be defined so derived class can DrawGroup (just make it reference base class draw)
For example, the following would suffice: virtual void Draw(Option_t* opt){TGraph::Draw(opt);}
opt | is the draw option to use |
Implemented in Acclaim::TGraphInteractive, and Acclaim::InterferometricMap.
const Acclaim::TGraphInteractive * Acclaim::GuiParent::findChild | ( | const char * | name | ) |
Get a child TGraphInteractive with name matching name Will return the first graph matching name. The graph pointed to is still owned by guiParent, do not delete!
name | is the name to match |
Definition at line 106 of file TGraphInteractive.cxx.