Public Member Functions | Friends | List of all members
Acclaim::GuiParent Class Referenceabstract

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 GuiParentgetParent () 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 TGraphInteractivefindChild (const char *name)
 

Friends

class TGraphInteractive
 

Detailed Description

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.

Inheritance diagram for Acclaim::GuiParent:
Inheritance graph
[legend]

Constructor & Destructor Documentation

Acclaim::GuiParent::GuiParent ( )
inline

Default constructor

Definition at line 28 of file TGraphInteractive.h.

Member Function Documentation

virtual void Acclaim::GuiParent::Draw ( Option_t *  opt)
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);}

Parameters
optis 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!

Parameters
nameis the name to match
Returns
pointer to the first graph in fChildren called name

Definition at line 106 of file TGraphInteractive.cxx.


The documentation for this class was generated from the following files: