Logo ROOT  
Reference Guide
TGLTH3CompositionPainter Class Reference

Definition at line 63 of file TGLTH3Composition.h.

Public Member Functions

 TGLTH3CompositionPainter (TGLTH3Composition *data, TGLPlotCamera *camera, TGLPlotCoordinates *coord)
 Ctor. More...
 
void AddOption (const TString &option)
 No options for composition. More...
 
char * GetPlotInfo (Int_t px, Int_t py)
 Will be never called from TPad. More...
 
Bool_t InitGeometry ()
  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)
 Switch on/off box cut. More...
 
void StartPan (Int_t px, Int_t py)
 Move plot or box cut. 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...
 
Bool_t CutAxisSelected () const
  More...
 
Bool_t GetDrawAxes ()
  More...
 
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...
 
const TGLPlotBoxRefBackBox () const
  More...
 
void SetDrawAxes (Bool_t s)
  More...
 
void SetDrawBackBox (Bool_t b)
  More...
 
void SetDrawFrontBox (Bool_t b)
  More...
 
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)
  More...
 
- Public Member Functions inherited from TVirtualGLPainter
virtual ~TVirtualGLPainter ()
  More...
 

Private Member Functions

 TGLTH3CompositionPainter (const TGLTH3CompositionPainter &rhs)
  More...
 
void DeInitGL () const
 Return back some gl state variables. More...
 
void DrawPlot () const
 Draw composition of TH3s. More...
 
void DrawSectionXOY () const
  More...
 
void DrawSectionXOZ () const
  More...
 
void DrawSectionYOZ () const
  More...
 
void InitGL () const
 Initialize some gl state variables. More...
 
TGLTH3CompositionPainteroperator= (const TGLTH3CompositionPainter &rhs)
  More...
 
void SetColor (Int_t color) const
 Set material. More...
 

Private Attributes

TGLTH3CompositionfData
  More...
 
std::pair< Double_t, Double_tfMinMaxVal
  More...
 
TGLQuadric fQuadric
  More...
 

Additional Inherited Members

- Public Types inherited from TGLPlotPainter
enum  ECutAxisID { kXAxis = 7 , kYAxis = 8 , kZAxis = 9 }
 
- Protected Types inherited from TGLPlotPainter
enum  ESelectionBase { kHighColorSelectionBase = 7 , kTrueColorSelectionBase = 10 }
 
- Protected Member Functions inherited from TGLPlotPainter
virtual void ClearBuffers () const
  More...
 
virtual void DrawPaletteAxis () const
 Draw. Palette. Axis. More...
 
void DrawSections () const
 Draw sections (if any). More...
 
const TColorGetPadColor () const
 Get pad color. More...
 
void MoveSection (Int_t px, Int_t py)
 Create dynamic profile using selected plane. More...
 
void PrintPlot () const
 Generate PS using gl2ps. More...
 
void RestoreModelviewMatrix () const
  More...
 
void RestoreProjectionMatrix () const
  More...
 
void SaveModelviewMatrix () const
  More...
 
void SaveProjectionMatrix () const
  More...
 
- Protected Attributes inherited from TGLPlotPainter
TGLPlotBox fBackBox
  More...
 
TGLBoxCut fBoxCut
  More...
 
TGLPlotCamerafCamera
  More...
 
TGLPlotCoordinatesfCoord
  More...
 
Bool_t fDrawAxes
  More...
 
Bool_t fDrawPalette
  More...
 
Bool_t fHighColor
  More...
 
TH1fHist
  More...
 
TPoint fMousePosition
  More...
 
Double_t fPadPhi
  More...
 
Double_t fPadTheta
  More...
 
const Float_tfPhysicalShapeColor
  More...
 
Int_t fSelectedPart
  More...
 
TGLSelectionBuffer fSelection
  More...
 
Int_t fSelectionBase
  More...
 
Bool_t fSelectionPass
  More...
 
Bool_t fUpdateSelection
  More...
 
TAxisfXAxis
  More...
 
Double_t fXOYSectionPos
  More...
 
Double_t fXOZSectionPos
  More...
 
TAxisfYAxis
  More...
 
Double_t fYOZSectionPos
  More...
 
TAxisfZAxis
  More...
 
std::vector< Double_tfZLevels
  More...
 

#include <TGLTH3Composition.h>

Inheritance diagram for TGLTH3CompositionPainter:
[legend]

Constructor & Destructor Documentation

◆ TGLTH3CompositionPainter() [1/2]

TGLTH3CompositionPainter::TGLTH3CompositionPainter ( TGLTH3Composition data,
TGLPlotCamera camera,
TGLPlotCoordinates coord 
)

Ctor.

Definition at line 115 of file TGLTH3Composition.cxx.

◆ TGLTH3CompositionPainter() [2/2]

TGLTH3CompositionPainter::TGLTH3CompositionPainter ( const TGLTH3CompositionPainter rhs)
private

Member Function Documentation

◆ AddOption()

void TGLTH3CompositionPainter::AddOption ( const TString option)
virtual

No options for composition.

Implements TGLPlotPainter.

Definition at line 231 of file TGLTH3Composition.cxx.

◆ DeInitGL()

void TGLTH3CompositionPainter::DeInitGL ( ) const
privatevirtual

Return back some gl state variables.

Implements TGLPlotPainter.

Definition at line 273 of file TGLTH3Composition.cxx.

◆ DrawPlot()

void TGLTH3CompositionPainter::DrawPlot ( ) const
privatevirtual

Draw composition of TH3s.

Implements TGLPlotPainter.

Definition at line 285 of file TGLTH3Composition.cxx.

◆ DrawSectionXOY()

void TGLTH3CompositionPainter::DrawSectionXOY ( ) const
inlineprivatevirtual

Implements TGLPlotPainter.

Definition at line 86 of file TGLTH3Composition.h.

◆ DrawSectionXOZ()

void TGLTH3CompositionPainter::DrawSectionXOZ ( ) const
inlineprivatevirtual

Implements TGLPlotPainter.

Definition at line 84 of file TGLTH3Composition.h.

◆ DrawSectionYOZ()

void TGLTH3CompositionPainter::DrawSectionYOZ ( ) const
inlineprivatevirtual

Implements TGLPlotPainter.

Definition at line 85 of file TGLTH3Composition.h.

◆ GetPlotInfo()

char * TGLTH3CompositionPainter::GetPlotInfo ( Int_t  px,
Int_t  py 
)
virtual

Will be never called from TPad.

Implements TVirtualGLPainter.

Definition at line 125 of file TGLTH3Composition.cxx.

◆ InitGeometry()

Bool_t TGLTH3CompositionPainter::InitGeometry ( )
virtual

Implements TGLPlotPainter.

Definition at line 133 of file TGLTH3Composition.cxx.

◆ InitGL()

void TGLTH3CompositionPainter::InitGL ( ) const
privatevirtual

Initialize some gl state variables.

Implements TGLPlotPainter.

Definition at line 259 of file TGLTH3Composition.cxx.

◆ operator=()

TGLTH3CompositionPainter& TGLTH3CompositionPainter::operator= ( const TGLTH3CompositionPainter rhs)
private

◆ Pan()

void TGLTH3CompositionPainter::Pan ( Int_t  px,
Int_t  py 
)
virtual

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 193 of file TGLTH3Composition.cxx.

◆ ProcessEvent()

void TGLTH3CompositionPainter::ProcessEvent ( Int_t  event,
Int_t  px,
Int_t  py 
)
virtual

Switch on/off box cut.

Implements TGLPlotPainter.

Definition at line 238 of file TGLTH3Composition.cxx.

◆ SetColor()

void TGLTH3CompositionPainter::SetColor ( Int_t  color) const
private

Set material.

Definition at line 403 of file TGLTH3Composition.cxx.

◆ StartPan()

void TGLTH3CompositionPainter::StartPan ( Int_t  px,
Int_t  py 
)
virtual

Move plot or box cut.

Implements TGLPlotPainter.

Definition at line 181 of file TGLTH3Composition.cxx.

Member Data Documentation

◆ fData

TGLTH3Composition* TGLTH3CompositionPainter::fData
private

Definition at line 90 of file TGLTH3Composition.h.

◆ fMinMaxVal

std::pair<Double_t, Double_t> TGLTH3CompositionPainter::fMinMaxVal
private

Definition at line 91 of file TGLTH3Composition.h.

◆ fQuadric

TGLQuadric TGLTH3CompositionPainter::fQuadric
mutableprivate

Definition at line 93 of file TGLTH3Composition.h.

Libraries for TGLTH3CompositionPainter:
[legend]

The documentation for this class was generated from the following files: