ROOT 6.16/01 Reference Guide |
Definition at line 88 of file TGLParametric.h.
Classes | |
struct | Vertex_t |
Public Member Functions | |
TGLParametricPlot (TGLParametricEquation *equation, TGLPlotCamera *camera) | |
Constructor. More... | |
void | AddOption (const TString &option) |
No additional options for parametric surfaces. More... | |
char * | GetPlotInfo (Int_t px, Int_t py) |
No object info yet. More... | |
Bool_t | InitGeometry () |
Build mesh. More... | |
void | Pan (Int_t px, Int_t py) |
User's moving mouse cursor, with middle mouse button pressed (for pad). More... | |
void | ProcessEvent (Int_t event, Int_t px, Int_t py) |
Change color/mesh size or switch on/off mesh/box cut. More... | |
void | StartPan (Int_t px, Int_t py) |
User clicks right mouse button (in a pad). More... | |
Public Member Functions inherited from TGLPlotPainter | |
TGLPlotPainter (TGL5DDataSet *data, TGLPlotCamera *camera, TGLPlotCoordinates *coord) | |
TGLPlotPainter's ctor. More... | |
TGLPlotPainter (TGLPlotCamera *camera) | |
TGLPlotPainter's ctor. More... | |
TGLPlotPainter (TH1 *hist, TGLPlotCamera *camera, TGLPlotCoordinates *coord, Bool_t xoySelectable, Bool_t xozSelectable, Bool_t yozSelectable) | |
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 | Paint ()=0 |
virtual void | Pan (Int_t px, Int_t py)=0 |
virtual Bool_t | PlotSelected (Int_t px, Int_t py)=0 |
Private Types | |
enum | EMeshSize { kLow = 30 , kHigh = 150 } |
Private Member Functions | |
TGLParametricPlot (const TGLParametricPlot &) | |
void | DeInitGL () const |
Initialize gl state. More... | |
void | DrawPlot () const |
Draw parametric surface. More... | |
void | DrawSectionXOY () const |
No such sections. More... | |
void | DrawSectionXOZ () const |
No such sections. More... | |
void | DrawSectionYOZ () const |
No such sections. More... | |
void | InitColors () |
Calculate colors for vertices, using one of 20 color themes. More... | |
void | InitGL () const |
Initialize gl state. More... | |
TGLParametricPlot & | operator= (const TGLParametricPlot &) |
void | SetSurfaceColor () const |
Set material properties. More... | |
#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 298 of file TGLParametric.cxx.
|
private |
No additional options for parametric surfaces.
Implements TGLPlotPainter.
Definition at line 464 of file TGLParametric.cxx.
|
privatevirtual |
|
privatevirtual |
Draw parametric surface.
Implements TGLPlotPainter.
Definition at line 528 of file TGLParametric.cxx.
|
privatevirtual |
|
privatevirtual |
|
privatevirtual |
|
private |
Calculate colors for vertices, using one of 20 color themes.
-1 simple 'metal' surface.
Definition at line 641 of file TGLParametric.cxx.
|
virtual |
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 322 of file TGLParametric.cxx.
|
privatevirtual |
|
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 431 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 472 of file TGLParametric.cxx.
|
private |
Set material properties.
Definition at line 682 of file TGLParametric.cxx.
User clicks right mouse button (in a pad).
Implements TGLPlotPainter.
Definition at line 419 of file TGLParametric.cxx.
|
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.