ROOT
6.06/09
Reference Guide
|
Line Attributes class.
This class is used (in general by secondary inheritance) by many other classes (graphics, histograms). It holds all the line attributes.
Line attributes are:
The line color is a color index (integer) pointing in the ROOT color table. The line color of any class inheriting from TAttLine
can be changed using the method SetLineColor
and retrieved using the method GetLineColor
. The following table shows the first 50 default colors.
SetLineColorAlpha()
, allows to set a transparent color. In the following example the line color of the histogram histo
is set to blue with a transparency of 35%. The color kBlue
itself remains fully opaque.
The transparency is available on all platforms when the flagOpenGL.CanvasPreferGL
is set to 1
in $ROOTSYS/etc/system.rootrc
, or on Mac with the Cocoa backend. On the file output it is visible with PDF, PNG, Gif, JPEG, SVG ... but not PostScript.
The line width is expressed in pixel units. The line width of any class inheriting from TAttLine
can be changed using the method SetLineWidth
and retrieved using the method GetLineWidth
. The following picture shows the line widths from 1 to 10 pixels.
Line styles are identified via integer numbers. The line style of any class inheriting from TAttLine
can be changed using the method SetLineStyle
and retrieved using the method GetLineStyle
.
The first 10 line styles are predefined as shown on the following picture:
Additional line styles can be defined using TStyle::SetLineStyleString
. For example the line style number 11 can be defined as follow:
Existing line styles (1 to 10) can be redefined using the same method.
Definition at line 32 of file TAttLine.h.
Public Member Functions | |
TAttLine () | |
AttLine default constructor. More... | |
TAttLine (Color_t lcolor, Style_t lstyle, Width_t lwidth) | |
AttLine normal constructor. More... | |
virtual | ~TAttLine () |
AttLine destructor. More... | |
void | Copy (TAttLine &attline) const |
Copy this line attributes to a new TAttLine. More... | |
Int_t | DistancetoLine (Int_t px, Int_t py, Double_t xp1, Double_t yp1, Double_t xp2, Double_t yp2) |
Compute distance from point px,py to a line. More... | |
virtual Color_t | GetLineColor () const |
virtual Style_t | GetLineStyle () const |
virtual Width_t | GetLineWidth () const |
virtual void | Modify () |
Change current line attributes if necessary. More... | |
virtual void | ResetAttLine (Option_t *option="") |
Reset this line attributes to default values. More... | |
virtual void | SaveLineAttributes (std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1, Int_t widdef=1) |
Save line attributes as C++ statement(s) on output stream out. More... | |
virtual void | SetLineAttributes () |
Invoke the DialogCanvas Line attributes. More... | |
virtual void | SetLineColor (Color_t lcolor) |
virtual void | SetLineColorAlpha (Color_t lcolor, Float_t lalpha) |
Set a transparent line color. More... | |
virtual void | SetLineStyle (Style_t lstyle) |
virtual void | SetLineWidth (Width_t lwidth) |
ClassDef (TAttLine, 2) | |
Protected Attributes | |
Color_t | fLineColor |
Style_t | fLineStyle |
Width_t | fLineWidth |
#include <TAttLine.h>
TAttLine::TAttLine | ( | ) |
AttLine default constructor.
Definition at line 125 of file TAttLine.cxx.
AttLine normal constructor.
Line attributes are taking from the argument list
Definition at line 142 of file TAttLine.cxx.
|
virtual |
AttLine destructor.
Definition at line 152 of file TAttLine.cxx.
TAttLine::ClassDef | ( | TAttLine | , |
2 | |||
) |
Copy this line attributes to a new TAttLine.
Definition at line 159 of file TAttLine.cxx.
Referenced by TLegendEntry::Copy(), TPolyLine3D::Copy(), TLine::Copy(), TPolyLine::Copy(), TEllipse::Copy(), TBox::Copy(), THelix::Copy(), TLatex::Copy(), TStyle::Copy(), TH1::Copy(), TF1::Copy(), TArc::DrawArc(), TArrow::DrawArrow(), TBox::DrawBox(), TCanvas::DrawClonePad(), TCrown::DrawCrown(), TEllipse::DrawEllipse(), TGraph::DrawGraph(), TLine::DrawLine(), TPolyLine3D::DrawPolyLine(), TPolyLine::DrawPolyLine(), TEfficiency::FillGraph(), and TEfficiency::FillHistogram().
Int_t TAttLine::DistancetoLine | ( | Int_t | px, |
Int_t | py, | ||
Double_t | xp1, | ||
Double_t | yp1, | ||
Double_t | xp2, | ||
Double_t | yp2 | ||
) |
Compute distance from point px,py to a line.
Compute the closest distance of approach from point px,py to this line. The distance is computed in pixels units.
Algorithm:
Definition at line 193 of file TAttLine.cxx.
Referenced by TCurlyLine::DistancetoPrimitive(), TPolyLine3D::DistancetoPrimitive(), TLine::DistancetoPrimitive(), TPolyLine::DistancetoPrimitive(), TPrimary::DistancetoPrimitive(), TGeoTrack::DistancetoPrimitive(), TMarker3DBox::DistancetoPrimitive(), TGraphPolargram::DistancetoPrimitive(), TParticle::DistancetoPrimitive(), TGraphPainter::DistancetoPrimitiveHelper(), and TGraph::InsertPoint().
|
inlinevirtual |
Reimplemented in TGWin32VirtualXProxy.
Definition at line 47 of file TAttLine.h.
Referenced by TEveCaloDataHist::AddHistogram(), TGeoVolumeMulti::AddNode(), TGeoVolumeMulti::AddNodeOverlap(), TSpider::AddVariable(), TSelectorDraw::Begin(), TGLUtil::BeginAttLine(), TParallelCoordEditor::CleanUpSelections(), TGeoVolume::CloneVolume(), ROOT::Internal::TBranchProxyDirector::CreateHistogram(), TF2::CreateHistogram(), TVolume::CreateTNode(), TSpider::DeleteVariable(), TGeoVolumeMulti::Divide(), TAttLineEditor::DoAlpha(), TAttLineEditor::DoAlphaField(), TF1::DoCreateHistogram(), TAttLineEditor::DoLiveAlpha(), TH2::DoProfile(), TH3::DoProject1D(), TH3::DoProject2D(), TH2::DoProjection(), TParallelCoordEditor::DoSelectionSelect(), TGeoPainter::DrawBatemanSol(), TGQuartz::DrawBox(), TGQuartz::DrawLine(), TPolyLine3D::DrawOutlineCube(), TSpider::DrawPoly(), TGQuartz::DrawPolyLine(), TSpider::DrawSlices(), TEveGeoNode::DumpShapeTree(), TShape::FillBuffer3D(), TGeoShape::FillBuffer3D(), TProofChain::FillDrawAttributes(), TLatex::FirstParse(), TSpider::GetAverageLineColor(), TShape::GetBasicColor(), TGeoShape::GetBasicColor(), TGeoNode::GetColour(), TAttLineEditor::GetCurAlpha(), TPie::GetEntryLineColor(), TEveManager::GetGeometry(), TPainter3dAlgorithms::ImplicitFunction(), TNode::ImportShapeAttributes(), TVolume::ImportShapeAttributes(), TProofDrawHist::Init(), TGLViewer::InitSecondaryObjects(), TGeoVolume::IsStyleDefault(), TGeoVolume::MakeCopyVolume(), TGeoVolumeMulti::MakeCopyVolume(), TMVA::mvas(), TDiamond::Paint(), TSpline::Paint(), TGraphEdge::Paint(), TGraphNode::Paint(), TPolyLine3D::Paint(), TMarker3DBox::Paint(), TPrimary::Paint(), TNode::Paint(), TF2::Paint(), TGraph2D::Paint(), TParticle::Paint(), TGaxis::PaintAxis(), TParallelCoordVar::PaintBoxPlot(), THistPainter::PaintContour(), TParallelCoord::PaintEntries(), TGraph2DPainter::PaintErrors(), THistPainter::PaintErrors(), TPad::PaintFillAreaHatches(), TGLAxis::PaintGLAxisBody(), TGraphPainter::PaintGraphAsymmErrors(), TGraphPainter::PaintGraphBentErrors(), TGraphPainter::PaintGraphErrors(), THistPainter::PaintHist(), TParallelCoordVar::PaintHistogram(), TLatex::PaintLatex1(), THistPainter::PaintLego(), TPolyLineShape::PaintNode(), TGeoPainter::PaintOverlap(), TGeoPainter::PaintPhysicalNode(), TGraph2DPainter::PaintPolyLine(), TMultiGraph::PaintPolyLine3D(), TVolumeView::PaintShape(), TVolume::PaintShape(), TParallelCoordRange::PaintSlider(), TSpectrum2Painter::PaintSpectrum(), THistPainter::PaintSurface(), TGraph2DPainter::PaintTriangles_new(), TGraph2DPainter::PaintTriangles_old(), TGeoPainter::PaintVolume(), TLine::Print(), TEllipse::Print(), TBox::Print(), TGeoChecker::RandomRays(), TGeoPainter::Raytrace(), TGeoVolume::ReplaceNode(), TPaveText::SaveLines(), TPie::SavePrimitive(), TParallelCoordVar::SavePrimitive(), TF3::SavePrimitive(), TGaxis::SavePrimitive(), TParallelCoord::SavePrimitive(), TF2::SavePrimitive(), TPad::SavePrimitive(), TStyle::SavePrimitive(), TF1::SavePrimitive(), TEveTrack::SetAttLineAttMarker(), TEveTrackList::SetLineColor(), TEveTrackList::SetMainColor(), TAttLineEditor::SetModel(), TSpider::SetNx(), TSpider::SetNy(), TSpider::SetSegmentDisplay(), TSelectorDraw::TakeAction(), TSelectorDraw::TakeEstimate(), TArrow::TArrow(), TAttLine(), TGeoChecker::TestOverlaps(), TParallelCoordRange::TParallelCoordRange(), TPave::TPave(), TVolume::TVolume(), TStyleManager::UpdateEditor(), TFrame::UseCurrentStyle(), TGraph::UseCurrentStyle(), TH1::UseCurrentStyle(), and TTree::UseCurrentStyle().
|
inlinevirtual |
Reimplemented in TGWin32VirtualXProxy.
Definition at line 48 of file TAttLine.h.
Referenced by TGeoVolumeMulti::AddNode(), TGeoVolumeMulti::AddNodeOverlap(), TSpider::AddVariable(), TSelectorDraw::Begin(), TGLUtil::BeginAttLine(), TGeoVolume::CloneVolume(), ROOT::Internal::TBranchProxyDirector::CreateHistogram(), TF2::CreateHistogram(), TVolume::CreateTNode(), TSpider::DeleteVariable(), TEveStraightLineSetGL::DirectDraw(), TGeoVolumeMulti::Divide(), TF1::DoCreateHistogram(), TGeoPainter::DrawBatemanSol(), TGQuartz::DrawBox(), TFitParametersDialog::DrawFunction(), TGQuartz::DrawLine(), TPolyLine3D::DrawOutlineCube(), TSpider::DrawPoly(), TGQuartz::DrawPolyLine(), TSpider::DrawSlices(), TProofChain::FillDrawAttributes(), TSpider::GetAverageLineStyle(), TPie::GetEntryLineStyle(), TNode::ImportShapeAttributes(), TVolume::ImportShapeAttributes(), TProofDrawHist::Init(), TGeoVolume::IsStyleDefault(), TGeoVolume::MakeCopyVolume(), TGeoVolumeMulti::MakeCopyVolume(), TCrown::Paint(), TSpline::Paint(), TGraphEdge::Paint(), TGraphNode::Paint(), TPrimary::Paint(), TNode::Paint(), TF2::Paint(), TGraph2D::Paint(), TParticle::Paint(), THistPainter::PaintArrows(), THistPainter::PaintCandlePlot(), TGraph2DPainter::PaintContour(), THistPainter::PaintContour(), TEllipse::PaintEllipse(), TGraph2DPainter::PaintErrors(), THistPainter::PaintErrors(), TPad::PaintFillAreaHatches(), THistPainter::PaintHist(), THistPainter::PaintLego(), TGeoPainter::PaintPhysicalNode(), TGraphPolargram::PaintPolarDivisions(), TGraph2DPainter::PaintPolyLine(), TMultiGraph::PaintPolyLine3D(), TGraphPolargram::PaintRadialDivisions(), TVolume::PaintShape(), TSpectrum2Painter::PaintSpectrum(), THistPainter::PaintSurface(), TGraph2DPainter::PaintTriangles_new(), TGraph2DPainter::PaintTriangles_old(), THistPainter::PaintViolinPlot(), TGeoPainter::PaintVolume(), TLine::Print(), TEllipse::Print(), TBox::Print(), TGeoVolume::ReplaceNode(), TPaveText::SaveLines(), TPie::SavePrimitive(), TParallelCoordVar::SavePrimitive(), TGaxis::SavePrimitive(), TF2::SavePrimitive(), TPad::SavePrimitive(), TStyle::SavePrimitive(), TF1::SavePrimitive(), TEveTrack::SetAttLineAttMarker(), TEveTrackList::SetLineStyle(), TAttLineEditor::SetModel(), TSpider::SetNx(), TSpider::SetNy(), TSpider::SetSegmentDisplay(), TSelectorDraw::TakeAction(), TSelectorDraw::TakeEstimate(), TAttLine(), TPave::TPave(), TVolume::TVolume(), TStyleManager::UpdateEditor(), TFrame::UseCurrentStyle(), TGraph::UseCurrentStyle(), TH1::UseCurrentStyle(), and TTree::UseCurrentStyle().
|
inlinevirtual |
Reimplemented in TGWin32VirtualXProxy.
Definition at line 49 of file TAttLine.h.
Referenced by TGeoVolumeMulti::AddNode(), TGeoVolumeMulti::AddNodeOverlap(), TSpider::AddVariable(), TLatex::Analyse(), TSelectorDraw::Begin(), TGLUtil::BeginAttLine(), TParallelCoordEditor::CleanUpSelections(), TGeoVolume::CloneVolume(), ROOT::Internal::TBranchProxyDirector::CreateHistogram(), TF2::CreateHistogram(), TVolume::CreateTNode(), TSpider::DeleteVariable(), TEveStraightLineSetGL::DirectDraw(), TGeoVolumeMulti::Divide(), TF1::DoCreateHistogram(), TGraphEditor::DoGraphLineWidth(), TAttLineEditor::DoLineWidth(), TParallelCoordEditor::DoSelectionSelect(), TGraphEditor::DoShape(), TGeoPainter::DrawBatemanSol(), TGQuartz::DrawBox(), TGQuartz::DrawLine(), TPolyLine3D::DrawOutlineCube(), TSpider::DrawPoly(), TGQuartz::DrawPolyLine(), TSpider::DrawSlices(), TProofChain::FillDrawAttributes(), TLatex::FirstParse(), TSpider::GetAverageLineWidth(), TPie::GetEntryLineWidth(), TNode::ImportShapeAttributes(), TVolume::ImportShapeAttributes(), TProofDrawHist::Init(), TGeoVolume::IsStyleDefault(), TGeoVolume::MakeCopyVolume(), TGeoVolumeMulti::MakeCopyVolume(), TSpline::Paint(), TGraphEdge::Paint(), TGraphNode::Paint(), TPrimary::Paint(), TNode::Paint(), TF2::Paint(), TGraph2D::Paint(), TParticle::Paint(), THistPainter::PaintArrows(), THistPainter::PaintCandlePlot(), TGraph2DPainter::PaintContour(), THistPainter::PaintContour(), TParallelCoord::PaintEntries(), TGraph2DPainter::PaintErrors(), THistPainter::PaintErrors(), TPad::PaintFillAreaHatches(), TGLAxis::PaintGLAxisBody(), TGraphPainter::PaintGraph(), TGraphPainter::PaintGraphAsymmErrors(), TGraphPainter::PaintGraphBentErrors(), TGraphPainter::PaintGraphErrors(), TGraphPainter::PaintGrapHist(), THistPainter::PaintHist(), TParallelCoordVar::PaintHistogram(), TLatex::PaintLatex1(), THistPainter::PaintLego(), TPolyLineShape::PaintNode(), TGeoPainter::PaintPhysicalNode(), TGraph2DPainter::PaintPolyLine(), TMultiGraph::PaintPolyLine3D(), TGraphPainter::PaintPolyLineHatches(), TVolumeView::PaintShape(), TVolume::PaintShape(), TSpectrum2Painter::PaintSpectrum(), THistPainter::PaintSurface(), THistPainter::PaintViolinPlot(), TGeoPainter::PaintVolume(), TLine::Print(), TEllipse::Print(), TBox::Print(), TGeoVolume::ReplaceNode(), TPaveText::SaveLines(), TPie::SavePrimitive(), TParallelCoordVar::SavePrimitive(), TGaxis::SavePrimitive(), TParallelCoord::SavePrimitive(), TF2::SavePrimitive(), TPad::SavePrimitive(), TStyle::SavePrimitive(), TF1::SavePrimitive(), TEveTrack::SetAttLineAttMarker(), TPolyLineShape::SetConnection(), TEveTrackList::SetLineWidth(), TAttLineEditor::SetModel(), TGraphEditor::SetModel(), TSpider::SetNx(), TSpider::SetNy(), TSpider::SetSegmentDisplay(), TGraphPainter::Smooth(), TSelectorDraw::TakeAction(), TSelectorDraw::TakeEstimate(), TAttLine(), TVolume::TVolume(), TStyleManager::UpdateEditor(), TFrame::UseCurrentStyle(), TGraph::UseCurrentStyle(), TH1::UseCurrentStyle(), and TTree::UseCurrentStyle().
|
virtual |
Change current line attributes if necessary.
Definition at line 229 of file TAttLine.cxx.
Referenced by TLatex::DrawCircle(), TPainter3dAlgorithms::DrawFaceMode1(), TPainter3dAlgorithms::DrawFaceMode2(), TPainter3dAlgorithms::DrawFaceMode3(), TPainter3dAlgorithms::DrawFaceMove1(), TPainter3dAlgorithms::DrawFaceMove2(), TPainter3dAlgorithms::DrawFaceMove3(), TPainter3dAlgorithms::DrawFaceRaster1(), TPainter3dAlgorithms::DrawFaceRaster2(), TLatex::DrawLine(), TLatex::DrawParenthesis(), TDiamond::ExecuteEvent(), TCurlyArc::ExecuteEvent(), TSliderBox::ExecuteEvent(), TCurlyLine::ExecuteEvent(), TASPaletteEditor::LimitLine::ExecuteEvent(), TLine::ExecuteEvent(), TPolyLine::ExecuteEvent(), TEllipse::ExecuteEvent(), TBox::ExecuteEvent(), TPad::ExecuteEvent(), TCrown::Paint(), TDiamond::Paint(), TPolyLine3D::Paint(), TMarker3DBox::Paint(), TNode::Paint(), TArrow::PaintArrow(), TPad::PaintBorder(), TBox::PaintBox(), TEllipse::PaintEllipse(), TLine::PaintLine(), TLine::PaintLineNDC(), TPave::PaintPaveArc(), TGeoPainter::PaintPhysicalNode(), TPolyLineShape::PaintPoints(), TGraphPolargram::PaintPolarDivisions(), TPolyLine::PaintPolyLine(), TPolyLine::PaintPolyLineNDC(), TGraphPolargram::PaintRadialDivisions(), TVolume::PaintShape(), and TGeoTrack::PaintTrack().
Reset this line attributes to default values.
Reimplemented in TGWin32VirtualXProxy.
Definition at line 247 of file TAttLine.cxx.
Referenced by TSpectrum2Painter::Paint(), and TStyle::Reset().
|
virtual |
Save line attributes as C++ statement(s) on output stream out.
Definition at line 257 of file TAttLine.cxx.
Referenced by TGraphEdge::SaveAttributes(), TGraphNode::SaveAttributes(), TLegendEntry::SaveEntry(), TArc::SavePrimitive(), TPavesText::SavePrimitive(), TCrown::SavePrimitive(), TPaveClass::SavePrimitive(), TDiamond::SavePrimitive(), TGroupButton::SavePrimitive(), TPaveLabel::SavePrimitive(), TSlider::SavePrimitive(), TCurlyArc::SavePrimitive(), TCutG::SavePrimitive(), TPaveStats::SavePrimitive(), TButton::SavePrimitive(), TH1K::SavePrimitive(), TPaletteAxis::SavePrimitive(), TWbox::SavePrimitive(), TArrow::SavePrimitive(), TCurlyLine::SavePrimitive(), TLegend::SavePrimitive(), TGraphErrors::SavePrimitive(), TPolyLine3D::SavePrimitive(), TPaveText::SavePrimitive(), THelix::SavePrimitive(), TGraphAsymmErrors::SavePrimitive(), TLine::SavePrimitive(), TPolyLine::SavePrimitive(), TMarker3DBox::SavePrimitive(), TPave::SavePrimitive(), TEllipse::SavePrimitive(), TBox::SavePrimitive(), TGraphBentErrors::SavePrimitive(), TTreePerfStats::SavePrimitive(), TEfficiency::SavePrimitive(), TLatex::SavePrimitive(), TGraph2D::SavePrimitive(), TGraph::SavePrimitive(), TSpline3::SavePrimitive(), TSpline5::SavePrimitive(), TH1::SavePrimitiveHelp(), TEveLine::WriteVizParams(), TEveStraightLineSet::WriteVizParams(), and TEveTrackList::WriteVizParams().
|
virtual |
Invoke the DialogCanvas Line attributes.
Reimplemented in TGWin32VirtualXProxy.
Definition at line 277 of file TAttLine.cxx.
Referenced by TLegend::EditEntryAttLine(), TVolumeView::SetLineAttributes(), RooPlot::SetLineAttributes(), and TVolumePosition::SetLineAttributes().
Reimplemented in TGeoVolumeMulti, TGeoVolume, TGWin32, TGX11, TEveTrackList, TVirtualX, TPostScript, TSpider, TGWin32VirtualXProxy, TPDF, TEveStraightLineSet, TTeXDump, TSVG, TGQuartz, TPaletteAxis, TParallelCoordRange, and TEveLine.
Definition at line 54 of file TAttLine.h.
Referenced by RooStats::SamplingDistPlot::AddLine(), RooStats::SamplingDistPlot::AddSamplingDistribution(), TSpider::AddVariable(), TMVA::annconvergencetest(), ApplicationWindow::ApplicationWindow(), TMVA::ROCCalc::ApplySignalAndBackgroundStyle(), TMVA::bdtcontrolplots(), TSelectorDraw::Begin(), binarySearchTime(), TMVA::boostcontrolplots(), ClassImp(), TMVA::compareanapp(), compareFunctions(), RooMinuit::contour(), RooMinimizer::contour(), TMVA::correlationscatters(), TMVA::correlationscattersMultiClass(), TF2::CreateHistogram(), TVolume::CreateTNode(), TSpider::DeleteVariable(), TF1::DoCreateHistogram(), doFit(), TF1::DoInitialize(), TAttLineEditor::DoLineAlphaColor(), TAttLineEditor::DoLineColor(), TAttLineEditor::DoLiveAlpha(), TProofProgressMemoryPlot::DoPlot(), TProofProgressDialog::DoPlotRateGraph(), TH2::DoProfile(), TH3::DoProject1D(), TH3::DoProject2D(), TH2::DoProjection(), TParallelCoordEditor::DoSelectLineColor(), TH1Editor::DoSliderMoved(), TH1Editor::DoSliderPressed(), TH2Editor::DoSliderXMoved(), TH2Editor::DoSliderXPressed(), TH2Editor::DoSliderYMoved(), TH2Editor::DoSliderYPressed(), RooStats::HypoTestInverterPlot::Draw(), RooStats::LikelihoodIntervalPlot::Draw(), TParallelCoord::Draw(), TASImage::Draw(), TGenerator::Draw(), TMVA::draw_layer(), TMVA::draw_synapse(), TGaxis::DrawAxis(), TGeoPainter::DrawBatemanSol(), RooStats::MCMCIntervalPlot::DrawChainScatter(), TLatex::DrawCircle(), TPad::DrawColorTable(), TKDE::DrawConfidenceInterval(), TAdvancedGraphicsDialog::DrawConfidenceLevels(), TProofBench::DrawCPU(), DrawData(), TProofBench::DrawDataSet(), TMLPAnalyzer::DrawDInputs(), TPad::DrawDist(), TProofBench::DrawEfficiency(), TPainter3dAlgorithms::DrawFaceMode1(), TPainter3dAlgorithms::DrawFaceMode2(), TPainter3dAlgorithms::DrawFaceMode3(), TPainter3dAlgorithms::DrawFaceMove1(), TPainter3dAlgorithms::DrawFaceMove2(), TPainter3dAlgorithms::DrawFaceMove3(), TPainter3dAlgorithms::DrawFaceRaster1(), TPainter3dAlgorithms::DrawFaceRaster2(), DrawFunction(), RooStats::MCMCIntervalPlot::DrawHistInterval(), TMVA::StatDialogMVAEffs::DrawHistograms(), RooStats::MCMCIntervalPlot::DrawKeysPdfInterval(), TLatex::DrawLine(), TStructViewerGUI::DrawLink(), TSpectrum2Painter::DrawMarker(), TMLPAnalyzer::DrawNetwork(), TPolyLine3D::DrawOutlineCube(), TLatex::DrawParenthesis(), drawPoints(), TSpider::DrawPoly(), TSpider::DrawPolyAverage(), TGeoPainter::DrawPolygon(), TAdvancedGraphicsDialog::DrawScan(), TSpider::DrawSlices(), TSpider::DrawSlicesAverage(), RooStats::MCMCIntervalPlot::DrawTailFractionInterval(), TMLPAnalyzer::DrawTruthDeviationInsOut(), TMLPAnalyzer::DrawTruthDeviations(), TProofPerfAnalysis::FileRatePlot(), TProofPerfAnalysis::FillWrkInfo(), TLatex::FirstParse(), RooStats::HistFactory::FormatFrameForLikelihood(), GAMinTutorial(), RooStats::HistFactory::HistFactoryNavigation::GetChannelStack(), TPad::GetFrame(), TGaxis::ImportAxisAttributes(), TNode::ImportShapeAttributes(), TVolume::ImportShapeAttributes(), TPie::Init(), RooCurve::initialize(), TInspectCanvas::InspectObject(), TMVA::likelihoodrefs(), TASPaletteEditor::LimitLine::LimitLine(), RooCurve::makeErrorBand(), TStyleManager::ModLineColor(), TMVA::mvas(), TMVA::mvaweights(), TDiamond::Paint(), TSpectrum2Painter::Paint(), TSpline::Paint(), TGraphEdge::Paint(), TPolyLineShape::Paint(), TGraphNode::Paint(), TPrimary::Paint(), TTreePerfStats::Paint(), TPie::Paint(), TNode::Paint(), TASImage::Paint(), TParallelCoord::Paint(), TF2::Paint(), TGraph2D::Paint(), TParticle::Paint(), TAxis3D::PaintAxis(), TGaxis::PaintAxis(), TH1Editor::PaintBox3D(), TParallelCoordVar::PaintBoxPlot(), TColorWheel::PaintCircle(), TGraph2DPainter::PaintContour(), THistPainter::PaintContour(), TParallelCoord::PaintEntries(), TGraph2DPainter::PaintErrors(), THistPainter::PaintErrors(), TPad::PaintFillAreaHatches(), TGraphPainter::PaintGraphAsymmErrors(), TGraphPainter::PaintGraphBentErrors(), TGraphPainter::PaintGraphErrors(), TGraphPainter::PaintGrapHist(), TMarker3DBox::PaintH3(), THistPainter::PaintHist(), TParallelCoordVar::PaintHistogram(), TLatex::PaintLatex1(), THistPainter::PaintLego(), TPolyLineShape::PaintNode(), TGraph2DPainter::PaintPolyLine(), TColorWheel::PaintRectangles(), TVolume::PaintShape(), TGraph2DPainter::PaintTriangles_new(), TGraph2DPainter::PaintTriangles_old(), piRandom(), TMVA::plot_efficiencies(), RooAbsData::plotOn(), RooFitResult::plotOn(), RooAbsReal::plotOn(), RooAbsReal::plotOnWithErrorBand(), RooDataSet::plotOnXY(), TGeoChecker::RandomRays(), TProofPerfAnalysis::RatePlot(), TMVA::rulevisCorr(), TMVA::rulevisHists(), RooUnitTest::runCompTests(), RooStats::HypoTestInverter::RunLimit(), TPad::SetAttLinePS(), TSpider::SetAverageLineColor(), TPolyLineShape::SetColorAttribute(), TProofDraw::SetDrawAtt(), TPie::SetEntryLineColor(), TParallelCoordRange::SetLineColor(), TPaletteAxis::SetLineColor(), TGQuartz::SetLineColor(), RooStats::SamplingDistPlot::SetLineColor(), RooPlot::SetLineColor(), TSpider::SetLineColor(), TGX11::SetLineColor(), TGeoVolume::SetLineColor(), TVirtualGeoTrack::SetName(), TSpider::SetNx(), TSpider::SetNy(), TSpider::SetSegmentDisplay(), TMVA::TMVAGlob::SetSignalAndBackgroundStyle(), TMVA::TMVAGlob::SetTMVAStyle(), TClassTree::ShowCod(), TPad::ShowGuidelines(), TClassTree::ShowHas(), TClassTree::ShowMul(), TClassTree::ShowRef(), TPie::SortSlices(), stdsort(), TSelectorDraw::TakeAction(), TSelectorDraw::TakeEstimate(), testBinomial(), testCompatibility(), testCont1D(), testDisc1D(), testPermute(), testPoisson(), testProbVector(), TGeoTrack::TGeoTrack(), TNode::TNode(), TPave::TPave(), TMultiLayerPerceptron::Train(), TShape::TShape(), TTree::TTree(), TTreePerfStats::TTreePerfStats(), TVolume::TVolume(), unuranHist(), TFrame::UseCurrentStyle(), TGraph::UseCurrentStyle(), TH1::UseCurrentStyle(), and TTree::UseCurrentStyle().
Set a transparent line color.
lalpha defines the percentage of the color opacity from 0. (fully transparent) to 1. (fully opaque).
Definition at line 286 of file TAttLine.cxx.
Reimplemented in TGeoVolumeMulti, TGeoVolume, TGWin32, TGX11, TEveTrackList, TVirtualX, TPostScript, TSpider, TGWin32VirtualXProxy, TPDF, TTeXDump, TSVG, TGQuartz, and TEveLine.
Definition at line 56 of file TAttLine.h.
Referenced by TSpider::AddVariable(), TSelectorDraw::Begin(), RooMinuit::contour(), RooMinimizer::contour(), TF2::CreateHistogram(), TVolume::CreateTNode(), TSpider::DeleteVariable(), TMVA::deviations(), TF1::DoCreateHistogram(), TF1::DoInitialize(), TAttLineEditor::DoLineStyle(), TProofProgressMemoryPlot::DoPlot(), TProofProgressDialog::DoPlotRateGraph(), RooStats::HypoTestInverterPlot::Draw(), RooStats::LikelihoodIntervalPlot::Draw(), TMultiLayerPerceptron::Draw(), TGenerator::Draw(), TGaxis::DrawAxis(), TGeoPainter::DrawBatemanSol(), TPainter3dAlgorithms::DrawFaceMode2(), TPainter3dAlgorithms::DrawFaceMode3(), TPainter3dAlgorithms::DrawFaceMove1(), TPainter3dAlgorithms::DrawFaceMove2(), TPainter3dAlgorithms::DrawFaceMove3(), TPainter3dAlgorithms::DrawFaceRaster1(), TPainter3dAlgorithms::DrawFaceRaster2(), DrawFunction(), TFitParametersDialog::DrawFunction(), TSpectrum2Painter::DrawMarker(), TPolyLine3D::DrawOutlineCube(), drawPoints(), TSpider::DrawPoly(), TSpider::DrawPolyAverage(), TSpider::DrawSlices(), TSpider::DrawSlicesAverage(), TPad::GetFrame(), TNode::ImportShapeAttributes(), TVolume::ImportShapeAttributes(), TPie::Init(), TInspectCanvas::InspectObject(), TStyleManager::ModLineStyle(), TSpectrum2Painter::Paint(), TSpline::Paint(), TGraphEdge::Paint(), TGraphNode::Paint(), TPrimary::Paint(), TPie::Paint(), TNode::Paint(), TF2::Paint(), TGraph2D::Paint(), TParticle::Paint(), THistPainter::PaintArrows(), TGaxis::PaintAxis(), TParallelCoordVar::PaintBoxPlot(), THistPainter::PaintCandlePlot(), TGraph2DPainter::PaintContour(), THistPainter::PaintContour(), TParallelCoord::PaintEntries(), TGraph2DPainter::PaintErrors(), THistPainter::PaintErrors(), TPad::PaintFillAreaHatches(), TGraphPainter::PaintGraphQQ(), THistPainter::PaintHist(), TParallelCoordVar::PaintHistogram(), TGraph2DPainter::PaintLevels(), TGraphPolargram::PaintPolarDivisions(), TGraph2DPainter::PaintPolyLine(), TGraphPolargram::PaintRadialDivisions(), TVolume::PaintShape(), TGraph2DPainter::PaintTriangles_new(), TGraph2DPainter::PaintTriangles_old(), THistPainter::PaintViolinPlot(), RooAbsData::plotOn(), RooFitResult::plotOn(), RooAbsReal::plotOn(), RooAbsReal::plotOnWithErrorBand(), RooDataSet::plotOnXY(), RooUnitTest::runCompTests(), RooStats::HypoTestInverter::RunLimit(), TPad::SetAttLinePS(), TSpider::SetAverageLineStyle(), TPie::SetEntryLineStyle(), TEveLine::SetLineStyle(), TGQuartz::SetLineStyle(), RooStats::SamplingDistPlot::SetLineStyle(), RooPlot::SetLineStyle(), TSpider::SetLineStyle(), TGeoVolume::SetLineStyle(), TVirtualGeoTrack::SetName(), TSpider::SetNx(), TSpider::SetNy(), TSpider::SetSegmentDisplay(), TPolyLineShape::SetStyleAttribute(), TClassTree::ShowHas(), TClassTree::ShowMul(), TPie::SortSlices(), TSelectorDraw::TakeAction(), TSelectorDraw::TakeEstimate(), TPave::TPave(), TTree::TTree(), TVolume::TVolume(), TFrame::UseCurrentStyle(), TGraph::UseCurrentStyle(), TH1::UseCurrentStyle(), and TTree::UseCurrentStyle().
Reimplemented in TGeoVolumeMulti, TGeoVolume, TGWin32, TGX11, TEveTrackList, TVirtualX, TPostScript, TSpider, TGWin32VirtualXProxy, TPDF, TTeXDump, TSVG, TGQuartz, TPaletteAxis, TParallelCoordRange, and TEveLine.
Definition at line 57 of file TAttLine.h.
Referenced by RooStats::SamplingDistPlot::AddLine(), RooStats::SamplingDistPlot::AddSamplingDistributionShaded(), TSpider::AddVariable(), TLatex::Analyse(), TMVA::annconvergencetest(), ApplicationWindow::ApplicationWindow(), TMVA::ROCCalc::ApplySignalAndBackgroundStyle(), TMVA::bdtcontrolplots(), TSelectorDraw::Begin(), binarySearchTime(), TMVA::boostcontrolplots(), TMVA::compareanapp(), compareFunctions(), RooMinuit::contour(), RooMinimizer::contour(), TMVA::correlationscatters(), TMVA::correlationscattersMultiClass(), TF2::CreateHistogram(), TVolume::CreateTNode(), TSpider::DeleteVariable(), TF1::DoCreateHistogram(), doFit(), TGraphEditor::DoGraphLineWidth(), TF1::DoInitialize(), TAttLineEditor::DoLineWidth(), TProofProgressMemoryPlot::DoPlot(), TProofProgressDialog::DoPlotRateGraph(), TParallelCoordEditor::DoSelectLineWidth(), TH1Editor::DoSliderMoved(), TH1Editor::DoSliderPressed(), TH2Editor::DoSliderXMoved(), TH2Editor::DoSliderXPressed(), TH2Editor::DoSliderYMoved(), TH2Editor::DoSliderYPressed(), RooStats::LikelihoodIntervalPlot::Draw(), TMultiLayerPerceptron::Draw(), TGenerator::Draw(), Rgl::Draw2DAxis(), TMVA::draw_synapse(), TGaxis::DrawAxis(), TGeoPainter::DrawBatemanSol(), TMVA::DrawCell(), DrawData(), TPad::DrawDist(), TPainter3dAlgorithms::DrawFaceMode2(), TPainter3dAlgorithms::DrawFaceMode3(), TPainter3dAlgorithms::DrawFaceMove1(), TPainter3dAlgorithms::DrawFaceMove2(), TPainter3dAlgorithms::DrawFaceMove3(), TPainter3dAlgorithms::DrawFaceRaster1(), TPainter3dAlgorithms::DrawFaceRaster2(), DrawFunction(), RooStats::MCMCIntervalPlot::DrawHistInterval(), TMVA::StatDialogMVAEffs::DrawHistograms(), RooStats::MCMCIntervalPlot::DrawKeysPdfInterval(), TStructViewerGUI::DrawLink(), TSpectrum2Painter::DrawMarker(), TMVA::StatDialogBDTReg::DrawNode(), TMVA::StatDialogBDT::DrawNode(), TPolyLine3D::DrawOutlineCube(), drawPoints(), TSpider::DrawPoly(), TSpider::DrawPolyAverage(), TAdvancedGraphicsDialog::DrawScan(), TSpider::DrawSlices(), TSpider::DrawSlicesAverage(), RooStats::MCMCIntervalPlot::DrawTailFractionInterval(), TLatex::FirstParse(), TPad::GetFrame(), TNode::ImportShapeAttributes(), TVolume::ImportShapeAttributes(), TPie::Init(), RooCurve::initialize(), TInspectCanvas::InspectObject(), TMVA::likelihoodrefs(), TASPaletteEditor::LimitLine::LimitLine(), RooCurve::makeErrorBand(), RooStats::HypoTestInverterPlot::MakePlot(), TStyleManager::ModLineWidth(), TMVA::mvas(), TMVA::mvaweights(), TSpectrum2Painter::Paint(), TSpline::Paint(), TGraphEdge::Paint(), TPolyLineShape::Paint(), TGraphNode::Paint(), TPrimary::Paint(), TNode::Paint(), TPie::Paint(), TF2::Paint(), TGraph2D::Paint(), TParticle::Paint(), THistPainter::PaintArrows(), TAxis3D::PaintAxis(), TGaxis::PaintAxis(), TH1Editor::PaintBox3D(), TParallelCoordVar::PaintBoxPlot(), THistPainter::PaintCandlePlot(), TGraph2DPainter::PaintContour(), THistPainter::PaintContour(), TParallelCoord::PaintEntries(), TGraph2DPainter::PaintErrors(), THistPainter::PaintErrors(), TPad::PaintFillAreaHatches(), TGraphPainter::PaintGraphAsymmErrors(), TGraphPainter::PaintGraphBentErrors(), TGraphPainter::PaintGraphErrors(), THistPainter::PaintHist(), TParallelCoordVar::PaintHistogram(), TLatex::PaintLatex1(), THistPainter::PaintLegoAxis(), TGraph2DPainter::PaintPolyLine(), TColorWheel::PaintRectangles(), TVolume::PaintShape(), THistPainter::PaintViolinPlot(), piRandom(), TMVA::plot_efficiencies(), RooAbsData::plotOn(), RooFitResult::plotOn(), RooAbsReal::plotOn(), RooAbsReal::plotOnWithErrorBand(), RooDataSet::plotOnXY(), TMVA::probas(), TGeoChecker::RandomRays(), TStyle::Reset(), TMVA::rulevisHists(), RooUnitTest::runCompTests(), RooStats::HypoTestInverter::RunLimit(), TPad::SetAttLinePS(), TSpider::SetAverageLineWidth(), TPie::SetEntryLineWidth(), TEveLine::SetLineWidth(), TParallelCoordRange::SetLineWidth(), TPaletteAxis::SetLineWidth(), TGQuartz::SetLineWidth(), RooStats::SamplingDistPlot::SetLineWidth(), RooPlot::SetLineWidth(), TSpider::SetLineWidth(), TGeoVolume::SetLineWidth(), TVirtualGeoTrack::SetName(), TSpider::SetNx(), TSpider::SetNy(), TSpider::SetSegmentDisplay(), TMVA::TMVAGlob::SetSignalAndBackgroundStyle(), TPolyLineShape::SetSizeAttribute(), TPie::SortSlices(), stdsort(), TSelectorDraw::TakeAction(), TSelectorDraw::TakeEstimate(), testPermute(), TGeoTrack::TGeoTrack(), TLatex::TLatex(), TStyle::TStyle(), TTree::TTree(), TVolume::TVolume(), TFrame::UseCurrentStyle(), TGraph::UseCurrentStyle(), TH1::UseCurrentStyle(), and TTree::UseCurrentStyle().
|
protected |
Definition at line 35 of file TAttLine.h.
Referenced by Copy(), TGaxis::DrawAxis(), TSVG::DrawBox(), TImageDump::DrawBox(), TTeXDump::DrawBox(), TPDF::DrawBox(), TPostScript::DrawBox(), TImageDump::DrawFrame(), TPDF::DrawPolyLine(), TPostScript::DrawPolyLine(), TPDF::DrawPolyLineNDC(), TPostScript::DrawPolyLineNDC(), TSVG::DrawPS(), TImageDump::DrawPS(), TTeXDump::DrawPS(), TPDF::DrawPS(), TPostScript::DrawPS(), GetLineColor(), Modify(), ResetAttLine(), SaveLineAttributes(), TGaxis::SavePrimitive(), TGeoVolume::SavePrimitive(), SetLineAttributes(), TSVG::SetLineColor(), TTeXDump::SetLineColor(), TPDF::SetLineColor(), TPostScript::SetLineColor(), TEveTrackList::SetLineColor(), TGWin32::SetLineColor(), SetLineColorAlpha(), TEveTrackList::SetMainColor(), TAttLine(), TEveLine::TEveLine(), TEveStraightLineSet::TEveStraightLineSet(), TEveTrack::TEveTrack(), TEveTrackList::TEveTrackList(), TGWin32::UpdateLineColor(), and TPostScript::Zone().
|
protected |
Definition at line 36 of file TAttLine.h.
Referenced by Copy(), TGaxis::DrawAxis(), TPDF::DrawPolyLine(), TPostScript::DrawPolyLine(), TPDF::DrawPolyLineNDC(), TPostScript::DrawPolyLineNDC(), TPDF::DrawPolyMarker(), TPostScript::DrawPolyMarker(), TImageDump::DrawPS(), TSVG::DrawPS(), TTeXDump::DrawPS(), TPDF::DrawPS(), TPostScript::DrawPS(), GetLineStyle(), TGraphPolargram::Init(), Modify(), ResetAttLine(), SaveLineAttributes(), TGaxis::SavePrimitive(), TGeoVolume::SavePrimitive(), SetLineAttributes(), TSVG::SetLineStyle(), TTeXDump::SetLineStyle(), TPDF::SetLineStyle(), TPostScript::SetLineStyle(), TEveTrackList::SetLineStyle(), TGX11::SetLineStyle(), TGWin32::SetLineStyle(), TAttLine(), TGWin32::UpdateLineStyle(), and TPostScript::Zone().
|
protected |
Definition at line 37 of file TAttLine.h.
Referenced by Copy(), DistancetoLine(), TBox::DistancetoPrimitive(), TPad::DistancetoPrimitive(), TGaxis::DrawAxis(), TSVG::DrawBox(), TImageDump::DrawBox(), TTeXDump::DrawBox(), TPDF::DrawBox(), TPostScript::DrawBox(), TPDF::DrawPolyLine(), TPostScript::DrawPolyLine(), TPDF::DrawPolyLineNDC(), TPostScript::DrawPolyLineNDC(), TSVG::DrawPolyMarker(), TPDF::DrawPolyMarker(), TPostScript::DrawPolyMarker(), TSVG::DrawPS(), TImageDump::DrawPS(), TTeXDump::DrawPS(), TPDF::DrawPS(), TPostScript::DrawPS(), GetLineWidth(), Modify(), TPDF::NewPage(), ResetAttLine(), SaveLineAttributes(), TGaxis::SavePrimitive(), TGeoVolume::SavePrimitive(), TPostScript::SetFillPatterns(), SetLineAttributes(), TGWin32::SetLineType(), TSVG::SetLineWidth(), TTeXDump::SetLineWidth(), TPDF::SetLineWidth(), TPostScript::SetLineWidth(), TEveTrackList::SetLineWidth(), TGX11::SetLineWidth(), TGWin32::SetLineWidth(), TAttLine(), and TPostScript::Zone().