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. | |
TClass * | IsA () const override |
void | Paint () override |
Draw lego/surf/whatever you can. | |
Bool_t | PlotSelected (Int_t px, Int_t py) override |
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 |
void | Streamer (TBuffer &) override |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
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 |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Static Public Member Functions | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Static Public Member Functions inherited from TVirtualGLPainter | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
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.
|
pure virtual |
|
static |
|
inlinestaticconstexpr |
Definition at line 300 of file TGLPlotPainter.h.
|
protectedvirtual |
Definition at line 565 of file TGLPlotPainter.cxx.
|
inline |
Definition at line 268 of file TGLPlotPainter.h.
|
inlinestatic |
Definition at line 300 of file TGLPlotPainter.h.
|
pure virtual |
|
protectedvirtual |
Draw. Palette. Axis.
Reimplemented in TGLBoxPainter, TGLH2PolyPainter, TGLLegoPainter, TGLSurfacePainter, and TGLVoxelPainter.
Definition at line 580 of file TGLPlotPainter.cxx.
|
pure virtual |
|
protected |
Draw sections (if any).
Definition at line 441 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 361 of file TGLPlotPainter.cxx.
|
pure virtual |
|
pure virtual |
void TGLPlotPainter::InvalidateSelection | ( | ) |
Selection must be updated.
Definition at line 353 of file TGLPlotPainter.cxx.
|
inlineoverridevirtual |
Reimplemented from TVirtualGLPainter.
Reimplemented in TGLSurfacePainter, TGLTF3Painter, TGLTH3CompositionPainter, and TGLVoxelPainter.
Definition at line 300 of file TGLPlotPainter.h.
Create dynamic profile using selected plane.
Definition at line 369 of file TGLPlotPainter.cxx.
|
overridevirtual |
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 272 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 602 of file TGLPlotPainter.cxx.
|
protected |
Definition at line 610 of file TGLPlotPainter.cxx.
|
protected |
Definition at line 586 of file TGLPlotPainter.cxx.
|
protected |
Definition at line 594 of file TGLPlotPainter.cxx.
|
inline |
Definition at line 272 of file TGLPlotPainter.h.
|
inline |
Definition at line 271 of file TGLPlotPainter.h.
|
inline |
Definition at line 270 of file TGLPlotPainter.h.
|
virtual |
Set plot's back box color.
Definition at line 345 of file TGLPlotPainter.cxx.
void TGLPlotPainter::SetPadColor | ( | const TColor * | color | ) |
Used in a pad.
Definition at line 337 of file TGLPlotPainter.cxx.
|
inline |
Definition at line 232 of file TGLPlotPainter.h.
|
overridevirtual |
Reimplemented from TVirtualGLPainter.
Reimplemented in TGLSurfacePainter, TGLTF3Painter, TGLTH3CompositionPainter, and TGLVoxelPainter.
|
inline |
Definition at line 300 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.