#include <TGL5DPainter.h>
Inheritance diagram for TGL5DPainter:
Definition at line 42 of file TGL5DPainter.h.
typedef Rgl::Mc::TIsoMesh<Float_t> TGL5DPainter::Mesh_t |
Definition at line 49 of file TGL5DPainter.h.
typedef std::list<Surf_t> TGL5DPainter::SurfList_t |
Definition at line 70 of file TGL5DPainter.h.
typedef SurfList_t::iterator TGL5DPainter::SurfIter_t |
Definition at line 71 of file TGL5DPainter.h.
typedef SurfList_t::const_iterator TGL5DPainter::ConstSurfIter_t |
Definition at line 72 of file TGL5DPainter.h.
typedef std::vector<Double_t>::size_type TGL5DPainter::size_type [private] |
Definition at line 84 of file TGL5DPainter.h.
typedef Rgl::Mc::TIsoMesh<Float_t> TGL5DPainter::Mesh_t |
Definition at line 49 of file TGL5DPainter.h.
typedef std::list<Surf_t> TGL5DPainter::SurfList_t |
Definition at line 70 of file TGL5DPainter.h.
typedef SurfList_t::iterator TGL5DPainter::SurfIter_t |
Definition at line 71 of file TGL5DPainter.h.
typedef SurfList_t::const_iterator TGL5DPainter::ConstSurfIter_t |
Definition at line 72 of file TGL5DPainter.h.
typedef std::vector<Double_t>::size_type TGL5DPainter::size_type [private] |
Definition at line 84 of file TGL5DPainter.h.
Definition at line 44 of file TGL5DPainter.h.
Definition at line 44 of file TGL5DPainter.h.
TGL5DPainter::TGL5DPainter | ( | TGL5DDataSet * | data, | |
TGLPlotCamera * | camera, | |||
TGLPlotCoordinates * | coord | |||
) |
Definition at line 34 of file TGL5DPainter.cxx.
References fData, fNContours, TGL5DDataSet::fV4IsString, and TGL5DDataSet::fV4MinMax.
TGL5DPainter::TGL5DPainter | ( | const TGL5DPainter & | ) | [private] |
TGL5DPainter::TGL5DPainter | ( | TGL5DDataSet * | data, | |
TGLPlotCamera * | camera, | |||
TGLPlotCoordinates * | coord | |||
) |
TGL5DPainter::TGL5DPainter | ( | const TGL5DPainter & | ) | [private] |
TGL5DPainter::SurfIter_t TGL5DPainter::AddSurface | ( | Double_t | v4, | |
Color_t | ci, | |||
Double_t | isoVal = 1. , |
|||
Double_t | sigma = 1. , |
|||
Double_t | range = 1e-3 , |
|||
Int_t | lowNumOfPoints = kNLowPts | |||
) |
Definition at line 49 of file TGL5DPainter.cxx.
References TKDEFGT::BuildModel(), TGLPlotPainter::fCoord, fData, fDummy, fIsos, fKDE, fMeshBuilder, TGLPlotPainter::fXAxis, TGLPlotPainter::fYAxis, TGLPlotPainter::fZAxis, TGLPlotCoordinates::GetXScale(), TGLPlotCoordinates::GetYScale(), TGLPlotCoordinates::GetZScale(), Info, kFALSE, TGL5DDataSet::SelectedSize(), TGL5DDataSet::SelectPoints(), and Warning().
Referenced by TGL5DDataSetEditor::AddNewSurface(), AddSurface(), and InitGeometry().
void TGL5DPainter::AddSurface | ( | Double_t | v4 | ) |
Definition at line 98 of file TGL5DPainter.cxx.
References AddSurface(), d, fAlpha, fData, fNContours, TGL5DDataSet::fNP, TGL5DDataSet::fV4, TGL5DDataSet::fV4IsString, TGL5DDataSet::fV4MinMax, and TMath::RMS().
void TGL5DPainter::RemoveSurface | ( | SurfIter_t | surf | ) |
Bool_t TGL5DPainter::InitGeometry | ( | ) | [virtual] |
Implements TGLPlotPainter.
Definition at line 133 of file TGL5DPainter.cxx.
References AddSurface(), d, fAlpha, TGLPlotPainter::fBackBox, TGLPlotPainter::fBoxCut, TGLPlotPainter::fCamera, TGLPlotPainter::fCoord, fData, fInit, fIsos, fNContours, TGL5DDataSet::fNP, TGL5DDataSet::fV4, TGL5DDataSet::fV4IsString, TGL5DDataSet::fV4MinMax, TGLPlotPainter::fXAxis, TGLPlotPainter::fYAxis, TGLPlotPainter::fZAxis, TGLPlotBox::Get3DBox(), TGLPlotCoordinates::GetXRangeScaled(), TGLPlotCoordinates::GetYRangeScaled(), TGLPlotCoordinates::GetZRangeScaled(), Info, j, kFALSE, kGLCartesian, kTRUE, TMath::Mean(), min, TMath::RMS(), TGLPlotCoordinates::SetCoordType(), TGLPlotBox::SetPlotBox(), TGLPlotCoordinates::SetRanges(), TGLPlotCamera::SetViewVolume(), and TGLBoxCut::TurnOnOff().
Referenced by SetAlpha(), and SetNContours().
Implements TGLPlotPainter.
Definition at line 183 of file TGL5DPainter.cxx.
References TGLPlotPainter::fBoxCut, TGLPlotPainter::fCamera, TGLPlotPainter::fMousePosition, TPoint::fX, TPoint::fY, TGLPlotCamera::GetHeight(), TGLBoxCut::StartMovement(), and TGLPlotCamera::StartPan().
Implements TVirtualGLPainter.
Definition at line 193 of file TGL5DPainter.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 TGL5DPainter::AddOption | ( | const TString & | option | ) | [virtual] |
Implements TGLPlotPainter.
Definition at line 237 of file TGL5DPainter.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 TGL5DPainter::ShowBoxCut | ( | Bool_t | show | ) | [inline] |
Definition at line 112 of file TGL5DPainter.h.
References TGLPlotPainter::fBoxCut, and TGLBoxCut::SetActive().
Referenced by TGL5DDataSetEditor::BoxCutToggled().
Bool_t TGL5DPainter::IsBoxCutShown | ( | ) | const [inline] |
Definition at line 113 of file TGL5DPainter.h.
References TGLPlotPainter::fBoxCut, and TGLBoxCut::IsActive().
Referenced by TGL5DDataSetEditor::SetStyleTabWidgets().
void TGL5DPainter::SetAlpha | ( | Double_t | newAlpha | ) |
Definition at line 261 of file TGL5DPainter.cxx.
References fAlpha, fData, fInit, TGL5DDataSet::fV4IsString, InitGeometry(), kFALSE, and Warning().
Referenced by TGL5DDataSetEditor::ApplyAlpha().
Double_t TGL5DPainter::GetAlpha | ( | ) | const [inline] |
Definition at line 116 of file TGL5DPainter.h.
References fAlpha.
Referenced by TGL5DDataSetEditor::ApplyAlpha(), and TGL5DDataSetEditor::SetStyleTabWidgets().
void TGL5DPainter::SetNContours | ( | Int_t | num | ) |
Definition at line 275 of file TGL5DPainter.cxx.
References fInit, fNContours, InitGeometry(), kFALSE, and Warning().
Referenced by TGL5DDataSetEditor::ApplyPlanes().
Int_t TGL5DPainter::GetNContours | ( | ) | const [inline] |
Definition at line 119 of file TGL5DPainter.h.
References fNContours.
Referenced by TGL5DDataSetEditor::ApplyPlanes(), and TGL5DDataSetEditor::SetStyleTabWidgets().
void TGL5DPainter::ResetGeometryRanges | ( | ) |
Definition at line 290 of file TGL5DPainter.cxx.
References TKDEFGT::BuildModel(), TGLPlotPainter::fBackBox, TGLPlotPainter::fBoxCut, TGLPlotPainter::fCamera, TGLPlotPainter::fCoord, fData, fIsos, fKDE, fMeshBuilder, Rgl::Mc::TIsoMesh< V >::fNorms, Rgl::Mc::TIsoMesh< V >::fTris, Rgl::Mc::TIsoMesh< V >::fVerts, TGLPlotPainter::fXAxis, TGLPlotPainter::fYAxis, TGLPlotPainter::fZAxis, TGLPlotBox::Get3DBox(), TGLPlotCoordinates::GetXRangeScaled(), TGLPlotCoordinates::GetXScale(), TGLPlotCoordinates::GetYRangeScaled(), TGLPlotCoordinates::GetYScale(), TGLPlotCoordinates::GetZRangeScaled(), TGLPlotCoordinates::GetZScale(), Info, TGLBoxCut::ResetBoxGeometry(), TGL5DDataSet::SelectPoints(), TGLPlotBox::SetPlotBox(), TGLPlotCoordinates::SetRanges(), and TGLPlotCamera::SetViewVolume().
Referenced by TGL5DDataSetEditor::ApplyGridParameters().
TGL5DPainter::SurfIter_t TGL5DPainter::SurfacesBegin | ( | ) |
Definition at line 328 of file TGL5DPainter.cxx.
References fIsos.
Referenced by TGL5DDataSetEditor::SetIsoTabWidgets().
TGL5DPainter::SurfIter_t TGL5DPainter::SurfacesEnd | ( | ) |
Definition at line 335 of file TGL5DPainter.cxx.
References fIsos.
Referenced by TGL5DDataSetEditor::SetIsoTabWidgets().
void TGL5DPainter::InitGL | ( | ) | const [private, virtual] |
Implements TGLPlotPainter.
Definition at line 342 of file TGL5DPainter.cxx.
References GL_CULL_FACE, GL_DEPTH_TEST, GL_LIGHT0, GL_LIGHT_MODEL_TWO_SIDE, GL_LIGHTING, GL_TRUE, glDisable(), glEnable(), and glLightModeli().
void TGL5DPainter::DeInitGL | ( | ) | const [private, virtual] |
Implements TGLPlotPainter.
Definition at line 353 of file TGL5DPainter.cxx.
References GL_CULL_FACE, GL_DEPTH_TEST, GL_FALSE, GL_LIGHT0, GL_LIGHT_MODEL_TWO_SIDE, GL_LIGHTING, glDisable(), and glLightModeli().
void TGL5DPainter::DrawPlot | ( | ) | const [private, virtual] |
Implements TGLPlotPainter.
Definition at line 364 of file TGL5DPainter.cxx.
References TGLBoxCut::DrawBox(), TGLPlotBox::DrawBox(), DrawCloud(), DrawMesh(), TGLPlotPainter::fBackBox, TGLPlotPainter::fBoxCut, TGLPlotPainter::fHighColor, fIsos, TGLPlotPainter::fSelectedPart, TGLPlotPainter::fSelectionPass, TGLPlotPainter::fZLevels, GL_BLEND, GL_FALSE, GL_LIGHTING, GL_ONE_MINUS_SRC_ALPHA, GL_POLYGON_OFFSET_FILL, GL_SRC_ALPHA, GL_TRUE, glBlendFunc(), glColor4d(), glDepthMask(), glDisable(), glEnable(), glPolygonOffset(), TGLBoxCut::IsActive(), kFALSE, kTRUE, and SetSurfaceColor().
void TGL5DPainter::DrawSectionXOZ | ( | ) | const [inline, private, virtual] |
void TGL5DPainter::DrawSectionYOZ | ( | ) | const [inline, private, virtual] |
void TGL5DPainter::DrawSectionXOY | ( | ) | const [inline, private, virtual] |
void TGL5DPainter::SetSurfaceColor | ( | ConstSurfIter_t | surf | ) | const [private] |
Definition at line 433 of file TGL5DPainter.cxx.
References Rgl::Pad::ExtractRGB(), GL_DIFFUSE, GL_FRONT_AND_BACK, GL_SHININESS, GL_SPECULAR, glMaterialf(), and glMaterialfv().
Referenced by DrawPlot().
void TGL5DPainter::DrawCloud | ( | ) | const [private] |
Definition at line 447 of file TGL5DPainter.cxx.
References depth, TGLPlotPainter::fCoord, fData, TGL5DDataSet::fNP, TGL5DDataSet::fV1, TGL5DDataSet::fV2, TGL5DDataSet::fV3, TGLPlotCoordinates::GetXScale(), TGLPlotCoordinates::GetYScale(), TGLPlotCoordinates::GetZScale(), GL_DEPTH_TEST, GL_LIGHTING, GL_POINTS, glBegin(), glColor3d(), glEnd(), glPointSize(), glVertex3d(), and i.
Referenced by DrawPlot().
Definition at line 471 of file TGL5DPainter.cxx.
References TMath::Abs(), Rgl::Pad::ExtractRGB(), TGLPlotPainter::fCoord, fData, TGL5DDataSet::fNP, TGL5DDataSet::fV1, TGL5DDataSet::fV2, TGL5DDataSet::fV3, TGL5DDataSet::fV4, TGLPlotCoordinates::GetXScale(), TGLPlotCoordinates::GetYScale(), TGLPlotCoordinates::GetZScale(), GL_LIGHTING, GL_POINTS, glBegin(), glColor3fv(), glEnd(), glPointSize(), glVertex3d(), and i.
void TGL5DPainter::DrawMesh | ( | ConstSurfIter_t | surf | ) | const [private] |
Definition at line 498 of file TGL5DPainter.cxx.
References Rgl::DrawMesh(), TGLPlotPainter::fBoxCut, TGLPlotPainter::fHighColor, TGLPlotPainter::fSelectionBase, TGLPlotPainter::fSelectionPass, TGLBoxCut::IsActive(), m, and Rgl::ObjectIDToColor().
Referenced by DrawPlot().
TGL5DPainter& TGL5DPainter::operator= | ( | const TGL5DPainter & | ) | [private] |
SurfIter_t TGL5DPainter::AddSurface | ( | Double_t | v4, | |
Color_t | ci, | |||
Double_t | isoVal = 1. , |
|||
Double_t | sigma = 1. , |
|||
Double_t | range = 1e-3 , |
|||
Int_t | lowNumOfPoints = kNLowPts | |||
) |
void TGL5DPainter::AddSurface | ( | Double_t | v4 | ) |
void TGL5DPainter::RemoveSurface | ( | SurfIter_t | surf | ) |
Implements TVirtualGLPainter.
Bool_t TGL5DPainter::InitGeometry | ( | ) | [virtual] |
Implements TGLPlotPainter.
Implements TGLPlotPainter.
Implements TVirtualGLPainter.
void TGL5DPainter::AddOption | ( | const TString & | option | ) | [virtual] |
Implements TGLPlotPainter.
Implements TGLPlotPainter.
void TGL5DPainter::ShowBoxCut | ( | Bool_t | show | ) | [inline] |
Definition at line 112 of file TGL5DPainter.h.
References TGLPlotPainter::fBoxCut, and TGLBoxCut::SetActive().
Bool_t TGL5DPainter::IsBoxCutShown | ( | ) | const [inline] |
Definition at line 113 of file TGL5DPainter.h.
References TGLPlotPainter::fBoxCut, and TGLBoxCut::IsActive().
void TGL5DPainter::SetAlpha | ( | Double_t | newAlpha | ) |
Double_t TGL5DPainter::GetAlpha | ( | ) | const [inline] |
void TGL5DPainter::SetNContours | ( | Int_t | num | ) |
Int_t TGL5DPainter::GetNContours | ( | ) | const [inline] |
void TGL5DPainter::ResetGeometryRanges | ( | ) |
SurfIter_t TGL5DPainter::SurfacesBegin | ( | ) |
SurfIter_t TGL5DPainter::SurfacesEnd | ( | ) |
void TGL5DPainter::InitGL | ( | ) | const [private, virtual] |
Implements TGLPlotPainter.
void TGL5DPainter::DeInitGL | ( | ) | const [private, virtual] |
Implements TGLPlotPainter.
void TGL5DPainter::DrawPlot | ( | ) | const [private, virtual] |
Implements TGLPlotPainter.
void TGL5DPainter::DrawSectionXOZ | ( | ) | const [inline, private, virtual] |
void TGL5DPainter::DrawSectionYOZ | ( | ) | const [inline, private, virtual] |
void TGL5DPainter::DrawSectionXOY | ( | ) | const [inline, private, virtual] |
void TGL5DPainter::SetSurfaceColor | ( | ConstSurfIter_t | surf | ) | const [private] |
void TGL5DPainter::DrawCloud | ( | ) | const [private] |
void TGL5DPainter::DrawMesh | ( | ConstSurfIter_t | surf | ) | const [private] |
TGL5DPainter& TGL5DPainter::operator= | ( | const TGL5DPainter & | ) | [private] |
TKDEFGT TGL5DPainter::fKDE [private] |
Definition at line 75 of file TGL5DPainter.h.
Referenced by AddSurface(), and ResetGeometryRanges().
Definition at line 76 of file TGL5DPainter.h.
Referenced by AddSurface(), and ResetGeometryRanges().
const Surf_t TGL5DPainter::fDummy [private] |
Bool_t TGL5DPainter::fInit [private] |
Definition at line 79 of file TGL5DPainter.h.
Referenced by InitGeometry(), SetAlpha(), and SetNContours().
SurfList_t TGL5DPainter::fIsos [private] |
Definition at line 81 of file TGL5DPainter.h.
Referenced by AddSurface(), DrawPlot(), InitGeometry(), RemoveSurface(), ResetGeometryRanges(), SurfacesBegin(), and SurfacesEnd().
TGL5DDataSet* TGL5DPainter::fData [private] |
Definition at line 82 of file TGL5DPainter.h.
Referenced by AddSurface(), DrawCloud(), DrawSubCloud(), InitGeometry(), ResetGeometryRanges(), SetAlpha(), and TGL5DPainter().
Rgl::Range_t TGL5DPainter::fV5PredictedRange [private] |
Definition at line 86 of file TGL5DPainter.h.
Rgl::Range_t TGL5DPainter::fV5SliderRange [private] |
Definition at line 87 of file TGL5DPainter.h.
Bool_t TGL5DPainter::fShowSlider [private] |
Definition at line 88 of file TGL5DPainter.h.
Double_t TGL5DPainter::fAlpha [private] |
Definition at line 90 of file TGL5DPainter.h.
Referenced by AddSurface(), GetAlpha(), InitGeometry(), and SetAlpha().
Int_t TGL5DPainter::fNContours [private] |
Definition at line 91 of file TGL5DPainter.h.
Referenced by AddSurface(), GetNContours(), InitGeometry(), SetNContours(), and TGL5DPainter().
Definition at line 76 of file TGL5DPainter.h.
TGL5DDataSet* TGL5DPainter::fData [private] |
Definition at line 82 of file TGL5DPainter.h.