LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "Canvas.h"
Public Member Functions | |
Canvas (TGMainFrame *mf) | |
virtual | ~Canvas () |
virtual void | Draw (const char *opt=0)=0 |
virtual const char * | PrintTag () const |
virtual const char * | Description () const |
virtual void | Print (const char *f) |
void | Connect () |
Make signal/slot connections. More... | |
Static Public Member Functions | |
static void | AddToListOfPrintables (const char *name, evdb::Printable *p) |
static void | RemoveFromListOfPrintables (evdb::Printable *p) |
static std::map< std::string, evdb::Printable * > & | GetPrintables () |
Protected Attributes | |
TGCompositeFrame * | fFrame |
Graphics frame. More... | |
TGLayoutHints * | fLayout |
Layout hints for frame. More... | |
TRootEmbeddedCanvas * | fEmbCanvas |
Embedded canvas. More... | |
TCanvas * | fCanvas |
The ROOT drawing canvas. More... | |
unsigned short | fXsize |
Size of the canvas;. More... | |
unsigned short | fYsize |
Size of the canvas;. More... | |
float | fAspectRatio |
fYsize/fXsize More... | |
evdb::Canvas::Canvas | ( | TGMainFrame * | mf | ) |
Perform the basic setup for a drawing canvas
Definition at line 33 of file Canvas.cxx.
References fAspectRatio, fCanvas, fEmbCanvas, fFrame, fLayout, fXsize, fYsize, and PrintTag().
|
virtual |
|
staticinherited |
Definition at line 29 of file Printable.cxx.
References s.
Referenced by Connect(), evdb::ObjListCanvas::Connect(), evdb::Printable::Description(), and evdb::testCanvas1::testCanvas1().
void evdb::Canvas::Connect | ( | ) |
Make signal/slot connections.
Definition at line 68 of file Canvas.cxx.
References evdb::Printable::AddToListOfPrintables(), and Description().
Referenced by evd::CalorView::CalorView(), Description(), evd::Display3DView::Display3DView(), and evdb::DisplayWindow::DisplayWindow().
|
inlinevirtual |
Reimplemented from evdb::Printable.
Reimplemented in evd::TWQProjectionView, evd::TWQMultiTPCProjectionView, evdb::testCanvas1, evd::CalorView, evd::Ortho3DView, and evd::Display3DView.
Definition at line 33 of file Canvas.h.
References Connect(), f, and Print().
Referenced by Connect().
|
pure virtual |
Implemented in evd::TWQProjectionView, evd::TWQMultiTPCProjectionView, evdb::testCanvas1, evd::CalorView, evd::Ortho3DView, and evd::Display3DView.
Referenced by evdb::DisplayWindow::Draw().
|
staticinherited |
Definition at line 61 of file Printable.cxx.
References evdb::gsPrintables.
Referenced by evdb::Printable::Description(), evdb::EventDisplay::postProcessEvent(), and evdb::PrintDialog::PrintDialog().
|
virtual |
Implements evdb::Printable.
Definition at line 88 of file Canvas.cxx.
References fCanvas.
Referenced by Description().
|
inlinevirtual |
Implements evdb::Printable.
Reimplemented in evd::TWQProjectionView, evd::TWQMultiTPCProjectionView, evdb::testCanvas1, evd::CalorView, evd::Ortho3DView, and evd::Display3DView.
Definition at line 32 of file Canvas.h.
Referenced by Canvas().
|
staticinherited |
Definition at line 47 of file Printable.cxx.
Referenced by evdb::Printable::Description(), evdb::Printable::~Printable(), and evdb::testCanvas1::~testCanvas1().
|
protected |
|
protected |
The ROOT drawing canvas.
Definition at line 42 of file Canvas.h.
Referenced by evd::CalorView::CalorView(), Canvas(), evd::Display3DView::Display3DView(), evd::Display3DView::Draw(), evd::CalorView::Draw(), evdb::testCanvas1::Draw(), evd::TWQMultiTPCProjectionView::Draw(), evd::TWQProjectionView::Draw(), evd::Ortho3DView::Ortho3DView(), Print(), evd::TWQMultiTPCProjectionView::SetGreyscale(), evd::TWQProjectionView::SetGreyscale(), evd::TWQMultiTPCProjectionView::SetMCInfo(), evd::TWQProjectionView::SetMCInfo(), evd::TWQMultiTPCProjectionView::SetPlaneWire(), evd::TWQProjectionView::SetPlaneWire(), evd::TWQMultiTPCProjectionView::SetRawCalib(), evd::TWQProjectionView::SetRawCalib(), evd::TWQMultiTPCProjectionView::SetThreshold(), evd::TWQProjectionView::SetThreshold(), evd::TWQMultiTPCProjectionView::SetZoom(), evd::TWQProjectionView::SetZoom(), evd::TWQMultiTPCProjectionView::TWQMultiTPCProjectionView(), and evd::TWQProjectionView::TWQProjectionView().
|
protected |
Embedded canvas.
Definition at line 41 of file Canvas.h.
Referenced by Canvas(), evd::Ortho3DView::Ortho3DView(), evd::TWQMultiTPCProjectionView::TWQMultiTPCProjectionView(), evd::TWQProjectionView::TWQProjectionView(), and ~Canvas().
|
protected |
Graphics frame.
Definition at line 39 of file Canvas.h.
Referenced by Canvas(), evd::Ortho3DView::Ortho3DView(), evd::TWQMultiTPCProjectionView::TWQMultiTPCProjectionView(), evd::TWQProjectionView::TWQProjectionView(), and ~Canvas().
|
protected |
Layout hints for frame.
Definition at line 40 of file Canvas.h.
Referenced by Canvas(), evd::Ortho3DView::Ortho3DView(), evd::TWQMultiTPCProjectionView::TWQMultiTPCProjectionView(), evd::TWQProjectionView::TWQProjectionView(), and ~Canvas().
|
protected |
Size of the canvas;.
Definition at line 44 of file Canvas.h.
Referenced by Canvas(), evd::TWQMultiTPCProjectionView::TWQMultiTPCProjectionView(), and evd::TWQProjectionView::TWQProjectionView().
|
protected |
Size of the canvas;.
Definition at line 45 of file Canvas.h.
Referenced by Canvas(), evd::TWQMultiTPCProjectionView::TWQMultiTPCProjectionView(), and evd::TWQProjectionView::TWQProjectionView().