Definition at line 88 of file TGLParametric.h.
Classes | |
struct | Vertex_t |
Public Member Functions | |
TGLParametricPlot (TGLParametricEquation *equation, TGLPlotCamera *camera) | |
Constructor. | |
void | AddOption (const TString &option) override |
No additional options for parametric surfaces. | |
char * | GetPlotInfo (Int_t px, Int_t py) override |
No object info yet. | |
Bool_t | InitGeometry () override |
Build mesh. | |
TClass * | IsA () const override |
void | Pan (Int_t px, Int_t py) override |
User's moving mouse cursor, with middle mouse button pressed (for pad). | |
void | ProcessEvent (Int_t event, Int_t px, Int_t py) override |
Change color/mesh size or switch on/off mesh/box cut. | |
void | StartPan (Int_t px, Int_t py) override |
User clicks right mouse button (in a pad). | |
void | Streamer (TBuffer &) override |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Public Member Functions inherited from TGLPlotPainter | |
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. | |
Bool_t | CutAxisSelected () const |
Bool_t | GetDrawAxes () |
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. | |
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) |
void | Streamer (TBuffer &) override |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Public Member Functions inherited from TVirtualGLPainter | |
virtual | ~TVirtualGLPainter () |
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 TGLPlotPainter | |
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 () |
Private Types | |
enum | EMeshSize { kLow = 30 , kHigh = 150 } |
Private Member Functions | |
TGLParametricPlot (const TGLParametricPlot &) | |
void | DeInitGL () const override |
Initialize gl state. | |
void | DrawPlot () const override |
Draw parametric surface. | |
void | DrawSectionXOY () const override |
No such sections. | |
void | DrawSectionXOZ () const override |
No such sections. | |
void | DrawSectionYOZ () const override |
No such sections. | |
void | InitColors () |
Calculate colors for vertices, using one of 20 color themes. | |
void | InitGL () const override |
Initialize gl state. | |
TGLParametricPlot & | operator= (const TGLParametricPlot &) |
void | SetSurfaceColor () const |
Set material properties. | |
#include <TGLParametric.h>
|
private |
Enumerator | |
---|---|
kLow | |
kHigh |
Definition at line 96 of file TGLParametric.h.
TGLParametricPlot::TGLParametricPlot | ( | TGLParametricEquation * | equation, |
TGLPlotCamera * | camera | ||
) |
Constructor.
Definition at line 297 of file TGLParametric.cxx.
|
private |
|
overridevirtual |
No additional options for parametric surfaces.
Implements TGLPlotPainter.
Definition at line 463 of file TGLParametric.cxx.
|
static |
|
inlinestaticconstexpr |
Definition at line 139 of file TGLParametric.h.
|
inlinestatic |
Definition at line 139 of file TGLParametric.h.
|
overrideprivatevirtual |
|
overrideprivatevirtual |
Draw parametric surface.
Implements TGLPlotPainter.
Definition at line 527 of file TGLParametric.cxx.
|
overrideprivatevirtual |
|
overrideprivatevirtual |
|
overrideprivatevirtual |
|
private |
Calculate colors for vertices, using one of 20 color themes.
-1 simple 'metal' surface.
Definition at line 640 of file TGLParametric.cxx.
|
overridevirtual |
Build mesh.
The surface is 'immutable': the only reason to rebuild it - the change in size or if one of equations contain reference to TF2 function, whose parameters were changed.
Implements TGLPlotPainter.
Definition at line 321 of file TGLParametric.cxx.
|
overrideprivatevirtual |
|
inlineoverridevirtual |
Reimplemented from TVirtualGLPainter.
Definition at line 139 of file TGLParametric.h.
|
private |
User's moving mouse cursor, with middle mouse button pressed (for pad).
Calculate 3d shift related to 2d mouse movement.
Implements TVirtualGLPainter.
Definition at line 430 of file TGLParametric.cxx.
Change color/mesh size or switch on/off mesh/box cut.
Left double click - remove box cut.
Implements TGLPlotPainter.
Definition at line 471 of file TGLParametric.cxx.
|
private |
Set material properties.
Definition at line 681 of file TGLParametric.cxx.
User clicks right mouse button (in a pad).
Implements TGLPlotPainter.
Definition at line 418 of file TGLParametric.cxx.
|
overridevirtual |
Reimplemented from TVirtualGLPainter.
|
inline |
Definition at line 139 of file TGLParametric.h.
|
private |
Definition at line 110 of file TGLParametric.h.
|
private |
Definition at line 106 of file TGLParametric.h.
|
private |
Definition at line 107 of file TGLParametric.h.
|
private |
Definition at line 108 of file TGLParametric.h.
|
private |
Definition at line 102 of file TGLParametric.h.
|
private |
Definition at line 104 of file TGLParametric.h.
|
private |
Definition at line 99 of file TGLParametric.h.
|
private |
Definition at line 98 of file TGLParametric.h.
|
private |
Definition at line 101 of file TGLParametric.h.