ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes | List of all members
TAttLine Class Reference

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

Line attributes are:

Line Color

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.

pict1_TAttLine_001.png

Color transparency

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.

Line Width

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.

pict1_TAttLine_002.png

Line Style

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:

pict1_TAttLine_003.png

Additional line styles can be defined using TStyle::SetLineStyleString. For example the line style number 11 can be defined as follow:

gStyle->SetLineStyleString(11,"400 200");

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>

Inheritance diagram for TAttLine:
[legend]

Constructor & Destructor Documentation

TAttLine::TAttLine ( )

AttLine default constructor.

Definition at line 125 of file TAttLine.cxx.

TAttLine::TAttLine ( Color_t  color,
Style_t  style,
Width_t  width 
)

AttLine normal constructor.

Line attributes are taking from the argument list

  • color : must be one of the valid color index
  • style : 1=solid, 2=dash, 3=dash-dot, 4=dot-dot. New styles can be defined using TStyle::SetLineStyleString.
  • width : expressed in pixel units

Definition at line 142 of file TAttLine.cxx.

TAttLine::~TAttLine ( )
virtual

AttLine destructor.

Definition at line 152 of file TAttLine.cxx.

Member Function Documentation

TAttLine::ClassDef ( TAttLine  ,
 
)
void TAttLine::Copy ( TAttLine attline) const
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:

A(x1,y1) P B(x2,y2)
-----------------+------------------------------
|
|
|
|
M(x,y)
Let us call a = distance AM A=a**2
b = distance BM B=b**2
c = distance AB C=c**2
d = distance PM D=d**2
u = distance AP U=u**2
v = distance BP V=v**2 c = u + v
D = A - U
D = B - V = B -(c-u)**2
==> u = (A -B +C)/2c

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().

virtual Color_t TAttLine::GetLineColor ( ) const
inlinevirtual

Reimplemented in TGWin32VirtualXProxy.

Definition at line 47 of file TAttLine.h.

Referenced by 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(), TF1::SavePrimitive(), TStyle::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().

virtual Style_t TAttLine::GetLineStyle ( ) const
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(), TF1::SavePrimitive(), TStyle::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().

virtual Width_t TAttLine::GetLineWidth ( ) const
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(), TF1::SavePrimitive(), TStyle::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().

void TAttLine::Modify ( )
virtual
void TAttLine::ResetAttLine ( Option_t option = "")
virtual

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().

void TAttLine::SaveLineAttributes ( std::ostream &  out,
const char *  name,
Int_t  coldef = 1,
Int_t  stydef = 1,
Int_t  widdef = 1 
)
virtual
void TAttLine::SetLineAttributes ( )
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().

virtual void TAttLine::SetLineColor ( Color_t  lcolor)
inlinevirtual

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 TSpider::AddVariable(), TMVA::annconvergencetest(), TMVA::ROCCalc::ApplySignalAndBackgroundStyle(), arb8(), TMVA::bdtcontrolplots(), TSelectorDraw::Begin(), TMVA::boostcontrolplots(), box(), canvas_write(), combinedFit(), TMVA::compareanapp(), compareFunctions(), complex_1(), composite(), cone(), coneseg(), ConfidenceIntervals(), TMVA::correlationscatters(), TMVA::correlationscattersMultiClass(), create_lin_Nvar_weighted(), TF2::CreateHistogram(), TVolume::CreateTNode(), ctub(), 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::LikelihoodIntervalPlot::Draw(), TParallelCoord::Draw(), TASImage::Draw(), TGenerator::Draw(), TMVA::draw_layer(), TMVA::draw_synapse(), TGaxis::DrawAxis(), TGeoPainter::DrawBatemanSol(), 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(), TMVA::StatDialogMVAEffs::DrawHistograms(), TLatex::DrawLine(), TStructViewerGUI::DrawLink(), TSpectrum2Painter::DrawMarker(), TMLPAnalyzer::DrawNetwork(), TPolyLine3D::DrawOutlineCube(), TLatex::DrawParenthesis(), TSpider::DrawPoly(), TSpider::DrawPolyAverage(), TGeoPainter::DrawPolygon(), DrawPopulation(), TAdvancedGraphicsDialog::DrawScan(), TSpider::DrawSlices(), TSpider::DrawSlicesAverage(), TMLPAnalyzer::DrawTruthDeviationInsOut(), TMLPAnalyzer::DrawTruthDeviations(), eltu(), TProofPerfAnalysis::FileRatePlot(), TProofPerfAnalysis::FillWrkInfo(), TLatex::FirstParse(), fitCircle(), fitLinear(), fitLinearRobust(), fitMultiGraph(), fitslicesy(), FittingDemo(), GAMinTutorial(), RooStats::HistFactory::HistFactoryNavigation::GetChannelStack(), TPad::GetFrame(), gtra(), hype(), ideal(), TGaxis::ImportAxisAttributes(), TNode::ImportShapeAttributes(), TVolume::ImportShapeAttributes(), TPie::Init(), RooCurve::initialize(), TInspectCanvas::InspectObject(), TMVA::likelihoodrefs(), TASPaletteEditor::LimitLine::LimitLine(), line3Dfit(), RooCurve::makeErrorBand(), mlpHiggs(), TStyleManager::ModLineColor(), mp3player(), multifit(), TMVA::mvas(), TMVA::mvaweights(), na49(), 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(), para(), parab(), parallelcoord(), pcon(), pgon(), piRandom(), TMVA::plot_efficiencies(), RooAbsData::plotOn(), RooFitResult::plotOn(), RooAbsReal::plotOn(), RooAbsReal::plotOnWithErrorBand(), RooDataSet::plotOnXY(), portfolio(), TGeoChecker::RandomRays(), TProofPerfAnalysis::RatePlot(), rs401d_FeldmanCousins(), TMVA::rulevisCorr(), TMVA::rulevisHists(), RooUnitTest::runCompTests(), s_difference(), s_intersection(), s_union(), TPad::SetAttLinePS(), TSpider::SetAverageLineColor(), TPolyLineShape::SetColorAttribute(), TProofDraw::SetDrawAtt(), TPie::SetEntryLineColor(), TParallelCoordRange::SetLineColor(), TPaletteAxis::SetLineColor(), TGQuartz::SetLineColor(), RooPlot::SetLineColor(), TSpider::SetLineColor(), TGX11::SetLineColor(), TGeoVolume::SetLineColor(), TVirtualGeoTrack::SetName(), TSpider::SetNx(), TSpider::SetNy(), TSpider::SetSegmentDisplay(), TMVA::TMVAGlob::SetSignalAndBackgroundStyle(), TMVA::TMVAGlob::SetTMVAStyle(), shapes(), shapesAnim(), TClassTree::ShowCod(), TPad::ShowGuidelines(), TClassTree::ShowHas(), TClassTree::ShowMul(), TClassTree::ShowRef(), TPie::SortSlices(), sphere(), TSelectorDraw::TakeAction(), TSelectorDraw::TakeEstimate(), TestBinomial(), testBinomial(), testCont1D(), testDisc1D(), testEmpDistr(), testPoisson(), testProbVector(), TestSPlot(), TGeoTrack::TGeoTrack(), TNode::TNode(), torus(), TPave::TPave(), TMultiLayerPerceptron::Train(), trap(), trd1(), trd2(), TShape::TShape(), TTree::TTree(), TTreePerfStats::TTreePerfStats(), tube(), tubeseg(), TVolume::TVolume(), unuranHist(), TFrame::UseCurrentStyle(), TGraph::UseCurrentStyle(), TH1::UseCurrentStyle(), TTree::UseCurrentStyle(), xtru(), xtruDraw(), and xtruSamples().

void TAttLine::SetLineColorAlpha ( Color_t  lcolor,
Float_t  lalpha 
)
virtual

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.

virtual void TAttLine::SetLineStyle ( Style_t  lstyle)
inlinevirtual

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(), TF2::CreateHistogram(), TVolume::CreateTNode(), TSpider::DeleteVariable(), TMVA::deviations(), TF1::DoCreateHistogram(), TF1::DoInitialize(), TAttLineEditor::DoLineStyle(), TProofProgressMemoryPlot::DoPlot(), TProofProgressDialog::DoPlotRateGraph(), TMultiLayerPerceptron::Draw(), TGenerator::Draw(), TGaxis::DrawAxis(), TGeoPainter::DrawBatemanSol(), TPainter3dAlgorithms::DrawFaceMode2(), TPainter3dAlgorithms::DrawFaceMode3(), TPainter3dAlgorithms::DrawFaceMove1(), TPainter3dAlgorithms::DrawFaceMove2(), TPainter3dAlgorithms::DrawFaceMove3(), TPainter3dAlgorithms::DrawFaceRaster1(), TPainter3dAlgorithms::DrawFaceRaster2(), TFitParametersDialog::DrawFunction(), TSpectrum2Painter::DrawMarker(), TPolyLine3D::DrawOutlineCube(), 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(), TPad::SetAttLinePS(), TSpider::SetAverageLineStyle(), TPie::SetEntryLineStyle(), TEveLine::SetLineStyle(), TGQuartz::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().

virtual void TAttLine::SetLineWidth ( Width_t  lwidth)
inlinevirtual

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 TSpider::AddVariable(), TLatex::Analyse(), TMVA::annconvergencetest(), TMVA::ROCCalc::ApplySignalAndBackgroundStyle(), TMVA::bdtcontrolplots(), TSelectorDraw::Begin(), TMVA::boostcontrolplots(), canvas_write(), TMVA::compareanapp(), compareFunctions(), ConfidenceIntervals(), 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(), 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(), TMVA::StatDialogMVAEffs::DrawHistograms(), TStructViewerGUI::DrawLink(), TSpectrum2Painter::DrawMarker(), TMVA::StatDialogBDTReg::DrawNode(), TMVA::StatDialogBDT::DrawNode(), TPolyLine3D::DrawOutlineCube(), TSpider::DrawPoly(), TSpider::DrawPolyAverage(), DrawPopulation(), TAdvancedGraphicsDialog::DrawScan(), TSpider::DrawSlices(), TSpider::DrawSlicesAverage(), TLatex::FirstParse(), fitCircle(), fitLinear(), fitMultiGraph(), FittingDemo(), TPad::GetFrame(), TNode::ImportShapeAttributes(), TVolume::ImportShapeAttributes(), TPie::Init(), RooCurve::initialize(), TInspectCanvas::InspectObject(), TMVA::likelihoodrefs(), TASPaletteEditor::LimitLine::LimitLine(), RooCurve::makeErrorBand(), TStyleManager::ModLineWidth(), mp3player(), 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(), RadioNuclides(), TGeoChecker::RandomRays(), TStyle::Reset(), TMVA::rulevisHists(), RooUnitTest::runCompTests(), TPad::SetAttLinePS(), TSpider::SetAverageLineWidth(), TPie::SetEntryLineWidth(), TEveLine::SetLineWidth(), TParallelCoordRange::SetLineWidth(), TPaletteAxis::SetLineWidth(), TGQuartz::SetLineWidth(), RooPlot::SetLineWidth(), TSpider::SetLineWidth(), TGeoVolume::SetLineWidth(), TVirtualGeoTrack::SetName(), TSpider::SetNx(), TSpider::SetNy(), TSpider::SetSegmentDisplay(), TMVA::TMVAGlob::SetSignalAndBackgroundStyle(), TPolyLineShape::SetSizeAttribute(), TPie::SortSlices(), TSelectorDraw::TakeAction(), TSelectorDraw::TakeEstimate(), TestBinomial(), TGeoTrack::TGeoTrack(), TLatex::TLatex(), TStyle::TStyle(), TTree::TTree(), TVolume::TVolume(), TFrame::UseCurrentStyle(), TGraph::UseCurrentStyle(), TH1::UseCurrentStyle(), and TTree::UseCurrentStyle().

Member Data Documentation

Color_t TAttLine::fLineColor
protected
Style_t TAttLine::fLineStyle
protected
Width_t TAttLine::fLineWidth
protected

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