Logo ROOT   6.14/05
Reference Guide
List of all members | Public Member Functions | Private Member Functions | Private Attributes | List of all members
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 ()
 
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 (TH1 *hist, TGLPlotCamera *camera, TGLPlotCoordinates *coord, Bool_t xoySelectable, Bool_t xozSelectable, Bool_t yozSelectable)
 TGLPlotPainter's ctor. More...
 
 TGLPlotPainter (TGL5DDataSet *data, TGLPlotCamera *camera, TGLPlotCoordinates *coord)
 TGLPlotPainter's ctor. More...
 
 TGLPlotPainter (TGLPlotCamera *camera)
 TGLPlotPainter's ctor. More...
 
Bool_t CutAxisSelected () const
 
Bool_t GetDrawAxes ()
 
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
 
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)
 
- Public Member Functions inherited from TVirtualGLPainter
virtual ~TVirtualGLPainter ()
 

Private Member Functions

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

Private Attributes

TGLTH3CompositionfData
 
std::pair< Double_t, Double_tfMinMaxVal
 
TGLQuadric fQuadric
 

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
 
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
 
void RestoreProjectionMatrix () const
 
void SaveModelviewMatrix () const
 
void SaveProjectionMatrix () const
 
- Protected Attributes inherited from TGLPlotPainter
TGLPlotBox fBackBox
 
TGLBoxCut fBoxCut
 
TGLPlotCamerafCamera
 
TGLPlotCoordinatesfCoord
 
Bool_t fDrawAxes
 
Bool_t fDrawPalette
 
Bool_t fHighColor
 
TH1fHist
 
TPoint fMousePosition
 
Double_t fPadPhi
 
Double_t fPadTheta
 
const Float_tfPhysicalShapeColor
 
Int_t fSelectedPart
 
TGLSelectionBuffer fSelection
 
Int_t fSelectionBase
 
Bool_t fSelectionPass
 
Bool_t fUpdateSelection
 
TAxisfXAxis
 
Double_t fXOYSectionPos
 
Double_t fXOZSectionPos
 
TAxisfYAxis
 
Double_t fYOZSectionPos
 
TAxisfZAxis
 
std::vector< Double_tfZLevels
 

#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: