12 TCanvas *
c1 =
new TCanvas(
"c1",
"PolyLine3D & PolyMarker3D Window",200,10,700,500);
15 TPad *
p1 =
new TPad(
"p1",
"p1",0.05,0.02,0.95,0.82,46,3,1);
99 title->
AddText(
"Examples of 3-D primitives");
100 TText *click=title->
AddText(
"Click anywhere on the picture to rotate");
virtual void SetLineWidth(Width_t lwidth)
Set the line width.
virtual void Draw(Option_t *option="")
Draw this pavetext with its current attributes.
TVirtualPad * cd(Int_t subpadnumber=0)
Set current canvas & pad.
virtual TText * AddText(Double_t x1, Double_t y1, const char *label)
Add a new Text line to this pavetext at given coordinates.
virtual void SetRange(const Double_t *min, const Double_t *max)=0
A 3-dimensional polyline.
TVirtualPad * cd(Int_t subpadnumber=0)
Set Current pad.
virtual void SetMarkerColor(Color_t mcolor=1)
Set the marker color.
Base class for several text objects.
virtual void Draw(Option_t *option="")
Draw Pad in Current pad (re-parent pad if necessary).
virtual void SetLineColor(Color_t lcolor)
Set the line color.
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
The most important graphics class in the ROOT system.
virtual void SetMarkerStyle(Style_t mstyle=1)
Set the marker style.
static double p1(double t, double a, double b)
virtual void Draw(Option_t *option="")
Draws 3-D polymarker with its current attributes.
virtual void SetMarkerSize(Size_t msize=1)
Set the marker size.
virtual void Draw(Option_t *option="")
Draw this 3-D polyline with its current attributes.
void SetPoint(Int_t n, Double_t x, Double_t y, Double_t z)
Set point n to x, y, z.
virtual void SetPoint(Int_t point, Double_t x, Double_t y, Double_t z)
Set point n to x, y, z.
A Pave (see TPave) with text, lines or/and boxes inside.
static TView * CreateView(Int_t system=1, const Double_t *rmin=0, const Double_t *rmax=0)
Create a concrete default 3-d view via the plug-in manager.
virtual void SetTextColor(Color_t tcolor=1)
Set the text color.