12 #ifndef ROOT_TPolyLine3D
13 #define ROOT_TPolyLine3D
Option_t * GetOption() const
TPolyLine3D()
3-D polyline default constructor.
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py)
Execute action corresponding to one event.
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.
A 3-dimensional polyline.
virtual Int_t Merge(TCollection *list)
Merge polylines in the collection in this polyline.
virtual Int_t Size() const
virtual void Print(Option_t *option="") const
Dump this 3-D polyline with its attributes on stdout.
const char * Data() const
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.
Int_t GetLastPoint() const
static void DrawOutlineCube(TList *outline, Double_t *rmin, Double_t *rmax)
Draw cube outline with 3d polylines.
Collection abstract base class.
TPolyLine3D & operator=(const TPolyLine3D &polylin)
assignment operator
virtual void SetOption(Option_t *option="")
virtual void Draw(Option_t *option="")
Draw this 3-D polyline with its current attributes.
virtual void Copy(TObject &polyline) const
Copy polyline to polyline obj.
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 void Paint(Option_t *option="")
Paint a TPolyLine3D.
virtual void ls(Option_t *option="") const
List this 3-D polyline.
Mother of all ROOT objects.
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.