ROOT
6.07/01
Reference Guide
|
Definition at line 96 of file TGLParametric.h.
Classes | |
struct | Vertex_t |
Public Member Functions | |
TGLParametricPlot (TGLParametricEquation *equation, TGLPlotCamera *camera) | |
Bool_t | InitGeometry () |
Build mesh. More... | |
void | StartPan (Int_t px, Int_t py) |
User clicks right mouse button (in a pad). More... | |
void | Pan (Int_t px, Int_t py) |
User's moving mouse cursor, with middle mouse button pressed (for pad). More... | |
char * | GetPlotInfo (Int_t px, Int_t py) |
No object info yet. More... | |
void | AddOption (const TString &option) |
No additional options for parametric surfaces. More... | |
void | ProcessEvent (Int_t event, Int_t px, Int_t py) |
Change color/mesh size or switch on/off mesh/box cut. More... | |
Public Member Functions inherited from TGLPlotPainter | |
TGLPlotPainter (TH1 *hist, TGLPlotCamera *camera, TGLPlotCoordinates *coord, Bool_t xoySelectable, Bool_t xozSelectable, Bool_t yozSelectable) | |
TGLPlotPainter (TGL5DDataSet *data, TGLPlotCamera *camera, TGLPlotCoordinates *coord) | |
TGLPlotPainter's ctor. More... | |
TGLPlotPainter (TGLPlotCamera *camera) | |
TGLPlotPainter's ctor. More... | |
const TGLPlotBox & | RefBackBox () const |
void | SetPhysicalShapeColor (const Float_t *rgba) |
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... | |
void | SetPadColor (const TColor *color) |
Used in a pad. More... | |
virtual void | SetFrameColor (const TColor *frameColor) |
Set plot's back box color. More... | |
void | InvalidateSelection () |
Selection must be updated. More... | |
Bool_t | CutAxisSelected () const |
void | SetDrawFrontBox (Bool_t b) |
void | SetDrawBackBox (Bool_t b) |
void | SetDrawAxes (Bool_t s) |
Bool_t | GetDrawAxes () |
Public Member Functions inherited from TVirtualGLPainter | |
virtual | ~TVirtualGLPainter () |
ClassDef (TVirtualGLPainter, 0) | |
Private Types | |
enum | EMeshSize { kLow = 30, kHigh = 150 } |
Private Member Functions | |
void | InitGL () const |
Initialize gl state. More... | |
void | DeInitGL () const |
Initialize gl state. More... | |
void | DrawPlot () const |
Draw parametric surface. More... | |
void | InitColors () |
Calculate colors for vertices, using one of 20 color themes. More... | |
void | DrawSectionXOZ () const |
No such sections. More... | |
void | DrawSectionYOZ () const |
No such sections. More... | |
void | DrawSectionXOY () const |
No such sections. More... | |
void | SetSurfaceColor () const |
Set material properties. More... | |
TGLParametricPlot (const TGLParametricPlot &) | |
TGLParametricPlot & | operator= (const TGLParametricPlot &) |
#include <TGLParametric.h>
|
private |
Enumerator | |
---|---|
kLow | |
kHigh |
Definition at line 104 of file TGLParametric.h.
TGLParametricPlot::TGLParametricPlot | ( | TGLParametricEquation * | equation, |
TGLPlotCamera * | camera | ||
) |
|
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.
Referenced by ProcessEvent().
|
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.
Referenced by ProcessEvent().
|
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.
Referenced by DrawPlot().
User clicks right mouse button (in a pad).
Implements TGLPlotPainter.
Definition at line 419 of file TGLParametric.cxx.
|
private |
Definition at line 118 of file TGLParametric.h.
|
private |
Definition at line 114 of file TGLParametric.h.
Referenced by InitGeometry().
|
private |
Definition at line 115 of file TGLParametric.h.
Referenced by InitGeometry().
|
private |
Definition at line 116 of file TGLParametric.h.
Referenced by InitGeometry().
|
private |
Definition at line 110 of file TGLParametric.h.
Referenced by DrawPlot(), InitColors(), ProcessEvent(), and SetSurfaceColor().
|
private |
Definition at line 112 of file TGLParametric.h.
Referenced by InitColors(), and InitGeometry().
|
private |
Definition at line 107 of file TGLParametric.h.
Referenced by DrawPlot(), InitColors(), and InitGeometry().
|
private |
Definition at line 106 of file TGLParametric.h.
Referenced by DrawPlot(), InitColors(), InitGeometry(), and ProcessEvent().
|
private |
Definition at line 109 of file TGLParametric.h.
Referenced by DrawPlot(), and ProcessEvent().