Plot-painter for TF3 functions.
Definition at line 29 of file TGLTF3Painter.h.
Static Public Member Functions | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
![]() | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
![]() | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Private Types | |
enum | ETF3Style { kDefault , kMaple0 , kMaple1 , kMaple2 } |
Private Member Functions | |
void | DeInitGL () const override |
Initialize OpenGL state variables. | |
void | DrawDefaultPlot () const |
Surface with material properties and lighting. | |
void | DrawMaplePlot () const |
Colored surface, without lighting and material properties. | |
void | DrawPlot () const override |
Draw mesh. | |
void | DrawSectionXOY () const override |
Draw XOY parallel section. | |
void | DrawSectionXOZ () const override |
Draw XOZ parallel section. | |
void | DrawSectionYOZ () const override |
Draw YOZ parallel section. | |
void | DrawToSelectionBuffer () const |
Draw triangles, no normals, no lighting. | |
Bool_t | HasSections () const |
Any section exists. | |
void | InitGL () const override |
Initialize OpenGL state variables. | |
void | SetSurfaceColor () const |
Set color for surface. | |
Private Attributes | |
TF3 * | fF3 |
Rgl::Mc::TIsoMesh< Double_t > | fMesh |
ETF3Style | fStyle |
TGLTH3Slice | fXOYSlice |
TGLTH3Slice | fXOZSlice |
TGLTH3Slice | fYOZSlice |
#include <TGLTF3Painter.h>
|
private |
Enumerator | |
---|---|
kDefault | |
kMaple0 | |
kMaple1 | |
kMaple2 |
Definition at line 31 of file TGLTF3Painter.h.
TGLTF3Painter::TGLTF3Painter | ( | TF3 * | fun, |
TH1 * | hist, | ||
TGLPlotCamera * | camera, | ||
TGLPlotCoordinates * | coord ) |
Constructor.
Definition at line 38 of file TGLTF3Painter.cxx.
Definition at line 75 of file TGLTF3Painter.h.
Definition at line 75 of file TGLTF3Painter.h.
|
overrideprivatevirtual |
Initialize OpenGL state variables.
Implements TGLPlotPainter.
Definition at line 203 of file TGLTF3Painter.cxx.
|
private |
Surface with material properties and lighting.
Definition at line 228 of file TGLTF3Painter.cxx.
|
private |
Colored surface, without lighting and material properties.
Definition at line 254 of file TGLTF3Painter.cxx.
|
overrideprivatevirtual |
|
overrideprivatevirtual |
Draw XOY parallel section.
Implements TGLPlotPainter.
Definition at line 371 of file TGLTF3Painter.cxx.
|
overrideprivatevirtual |
Draw XOZ parallel section.
Implements TGLPlotPainter.
Definition at line 351 of file TGLTF3Painter.cxx.
|
overrideprivatevirtual |
Draw YOZ parallel section.
Implements TGLPlotPainter.
Definition at line 361 of file TGLTF3Painter.cxx.
|
private |
Draw triangles, no normals, no lighting.
Definition at line 215 of file TGLTF3Painter.cxx.
Coords for point on surface under cursor.
Implements TVirtualGLPainter.
Definition at line 51 of file TGLTF3Painter.cxx.
|
private |
Any section exists.
Definition at line 341 of file TGLTF3Painter.cxx.
|
overridevirtual |
|
overrideprivatevirtual |
Initialize OpenGL state variables.
Implements TGLPlotPainter.
Definition at line 191 of file TGLTF3Painter.cxx.
|
inlineoverridevirtual |
Reimplemented from TGLPlotPainter.
Definition at line 75 of file TGLTF3Painter.h.
User's moving mouse cursor, with middle mouse button pressed (for pad).
Calculate 3d shift related to 2d mouse movement. Slicing is disabled (since somebody has broken it).
Implements TVirtualGLPainter.
Definition at line 109 of file TGLTF3Painter.cxx.
|
private |
Set color for surface.
Definition at line 322 of file TGLTF3Painter.cxx.
User clicks right mouse button (in a pad).
Implements TGLPlotPainter.
Definition at line 96 of file TGLTF3Painter.cxx.
|
overridevirtual |
Reimplemented from TGLPlotPainter.
|
inline |
Definition at line 75 of file TGLTF3Painter.h.
|
private |
Definition at line 41 of file TGLTF3Painter.h.
|
private |
Definition at line 40 of file TGLTF3Painter.h.
|
private |
Definition at line 38 of file TGLTF3Painter.h.
|
private |
Definition at line 45 of file TGLTF3Painter.h.
|
private |
Definition at line 43 of file TGLTF3Painter.h.
|
private |
Definition at line 44 of file TGLTF3Painter.h.