Base class for plot-painters that provide GL rendering of various 2D and 3D histograms, functions and parametric surfaces.
Definition at line 181 of file TGLPlotPainter.h.
Public Types | |
enum | ECutAxisID { kXAxis = 7 , kYAxis = 8 , kZAxis = 9 } |
Public Member Functions | |
TGLPlotPainter (TGL5DDataSet *data, TGLPlotCamera *camera, TGLPlotCoordinates *coord) | |
TGLPlotPainter's ctor. | |
TGLPlotPainter (TGLPlotCamera *camera) | |
TGLPlotPainter's ctor. | |
TGLPlotPainter (TH1 *hist, TGLPlotCamera *camera, TGLPlotCoordinates *coord, Bool_t xoySelectable, Bool_t xozSelectable, Bool_t yozSelectable) | |
TGLPlotPainter's ctor. | |
virtual void | AddOption (const TString &stringOption)=0 |
Bool_t | CutAxisSelected () const |
virtual void | DeInitGL () const =0 |
virtual void | DrawPlot () const =0 |
Bool_t | GetDrawAxes () |
virtual Bool_t | InitGeometry ()=0 |
virtual void | InitGL () const =0 |
void | InvalidateSelection () |
Selection must be updated. | |
virtual void | Paint () |
Draw lego/surf/whatever you can. | |
virtual Bool_t | PlotSelected (Int_t px, Int_t py) |
Read color buffer content to find selected object. | |
virtual void | ProcessEvent (Int_t event, Int_t px, Int_t py)=0 |
const TGLPlotBox & | RefBackBox () const |
void | SetDrawAxes (Bool_t s) |
void | SetDrawBackBox (Bool_t b) |
void | SetDrawFrontBox (Bool_t b) |
virtual void | SetFrameColor (const TColor *frameColor) |
Set plot's back box color. | |
void | SetPadColor (const TColor *color) |
Used in a pad. | |
void | SetPhysicalShapeColor (const Float_t *rgba) |
virtual void | StartPan (Int_t px, Int_t py)=0 |
Public Member Functions inherited from TVirtualGLPainter | |
virtual | ~TVirtualGLPainter () |
virtual char * | GetPlotInfo (Int_t px, Int_t py)=0 |
virtual void | Pan (Int_t px, Int_t py)=0 |
Protected Types | |
enum | ESelectionBase { kHighColorSelectionBase = 7 , kTrueColorSelectionBase = 10 } |
Protected Member Functions | |
virtual void | ClearBuffers () const |
virtual void | DrawPaletteAxis () const |
Draw. Palette. Axis. | |
void | DrawSections () const |
Draw sections (if any). | |
virtual void | DrawSectionXOY () const =0 |
virtual void | DrawSectionXOZ () const =0 |
virtual void | DrawSectionYOZ () const =0 |
const TColor * | GetPadColor () const |
Get pad color. | |
void | MoveSection (Int_t px, Int_t py) |
Create dynamic profile using selected plane. | |
void | PrintPlot () const |
Generate PS using gl2ps. | |
void | RestoreModelviewMatrix () const |
void | RestoreProjectionMatrix () const |
void | SaveModelviewMatrix () const |
void | SaveProjectionMatrix () const |
Private Attributes | |
const TColor * | fPadColor |
Friends | |
class | Rgl::PlotTranslation |
#include <TGLPlotPainter.h>
Enumerator | |
---|---|
kXAxis | |
kYAxis | |
kZAxis |
Definition at line 262 of file TGLPlotPainter.h.
|
protected |
Enumerator | |
---|---|
kHighColorSelectionBase | |
kTrueColorSelectionBase |
Definition at line 213 of file TGLPlotPainter.h.
TGLPlotPainter::TGLPlotPainter | ( | TH1 * | hist, |
TGLPlotCamera * | camera, | ||
TGLPlotCoordinates * | coord, | ||
Bool_t | xoySelectable, | ||
Bool_t | xozSelectable, | ||
Bool_t | yozSelectable | ||
) |
TGLPlotPainter's ctor.
Definition at line 50 of file TGLPlotPainter.cxx.
TGLPlotPainter::TGLPlotPainter | ( | TGL5DDataSet * | data, |
TGLPlotCamera * | camera, | ||
TGLPlotCoordinates * | coord | ||
) |
TGLPlotPainter's ctor.
Definition at line 84 of file TGLPlotPainter.cxx.
TGLPlotPainter::TGLPlotPainter | ( | TGLPlotCamera * | camera | ) |
TGLPlotPainter's ctor.
Definition at line 117 of file TGLPlotPainter.cxx.
|
protectedvirtual |
Definition at line 567 of file TGLPlotPainter.cxx.
|
inline |
Definition at line 268 of file TGLPlotPainter.h.
|
pure virtual |
|
protectedvirtual |
Draw. Palette. Axis.
Reimplemented in TGLBoxPainter, TGLH2PolyPainter, TGLLegoPainter, TGLSurfacePainter, and TGLVoxelPainter.
Definition at line 582 of file TGLPlotPainter.cxx.
|
pure virtual |
|
protected |
Draw sections (if any).
Definition at line 443 of file TGLPlotPainter.cxx.
|
protectedpure virtual |
|
protectedpure virtual |
|
protectedpure virtual |
|
inline |
Definition at line 273 of file TGLPlotPainter.h.
|
protected |
Get pad color.
Definition at line 363 of file TGLPlotPainter.cxx.
|
pure virtual |
|
pure virtual |
void TGLPlotPainter::InvalidateSelection | ( | ) |
Selection must be updated.
Definition at line 355 of file TGLPlotPainter.cxx.
Create dynamic profile using selected plane.
Definition at line 371 of file TGLPlotPainter.cxx.
|
virtual |
Draw lego/surf/whatever you can.
Implements TVirtualGLPainter.
Definition at line 150 of file TGLPlotPainter.cxx.
Read color buffer content to find selected object.
Implements TVirtualGLPainter.
Definition at line 274 of file TGLPlotPainter.cxx.
|
protected |
Generate PS using gl2ps.
Definition at line 232 of file TGLPlotPainter.cxx.
|
inline |
Definition at line 231 of file TGLPlotPainter.h.
|
protected |
Definition at line 604 of file TGLPlotPainter.cxx.
|
protected |
Definition at line 612 of file TGLPlotPainter.cxx.
|
protected |
Definition at line 588 of file TGLPlotPainter.cxx.
|
protected |
Definition at line 596 of file TGLPlotPainter.cxx.
Definition at line 272 of file TGLPlotPainter.h.
Definition at line 271 of file TGLPlotPainter.h.
Definition at line 270 of file TGLPlotPainter.h.
Set plot's back box color.
Definition at line 347 of file TGLPlotPainter.cxx.
Used in a pad.
Definition at line 339 of file TGLPlotPainter.cxx.
Definition at line 232 of file TGLPlotPainter.h.
|
friend |
Definition at line 182 of file TGLPlotPainter.h.
|
protected |
Definition at line 207 of file TGLPlotPainter.h.
|
protected |
Definition at line 208 of file TGLPlotPainter.h.
|
protected |
Definition at line 197 of file TGLPlotPainter.h.
|
protected |
Definition at line 196 of file TGLPlotPainter.h.
|
protected |
Definition at line 220 of file TGLPlotPainter.h.
|
mutableprotected |
Definition at line 219 of file TGLPlotPainter.h.
|
protected |
Definition at line 211 of file TGLPlotPainter.h.
|
protected |
Definition at line 191 of file TGLPlotPainter.h.
|
protected |
Definition at line 203 of file TGLPlotPainter.h.
|
private |
Definition at line 184 of file TGLPlotPainter.h.
|
protected |
Definition at line 189 of file TGLPlotPainter.h.
|
protected |
Definition at line 190 of file TGLPlotPainter.h.
|
protected |
Definition at line 187 of file TGLPlotPainter.h.
|
protected |
Definition at line 202 of file TGLPlotPainter.h.
|
protected |
Definition at line 198 of file TGLPlotPainter.h.
|
protected |
Definition at line 218 of file TGLPlotPainter.h.
|
protected |
Definition at line 201 of file TGLPlotPainter.h.
|
protected |
Definition at line 200 of file TGLPlotPainter.h.
|
protected |
Definition at line 192 of file TGLPlotPainter.h.
|
mutableprotected |
Definition at line 206 of file TGLPlotPainter.h.
|
mutableprotected |
Definition at line 204 of file TGLPlotPainter.h.
|
protected |
Definition at line 193 of file TGLPlotPainter.h.
|
mutableprotected |
Definition at line 205 of file TGLPlotPainter.h.
|
protected |
Definition at line 194 of file TGLPlotPainter.h.
|
protected |
Definition at line 210 of file TGLPlotPainter.h.