TGLTH3CompositionPainter Class Reference

#include <TGLTH3Composition.h>

Inheritance diagram for TGLTH3CompositionPainter:

TGLPlotPainter TGLPlotPainter TVirtualGLPainter TVirtualGLPainter TVirtualGLPainter TVirtualGLPainter List of all members.

Public Member Functions

 TGLTH3CompositionPainter (TGLTH3Composition *data, TGLPlotCamera *camera, TGLPlotCoordinates *coord)
char * GetPlotInfo (Int_t px, Int_t py)
Bool_t InitGeometry ()
void StartPan (Int_t px, Int_t py)
void Pan (Int_t px, Int_t py)
void AddOption (const TString &option)
void ProcessEvent (Int_t event, Int_t px, Int_t py)
 TGLTH3CompositionPainter (TGLTH3Composition *data, TGLPlotCamera *camera, TGLPlotCoordinates *coord)
char * GetPlotInfo (Int_t px, Int_t py)
Bool_t InitGeometry ()
void StartPan (Int_t px, Int_t py)
void Pan (Int_t px, Int_t py)
void AddOption (const TString &option)
void ProcessEvent (Int_t event, Int_t px, Int_t py)

Private Member Functions

void InitGL () const
void DeInitGL () const
void DrawPlot () const
void DrawSectionXOZ () const
void DrawSectionYOZ () const
void DrawSectionXOY () const
void SetColor (Int_t color) const
 TGLTH3CompositionPainter (const TGLTH3CompositionPainter &rhs)
TGLTH3CompositionPainteroperator= (const TGLTH3CompositionPainter &rhs)
void InitGL () const
void DeInitGL () const
void DrawPlot () const
void DrawSectionXOZ () const
void DrawSectionYOZ () const
void DrawSectionXOY () const
void SetColor (Int_t color) const
 TGLTH3CompositionPainter (const TGLTH3CompositionPainter &rhs)
TGLTH3CompositionPainteroperator= (const TGLTH3CompositionPainter &rhs)

Private Attributes

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

Detailed Description

Definition at line 71 of file TGLTH3Composition.h.


Constructor & Destructor Documentation

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

TGLTH3CompositionPainter::TGLTH3CompositionPainter ( const TGLTH3CompositionPainter rhs  )  [private]

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

TGLTH3CompositionPainter::TGLTH3CompositionPainter ( const TGLTH3CompositionPainter rhs  )  [private]


Member Function Documentation

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

Implements TVirtualGLPainter.

Definition at line 116 of file TGLTH3Composition.cxx.

Bool_t TGLTH3CompositionPainter::InitGeometry (  )  [virtual]

Implements TGLPlotPainter.

Definition at line 124 of file TGLTH3Composition.cxx.

References TGLPlotPainter::fBackBox, TGLPlotPainter::fCamera, TGLPlotPainter::fCoord, fData, TGLPlotPainter::fHist, TGLTH3Composition::fHists, fMinMaxVal, for(), TGLPlotPainter::fUpdateSelection, TGLPlotBox::Get3DBox(), TGLPlotCoordinates::GetFirstXBin(), TGLPlotCoordinates::GetFirstYBin(), TGLPlotCoordinates::GetFirstZBin(), TGLPlotCoordinates::GetLastXBin(), TGLPlotCoordinates::GetLastYBin(), TGLPlotCoordinates::GetLastZBin(), TGLPlotCoordinates::GetXRangeScaled(), TGLPlotCoordinates::GetYRangeScaled(), TGLPlotCoordinates::GetZRangeScaled(), h, kFALSE, kTRUE, TMath::Max(), TMath::Min(), TGLPlotCoordinates::Modified(), TGLPlotCoordinates::ResetModified(), TGLPlotBox::SetPlotBox(), TGLPlotCoordinates::SetRanges(), TGLPlotCamera::SetViewVolume(), TGLPlotCoordinates::SetXLog(), TGLPlotCoordinates::SetYLog(), and TGLPlotCoordinates::SetZLog().

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

Implements TGLPlotPainter.

Definition at line 170 of file TGLTH3Composition.cxx.

References TGLPlotPainter::fBoxCut, TGLPlotPainter::fCamera, TGLPlotPainter::fMousePosition, TPoint::fX, TPoint::fY, TGLPlotCamera::GetHeight(), TGLBoxCut::StartMovement(), and TGLPlotCamera::StartPan().

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

Implements TVirtualGLPainter.

Definition at line 180 of file TGLTH3Composition.cxx.

References TGLPlotCamera::Apply(), TGLPlotPainter::fBoxCut, TGLPlotPainter::fCamera, TGLPlotPainter::fHighColor, TGLPlotPainter::fMousePosition, TGLPlotPainter::fPadPhi, TGLPlotPainter::fPadTheta, TGLPlotPainter::fSelectedPart, TGLPlotPainter::fSelectionBase, TGLPlotPainter::fUpdateSelection, TPoint::fX, TPoint::fY, TGLPlotCamera::GetHeight(), TGLBoxCut::IsActive(), kTRUE, TGLPlotPainter::kXAxis, TGLPlotPainter::kZAxis, TGLBoxCut::MoveBox(), TGLPlotCamera::Pan(), TGLPlotPainter::RestoreModelviewMatrix(), TGLPlotPainter::RestoreProjectionMatrix(), TGLPlotPainter::SaveModelviewMatrix(), TGLPlotPainter::SaveProjectionMatrix(), and TGLPlotCamera::SetCamera().

void TGLTH3CompositionPainter::AddOption ( const TString option  )  [virtual]

Implements TGLPlotPainter.

Definition at line 218 of file TGLTH3Composition.cxx.

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

Implements TGLPlotPainter.

Definition at line 224 of file TGLTH3Composition.cxx.

References TGLPlotPainter::fBoxCut, TGLPlotPainter::fHighColor, Form(), TGLPlotPainter::fUpdateSelection, gROOT, gVirtualX, Info, TGLBoxCut::IsActive(), kButton1Double, kKey_C, kKey_c, kKeyPress, kTRUE, TGLPlotPainter::Paint(), TROOT::ProcessLineFast(), and TGLBoxCut::TurnOnOff().

void TGLTH3CompositionPainter::InitGL (  )  const [private, virtual]

Implements TGLPlotPainter.

Definition at line 244 of file TGLTH3Composition.cxx.

References GL_BACK, GL_CULL_FACE, GL_DEPTH_TEST, GL_LIGHT0, GL_LIGHT_MODEL_TWO_SIDE, GL_LIGHTING, GL_TRUE, glCullFace(), glEnable(), and glLightModeli().

void TGLTH3CompositionPainter::DeInitGL (  )  const [private, virtual]

Implements TGLPlotPainter.

Definition at line 257 of file TGLTH3Composition.cxx.

References GL_CULL_FACE, GL_DEPTH_TEST, GL_FALSE, GL_LIGHT0, GL_LIGHT_MODEL_TWO_SIDE, GL_LIGHTING, glDisable(), and glLightModeli().

void TGLTH3CompositionPainter::DrawPlot (  )  const [private, virtual]

Implements TGLPlotPainter.

Definition at line 268 of file TGLTH3Composition.cxx.

References TMath::Abs(), TGLBoxCut::DrawBox(), TGLPlotBox::DrawBox(), Rgl::DrawBoxFront(), Rgl::DrawSphere(), TGLPlotPainter::fBackBox, TGLPlotPainter::fBoxCut, TGLPlotPainter::fCoord, fData, TGLPlotPainter::fHighColor, TGLTH3Composition::fHists, fMinMaxVal, fQuadric, TGLPlotPainter::fSelectedPart, TGLPlotPainter::fSelectionPass, TGLPlotPainter::fXAxis, TGLPlotPainter::fYAxis, TGLPlotPainter::fZAxis, TGLPlotPainter::fZLevels, TGLPlotBox::Get2DBox(), TAxis::GetBinLowEdge(), TAxis::GetBinUpEdge(), TAxis::GetBinWidth(), TGLPlotCoordinates::GetFirstXBin(), TGLPlotCoordinates::GetFirstYBin(), TGLPlotCoordinates::GetFirstZBin(), TGLPlotBox::GetFrontPoint(), TGLPlotCoordinates::GetLastXBin(), TGLPlotCoordinates::GetLastYBin(), TGLPlotCoordinates::GetLastZBin(), TGLPlotCoordinates::GetNXBins(), TGLPlotCoordinates::GetNYBins(), TGLPlotCoordinates::GetNZBins(), TGLPlotCoordinates::GetXScale(), TGLPlotCoordinates::GetYScale(), TGLPlotCoordinates::GetZScale(), GL_BLEND, GL_FILL, GL_FRONT, GL_LIGHTING, GL_LINE, GL_LINE_SMOOTH, GL_LINE_SMOOTH_HINT, GL_NICEST, GL_ONE_MINUS_SRC_ALPHA, GL_POLYGON_OFFSET_FILL, GL_SRC_ALPHA, glBlendFunc(), glColor4d(), glDisable(), glEnable(), glHint(), glPolygonMode(), glPolygonOffset(), h, i, TGLBoxCut::IsActive(), TGLBoxCut::IsInCut(), j, k, kInit, TGLTH3Composition::kSphere, TMath::Max(), SetColor(), w, and TGLVertex3::Y().

void TGLTH3CompositionPainter::DrawSectionXOZ (  )  const [inline, private, virtual]

Implements TGLPlotPainter.

Definition at line 92 of file TGLTH3Composition.h.

void TGLTH3CompositionPainter::DrawSectionYOZ (  )  const [inline, private, virtual]

Implements TGLPlotPainter.

Definition at line 93 of file TGLTH3Composition.h.

void TGLTH3CompositionPainter::DrawSectionXOY (  )  const [inline, private, virtual]

Implements TGLPlotPainter.

Definition at line 94 of file TGLTH3Composition.h.

void TGLTH3CompositionPainter::SetColor ( Int_t  color  )  const [private]

Definition at line 386 of file TGLTH3Composition.cxx.

References c, TROOT::GetColor(), GL_DIFFUSE, GL_FRONT_AND_BACK, GL_SHININESS, GL_SPECULAR, glMaterialf(), glMaterialfv(), gROOT, and kWhite.

Referenced by DrawPlot().

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

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

Implements TVirtualGLPainter.

Bool_t TGLTH3CompositionPainter::InitGeometry (  )  [virtual]

Implements TGLPlotPainter.

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

Implements TGLPlotPainter.

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

Implements TVirtualGLPainter.

void TGLTH3CompositionPainter::AddOption ( const TString option  )  [virtual]

Implements TGLPlotPainter.

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

Implements TGLPlotPainter.

void TGLTH3CompositionPainter::InitGL (  )  const [private, virtual]

Implements TGLPlotPainter.

void TGLTH3CompositionPainter::DeInitGL (  )  const [private, virtual]

Implements TGLPlotPainter.

void TGLTH3CompositionPainter::DrawPlot (  )  const [private, virtual]

Implements TGLPlotPainter.

void TGLTH3CompositionPainter::DrawSectionXOZ (  )  const [inline, private, virtual]

Implements TGLPlotPainter.

Definition at line 92 of file TGLTH3Composition.h.

void TGLTH3CompositionPainter::DrawSectionYOZ (  )  const [inline, private, virtual]

Implements TGLPlotPainter.

Definition at line 93 of file TGLTH3Composition.h.

void TGLTH3CompositionPainter::DrawSectionXOY (  )  const [inline, private, virtual]

Implements TGLPlotPainter.

Definition at line 94 of file TGLTH3Composition.h.

void TGLTH3CompositionPainter::SetColor ( Int_t  color  )  const [private]

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


Member Data Documentation

TGLTH3Composition* TGLTH3CompositionPainter::fData [private]

Definition at line 98 of file TGLTH3Composition.h.

Referenced by DrawPlot(), and InitGeometry().

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

Definition at line 99 of file TGLTH3Composition.h.

Referenced by DrawPlot(), and InitGeometry().

TGLQuadric TGLTH3CompositionPainter::fQuadric [mutable, private]

Definition at line 101 of file TGLTH3Composition.h.

Referenced by DrawPlot().

TGLTH3Composition* TGLTH3CompositionPainter::fData [private]

Definition at line 98 of file TGLTH3Composition.h.

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

Definition at line 99 of file TGLTH3Composition.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:40:15 2011 for ROOT_528-00b_version by  doxygen 1.5.1