12 #ifndef ROOT_TPolyLine3D 13 #define ROOT_TPolyLine3D TPolyLine3D()
3-D polyline default constructor.
Option_t * GetOption() const
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py)
Execute action corresponding to one event.
Float_t * fP
[3*fN] Array of 3-D coordinates (x,y,z)
virtual void SetPolyLine(Int_t n, Option_t *option="")
Re-initialize polyline with n points (0,0,0).
Use this attribute class when an object should have 3D capabilities.
Int_t GetLastPoint() const
A 3-dimensional polyline.
virtual Int_t Merge(TCollection *list)
Merge polylines in the collection in this polyline.
#define ClassDef(name, id)
virtual void ls(Option_t *option="") const
List this 3-D polyline.
virtual ~TPolyLine3D()
3-D polyline destructor.
virtual Int_t DistancetoPrimitive(Int_t px, Int_t py)
Compute distance from point px,py to a 3-D polyline.
static void DrawOutlineCube(TList *outline, Double_t *rmin, Double_t *rmax)
Draw cube outline with 3d polylines.
virtual void Print(Option_t *option="") const
Dump this 3-D polyline with its attributes on stdout.
Collection abstract base class.
TPolyLine3D & operator=(const TPolyLine3D &polylin)
assignment operator
Int_t fN
Number of points.
virtual void SetOption(Option_t *option="")
virtual void Draw(Option_t *option="")
Draw this 3-D polyline with its current attributes.
virtual void SetPoint(Int_t point, Double_t x, Double_t y, Double_t z)
Set point n to x, y, z.
Int_t fLastPoint
The index of the last filled point.
virtual Int_t SetNextPoint(Double_t x, Double_t y, Double_t z)
Set point following LastPoint to x, y, z.
virtual void Paint(Option_t *option="")
Paint a TPolyLine3D.
virtual void Copy(TObject &polyline) const
Copy polyline to polyline obj.
Mother of all ROOT objects.
you should not use this method at all Int_t Int_t z
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save primitive as a C++ statement(s) on output stream.
virtual void DrawPolyLine(Int_t n, Float_t *p, Option_t *option="")
Draw 3-D polyline with new coordinates.
virtual Int_t Size() const
const char * Data() const