133   for (
Int_t i=0; i<3*
n; i++) {
 
 
  152   for (
Int_t i=0; i<3*
n; i++) {
 
 
  172   for (
Int_t i=0; i<
n;i++) {
 
 
  196   for (
Int_t i=0; i<
n;i++) {
 
 
  211      pl.TPolyLine3D::Copy(*
this);
 
 
  220   if (
fP) 
delete [] 
fP;
 
 
  277   if (!view) 
return dist;
 
  282   for (i=0;i<
Size()-1;i++) {
 
 
  412   if (
gPad->GetView()) 
gPad->GetView()->ExecuteRotateView(event, px, py);
 
 
  421   std::cout <<
"PolyLine3D  N=" <<
fN<<
" Option="<<
option<<std::endl;
 
 
  437         Error(
"Add",
"Attempt to add object of class: %s to a %s",
pl->ClassName(),
this->ClassName());
 
 
  467   if (
Size() <= 0) 
return;
 
  502      for (i=0; i<3*buffer.
NbPnts(); i++) {
 
  526      for (i = 0; i < buffer.
NbSegs(); i++) {
 
  528         buffer.
fSegs[3*i+1] = i;
 
  529         buffer.
fSegs[3*i+2] = i+1;
 
 
  550         printf(
" x[%d]=%g, y[%d]=%g, z[%d]=%g\n",i,
fP[3*i],i,
fP[3*i+1],i,
fP[3*i+2]);
 
 
  565      out<<
"   TPolyLine3D *";
 
  574         out<<
"   pline3D->SetPoint("<<i<<
","<<
fP[3*i]<<
","<<
fP[3*i+1]<<
","<<
fP[3*i+2]<<
");"<<std::endl;
 
  576   out<<
"   pline3D->Draw();"<<std::endl;
 
 
  598   if (!
fP || 
n >= 
fN) {
 
 
  631   if (
fP) 
delete [] 
fP;
 
 
  652   if (
fP) 
delete [] 
fP;
 
  657         fP[3*i+1] = 
p[3*i+1];
 
  658         fP[3*i+2] = 
p[3*i+2];
 
 
  681   if (
fP) 
delete [] 
fP;
 
 
  704      b.ClassMember(
"TObject");
 
  706      b.ClassMember(
"TAttLine");
 
  708      b.ClassMember(
"fN", 
"Int_t");
 
  712         b.ClassMember(
"fP", 
"Float_t", 3 * 
fN);
 
  713         b.ReadFastArray(
fP, 3 * 
fN);
 
  715      b.ClassMember(
"fOption", 
"TString");
 
  723      b.ClassMember(
"TObject");
 
  725      b.ClassMember(
"TAttLine");
 
  727      b.ClassMember(
"fN", 
"Int_t");
 
  731         b.ClassMember(
"fP", 
"Float_t", 3 * 
size);
 
  732         b.WriteFastArray(
fP, 3 * 
size);
 
  734      b.ClassMember(
"fOption", 
"TString");
 
 
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
winID h TVirtualViewer3D TVirtualGLPainter p
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t np
 
Option_t Option_t TPoint TPoint const char x2
 
Option_t Option_t TPoint TPoint const char x1
 
Option_t Option_t TPoint TPoint const char y2
 
Option_t Option_t TPoint TPoint const char y1
 
R__EXTERN TGeometry * gGeometry
 
Use this attribute class when an object should have 3D capabilities.
 
virtual void Streamer(TBuffer &)
 
virtual Color_t GetLineColor() const
Return the line color.
 
virtual Width_t GetLineWidth() const
Return the line width.
 
virtual Style_t GetLineStyle() const
Return the line style.
 
virtual void Modify()
Change current line attributes if necessary.
 
void Copy(TAttLine &attline) const
Copy this line attributes to a new TAttLine.
 
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.
 
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.
 
Generic 3D primitive description class.
 
Bool_t SectionsValid(UInt_t mask) const
 
void ClearSectionsValid()
Clear any sections marked valid.
 
void SetSectionsValid(UInt_t mask)
 
Bool_t SetRawSizes(UInt_t reqPnts, UInt_t reqPntsCapacity, UInt_t reqSegs, UInt_t reqSegsCapacity, UInt_t reqPols, UInt_t reqPolsCapacity)
Set kRaw tessellation section of buffer with supplied sizes.
 
Buffer base class used for serializing objects.
 
Collection abstract base class.
 
virtual void Local2Master(Double_t *local, Double_t *master)
Convert one point from local system to master reference system.
 
Mother of all ROOT objects.
 
virtual void Streamer(TBuffer &)
Stream an object of class TObject.
 
virtual void AppendPad(Option_t *option="")
Append graphics object to current pad.
 
void SetBit(UInt_t f, Bool_t set)
Set or unset the user status bits as specified in f.
 
virtual void Copy(TObject &object) const
Copy this to obj.
 
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
 
@ kCanDelete
if object in a list can be deleted
 
A 3-dimensional polyline.
 
TPolyLine3D & operator=(const TPolyLine3D &polylin)
assignment operator
 
TPolyLine3D()
3-D polyline default constructor.
 
static void DrawOutlineCube(TList *outline, Double_t *rmin, Double_t *rmax)
Draw cube outline with 3d polylines.
 
void Paint(Option_t *option="") override
Paint a TPolyLine3D.
 
virtual void SetPoint(Int_t point, Double_t x, Double_t y, Double_t z)
Set point n to x, y, z.
 
virtual Int_t SetNextPoint(Double_t x, Double_t y, Double_t z)
Set point following LastPoint to x, y, z.
 
virtual Int_t Merge(TCollection *list)
Merge polylines in the collection in this polyline.
 
Int_t fLastPoint
The index of the last filled point.
 
Int_t fN
Number of points.
 
void SavePrimitive(std::ostream &out, Option_t *option="") override
Save primitive as a C++ statement(s) on output stream.
 
~TPolyLine3D() override
3-D polyline destructor.
 
void ExecuteEvent(Int_t event, Int_t px, Int_t py) override
Execute action corresponding to one event.
 
virtual Int_t Size() const
 
void ls(Option_t *option="") const override
List this 3-D polyline.
 
void Draw(Option_t *option="") override
Draw this 3-D polyline with its current attributes.
 
virtual void SetPolyLine(Int_t n, Option_t *option="")
Re-initialize polyline with n points (0,0,0).
 
void Copy(TObject &polyline) const override
Copy polyline to polyline obj.
 
void Streamer(TBuffer &) override
Stream a 3-D polyline object.
 
virtual void DrawPolyLine(Int_t n, Float_t *p, Option_t *option="")
Draw 3-D polyline with new coordinates.
 
void Print(Option_t *option="") const override
Dump this 3-D polyline with its attributes on stdout.
 
TClass * IsA() const override
 
Int_t DistancetoPrimitive(Int_t px, Int_t py) override
Compute distance from point px,py to a 3-D polyline.
 
Float_t * fP
[3*fN] Array of 3-D coordinates (x,y,z)
 
static void IndentLevel()
Functions used by ls() to indent an object hierarchy.
 
void ToLower()
Change string to lower-case.
 
virtual void Streamer(TBuffer &)
Stream a string object.
 
Bool_t Contains(const char *pat, ECaseCompare cmp=kExact) const
 
virtual void WCtoNDC(const Float_t *pw, Float_t *pn)=0
 
Abstract 3D shapes viewer.
 
Short_t Max(Short_t a, Short_t b)
Returns the largest of a and b.