ROOT 6.08/07 Reference Guide |
Base class for plot-painters that provide GL rendering of various 2D and 3D histograms, functions and parametric surfaces.
Definition at line 191 of file TGLPlotPainter.h.
Public Types | |
enum | ECutAxisID { kXAxis = 7, kYAxis = 8, kZAxis = 9 } |
Public Member Functions | |
TGLPlotPainter (TH1 *hist, TGLPlotCamera *camera, TGLPlotCoordinates *coord, Bool_t xoySelectable, Bool_t xozSelectable, Bool_t yozSelectable) | |
TGLPlotPainter's ctor. More... | |
TGLPlotPainter (TGL5DDataSet *data, TGLPlotCamera *camera, TGLPlotCoordinates *coord) | |
TGLPlotPainter's ctor. More... | |
TGLPlotPainter (TGLPlotCamera *camera) | |
TGLPlotPainter's ctor. More... | |
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. More... | |
virtual void | Paint () |
Draw lego/surf/whatever you can. More... | |
virtual Bool_t | PlotSelected (Int_t px, Int_t py) |
Read color buffer content to find selected object. More... | |
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. More... | |
void | SetPadColor (const TColor *color) |
Used in a pad. More... | |
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. More... | |
void | DrawSections () const |
Draw sections (if any). More... | |
virtual void | DrawSectionXOY () const =0 |
virtual void | DrawSectionXOZ () const =0 |
virtual void | DrawSectionYOZ () const =0 |
const TColor * | GetPadColor () const |
Get pad color. More... | |
void | MoveSection (Int_t px, Int_t py) |
Create dynamic profile using selected plane. More... | |
void | PrintPlot () const |
Generate PS using gl2ps. More... | |
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 272 of file TGLPlotPainter.h.
|
protected |
Enumerator | |
---|---|
kHighColorSelectionBase | |
kTrueColorSelectionBase |
Definition at line 223 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 52 of file TGLPlotPainter.cxx.
TGLPlotPainter::TGLPlotPainter | ( | TGL5DDataSet * | data, |
TGLPlotCamera * | camera, | ||
TGLPlotCoordinates * | coord | ||
) |
TGLPlotPainter's ctor.
Definition at line 86 of file TGLPlotPainter.cxx.
TGLPlotPainter::TGLPlotPainter | ( | TGLPlotCamera * | camera | ) |
TGLPlotPainter's ctor.
Definition at line 119 of file TGLPlotPainter.cxx.
|
protectedvirtual |
Definition at line 569 of file TGLPlotPainter.cxx.
|
inline |
Definition at line 278 of file TGLPlotPainter.h.
|
pure virtual |
|
protectedvirtual |
Draw. Palette. Axis.
Reimplemented in TGLSurfacePainter, TGLLegoPainter, TGLBoxPainter, TGLH2PolyPainter, and TGLVoxelPainter.
Definition at line 584 of file TGLPlotPainter.cxx.
|
pure virtual |
|
protected |
Draw sections (if any).
Definition at line 445 of file TGLPlotPainter.cxx.
|
protectedpure virtual |
|
protectedpure virtual |
|
protectedpure virtual |
|
inline |
Definition at line 283 of file TGLPlotPainter.h.
|
protected |
Get pad color.
Definition at line 365 of file TGLPlotPainter.cxx.
|
pure virtual |
|
pure virtual |
void TGLPlotPainter::InvalidateSelection | ( | ) |
Selection must be updated.
Definition at line 357 of file TGLPlotPainter.cxx.
Create dynamic profile using selected plane.
Definition at line 373 of file TGLPlotPainter.cxx.
|
virtual |
Draw lego/surf/whatever you can.
Implements TVirtualGLPainter.
Definition at line 152 of file TGLPlotPainter.cxx.
Read color buffer content to find selected object.
Implements TVirtualGLPainter.
Definition at line 276 of file TGLPlotPainter.cxx.
|
protected |
Generate PS using gl2ps.
Definition at line 234 of file TGLPlotPainter.cxx.
|
inline |
Definition at line 241 of file TGLPlotPainter.h.
|
protected |
Definition at line 606 of file TGLPlotPainter.cxx.
|
protected |
Definition at line 614 of file TGLPlotPainter.cxx.
|
protected |
Definition at line 590 of file TGLPlotPainter.cxx.
|
protected |
Definition at line 598 of file TGLPlotPainter.cxx.
Definition at line 282 of file TGLPlotPainter.h.
Definition at line 281 of file TGLPlotPainter.h.
Definition at line 280 of file TGLPlotPainter.h.
Set plot's back box color.
Definition at line 349 of file TGLPlotPainter.cxx.
Used in a pad.
Definition at line 341 of file TGLPlotPainter.cxx.
Definition at line 242 of file TGLPlotPainter.h.
|
friend |
Definition at line 192 of file TGLPlotPainter.h.
|
protected |
Definition at line 217 of file TGLPlotPainter.h.
|
protected |
Definition at line 218 of file TGLPlotPainter.h.
|
protected |
Definition at line 207 of file TGLPlotPainter.h.
|
protected |
Definition at line 206 of file TGLPlotPainter.h.
|
protected |
Definition at line 230 of file TGLPlotPainter.h.
|
mutableprotected |
Definition at line 229 of file TGLPlotPainter.h.
|
protected |
Definition at line 221 of file TGLPlotPainter.h.
|
protected |
Definition at line 201 of file TGLPlotPainter.h.
|
protected |
Definition at line 213 of file TGLPlotPainter.h.
|
private |
Definition at line 194 of file TGLPlotPainter.h.
|
protected |
Definition at line 199 of file TGLPlotPainter.h.
|
protected |
Definition at line 200 of file TGLPlotPainter.h.
|
protected |
Definition at line 197 of file TGLPlotPainter.h.
|
protected |
Definition at line 212 of file TGLPlotPainter.h.
|
protected |
Definition at line 208 of file TGLPlotPainter.h.
|
protected |
Definition at line 228 of file TGLPlotPainter.h.
|
protected |
Definition at line 211 of file TGLPlotPainter.h.
|
protected |
Definition at line 210 of file TGLPlotPainter.h.
|
protected |
Definition at line 202 of file TGLPlotPainter.h.
|
mutableprotected |
Definition at line 216 of file TGLPlotPainter.h.
|
mutableprotected |
Definition at line 214 of file TGLPlotPainter.h.
|
protected |
Definition at line 203 of file TGLPlotPainter.h.
|
mutableprotected |
Definition at line 215 of file TGLPlotPainter.h.
|
protected |
Definition at line 204 of file TGLPlotPainter.h.
|
protected |
Definition at line 220 of file TGLPlotPainter.h.