TCanvas *
c1 =
new TCanvas(
"c1",
"PolyLine3D & PolyMarker3D Window",200,10,700,500);
TPad *
p1 =
new TPad(
"p1",
"p1",0.05,0.02,0.95,0.82,46,3,1);
pl3d1->SetPoint(0, 10, 10, 10);
pl3d1->SetPoint(1, 15, 15, 10);
pl3d1->SetPoint(2, 20, 15, 15);
pl3d1->SetPoint(3, 20, 20, 20);
pl3d1->SetPoint(4, 10, 10, 20);
pl3d2->SetPoint(0, 5, 10, 5);
pl3d2->SetPoint(1, 10, 15, 8);
pl3d2->SetPoint(2, 15, 15, 18);
pl3d2->SetPoint(3, 5, 20, 20);
pl3d2->SetPoint(4, 10, 10, 5);
pm3d1->SetPoint(0, 10, 10, 10);
pm3d1->SetPoint(1, 11, 15, 11);
pm3d1->SetPoint(2, 12, 15, 9);
pm3d1->SetPoint(3, 13, 17, 20);
pm3d1->SetPoint(4, 14, 16, 15);
pm3d1->SetPoint(5, 15, 20, 15);
pm3d1->SetPoint(6, 16, 18, 10);
pm3d1->SetPoint(7, 17, 15, 10);
pm3d1->SetPoint(8, 18, 22, 15);
pm3d1->SetPoint(9, 19, 28, 25);
pm3d1->SetPoint(10, 20, 12, 15);
pm3d1->SetPoint(11, 21, 12, 15);
pm3d1->SetMarkerColor(4);
pm3d1->SetMarkerStyle(2);
pm3d2->SetPoint(0, 22, 15, 15);
pm3d2->SetPoint(1, 23, 18, 21);
pm3d2->SetPoint(2, 24, 26, 13);
pm3d2->SetPoint(3, 25, 17, 15);
pm3d2->SetPoint(4, 26, 20, 15);
pm3d2->SetPoint(5, 27, 15, 18);
pm3d2->SetPoint(6, 28, 20, 10);
pm3d2->SetPoint(7, 29, 20, 20);
pm3d2->SetMarkerColor(1);
pm3d2->SetMarkerStyle(8);
title->
AddText(
"Examples of 3-D primitives");
}
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
The most important graphics class in the ROOT system.
A Pave (see TPave) with text, lines or/and boxes inside.
virtual TText * AddText(Double_t x1, Double_t y1, const char *label)
Add a new Text line to this pavetext at given coordinates.
void Draw(Option_t *option="") override
Draw this pavetext with its current attributes.
A 3-dimensional polyline.
Base class for several text objects.
static TView * CreateView(Int_t system=1, const Double_t *rmin=nullptr, const Double_t *rmax=nullptr)
Create a concrete default 3-d view via the plug-in manager.
virtual void SetRange(const Double_t *min, const Double_t *max)=0