Paint TH3 histograms as "voxels" - colored boxes, transparent if transfer function was specified.
Definition at line 16 of file TGLVoxelPainter.h.
Public Member Functions | |
| TGLVoxelPainter (TH1 *hist, TGLPlotCamera *camera, TGLPlotCoordinates *coord) | |
| Constructor.  More... | |
| void | AddOption (const TString &stringOption) | 
| "z" draw palette or not.  More... | |
| char * | GetPlotInfo (Int_t px, Int_t py) | 
| Show box info (i, j, k, binContent).  More... | |
| Bool_t | InitGeometry () | 
| Set ranges, find min and max bin content.  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) | 
| Remove sections, switch on/off 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 Member Functions | |
| TGLVoxelPainter (const TGLVoxelPainter &) | |
| void | DeInitGL () const | 
| Return back some gl state variables.  More... | |
| void | DrawPalette () const | 
| Draw. Palette.  More... | |
| void | DrawPaletteAxis () const | 
| Draw. Palette. Axis.  More... | |
| void | DrawPlot () const | 
| Draw "voxels".  More... | |
| void | DrawSectionXOY () const | 
| Noop.  More... | |
| void | DrawSectionXOZ () const | 
| Noop.  More... | |
| void | DrawSectionYOZ () const | 
| Noop.  More... | |
| void | FindVoxelColor (Double_t binContent, Float_t *rgba) const | 
| Find box color.  More... | |
| Bool_t | HasSections () const | 
| void | InitGL () const | 
| Initialize some gl state variables.  More... | |
| TGLVoxelPainter & | operator= (const TGLVoxelPainter &) | 
| void | PreparePalette () const | 
| Generate palette.  More... | |
| void | SetVoxelColor (const Float_t *rgba) const | 
| Set box color.  More... | |
Private Attributes | |
| std::vector< Double_t > | fLevels | 
| Rgl::Range_t | fMinMaxVal | 
| TGLLevelPalette | fPalette | 
| TString | fPlotInfo | 
| TF1 * | fTransferFunc | 
#include <TGLVoxelPainter.h>
      
  | 
  private | 
| TGLVoxelPainter::TGLVoxelPainter | ( | TH1 * | hist, | 
| TGLPlotCamera * | cam, | ||
| TGLPlotCoordinates * | coord | ||
| ) | 
"z" draw palette or not.
Implements TGLPlotPainter.
Definition at line 170 of file TGLVoxelPainter.cxx.
      
  | 
  privatevirtual | 
Return back some gl state variables.
Implements TGLPlotPainter.
Definition at line 216 of file TGLVoxelPainter.cxx.
      
  | 
  private | 
Draw. Palette.
Definition at line 347 of file TGLVoxelPainter.cxx.
      
  | 
  privatevirtual | 
Draw. Palette. Axis.
Reimplemented from TGLPlotPainter.
Definition at line 366 of file TGLVoxelPainter.cxx.
      
  | 
  privatevirtual | 
      
  | 
  privatevirtual | 
      
  | 
  privatevirtual | 
      
  | 
  privatevirtual | 
Find box color.
Definition at line 418 of file TGLVoxelPainter.cxx.
Show box info (i, j, k, binContent).
Implements TVirtualGLPainter.
Definition at line 40 of file TGLVoxelPainter.cxx.
      
  | 
  private | 
      
  | 
  virtual | 
Set ranges, find min and max bin content.
Implements TGLPlotPainter.
Definition at line 69 of file TGLVoxelPainter.cxx.
      
  | 
  privatevirtual | 
Initialize some gl state variables.
Implements TGLPlotPainter.
Definition at line 201 of file TGLVoxelPainter.cxx.
      
  | 
  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 124 of file TGLVoxelPainter.cxx.
      
  | 
  private | 
Generate palette.
Definition at line 377 of file TGLVoxelPainter.cxx.
Remove sections, switch on/off box cut.
Implements TGLPlotPainter.
Definition at line 179 of file TGLVoxelPainter.cxx.
Set box color.
Definition at line 437 of file TGLVoxelPainter.cxx.
User clicks right mouse button (in a pad).
Implements TGLPlotPainter.
Definition at line 111 of file TGLVoxelPainter.cxx.
      
  | 
  mutableprivate | 
Definition at line 26 of file TGLVoxelPainter.h.
      
  | 
  private | 
Definition at line 20 of file TGLVoxelPainter.h.
      
  | 
  mutableprivate | 
Definition at line 25 of file TGLVoxelPainter.h.
      
  | 
  private | 
Definition at line 19 of file TGLVoxelPainter.h.
      
  | 
  private | 
Definition at line 60 of file TGLVoxelPainter.h.