library: libTable
#include "TPoints3D.h"

TPoints3D


class description - header file - source file - inheritance tree (.pdf)

class TPoints3D : public TPoints3DABC

Inheritance Chart:
TObject
<-
TPoints3DABC
<-
TPoints3D

    protected:
Bool_t DoOwner(Bool_t done = kTRUE) Bool_t IsOwner() const public:
TPoints3D(TPoints3DABC* points = 0) TPoints3D(Int_t n, Option_t* option = "") TPoints3D(Int_t n, Float_t* p, Option_t* option = "") TPoints3D(Int_t n, Float_t* x, Float_t* y, Float_t* z, Option_t* option = "") TPoints3D(const TPoints3D& points) virtual ~TPoints3D() static TClass* Class() virtual void Copy(TObject& points) const virtual void Delete(Option_t* opt) virtual void Delete() virtual Int_t DistancetoPrimitive(Int_t px, Int_t py) virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py) virtual Int_t GetLastPosition() const virtual Int_t GetN() const virtual Option_t* GetOption() const virtual Float_t* GetP() const virtual Float_t GetX(Int_t idx) const virtual Float_t* GetXYZ(Float_t* xyz, Int_t idx, Int_t num = 1) const virtual const Float_t* GetXYZ(Int_t idx) virtual Float_t GetY(Int_t idx) const virtual Float_t GetZ(Int_t idx) const virtual TClass* IsA() const virtual void ls(Option_t* option = "") const TPoints3D& operator=(const TPoints3D&) virtual void PaintPoints(Int_t, Float_t*, Option_t*) virtual void Print(Option_t* option = "") const virtual Int_t SetLastPosition(Int_t idx) virtual void SetOption(Option_t* option = "") virtual Int_t SetPoint(Int_t point, Float_t x, Float_t y, Float_t z) virtual Int_t SetPoints(Int_t n, Float_t* p = 0, Option_t* option = "") virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual Int_t Size() const virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
TPoints3DABC* fPoints public:
static const TPoints3D::EOwnerBits kIsOwner

Class Description

______________________________________________________________________________
 TPoints3D is an abstract class of the array of 3-dimensional points.
 It has 4 different constructors.

 This class has no implemenatation for Paint, Draw, and SavePrimitive methods

   First one, without any parameters TPoints3D(), we call 'default
 constructor' and it's used in a case that just an initialisation is
 needed (i.e. pointer declaration).

       Example:
                 TPoints3D *pl1 = new TPoints3D;


   Second one is 'normal constructor' with, usually, one parameter
 n (number of points), and it just allocates a space for the points.

       Example:
                 TPoints3D pl1(150);


   Third one allocates a space for the points, and also makes
 initialisation from the given array.

       Example:
                 TPoints3D pl1(150, pointerToAnArray);


   Fourth one is, almost, similar to the constructor above, except
 initialisation is provided with three independent arrays (array of
 x coordinates, y coordinates and z coordinates).

       Example:
                 TPoints3D pl1(150, xArray, yArray, zArray);

TPoints3D(TPoints3DABC *points)
*-*-*-*-*-*-*-*-*-*-*-*-*3-D PolyLine default constructor*-*-*-*-*-*-*-*-*-*-*
*-*                      ================================
TPoints3D(Int_t n, Option_t *option)
*-*-*-*-*-*3-D PolyLine normal constructor without initialisation*-*-*-*-*-*-*
*-*        ======================================================
*-*  If n < 0 the default size (2 points) is set
*-*
TPoints3D(Int_t n, Float_t *p, Option_t *option)
*-*-*-*-*-*-*-*-*-*-*-*-*3-D Point3D normal constructor*-*-*-*-*-*-*-*-*-*-*-*
*-*                      ===============================
*-*  If n < 0 the default size (2 points) is set
*-*
TPoints3D(Int_t n, Float_t *x, Float_t *y, Float_t *z, Option_t *option)
*-*-*-*-*-*-*-*-*-*-*-*-*3-D PolyLine normal constructor*-*-*-*-*-*-*-*-*-*-*-*
*-*                      ===============================
*-*  If n < 0 the default size (2 points) is set
*-*
~TPoints3D()
*-*-*-*-*-*-*-*-*-*-*-*-*3-D PolyLine default destructor*-*-*-*-*-*-*-*-*-*-*-*
*-*                      ===============================
TPoints3D(const TPoints3D &point)
to be documented
void Copy(TObject &obj)
*-*-*-*-*-*-*-*-*-*-*-*-*Copy this TPoints3D to another *-*-*-*-*-*-*-*-*-*-*-*
*-*                      ==============================
void Delete()
 Delete only own object
Bool_t DoOwner(Bool_t done)
to be documented
void ExecuteEvent(Int_t event, Int_t px, Int_t py)
*-*-*-*-*-*-*-*-*-*Execute action corresponding to one event*-*-*-*-*-*-*-*-*-*
*-*                =========================================
void ls(Option_t *option)
*-*-*-*-*-*-*-*-*-*List this 3-D polyline with its attributes*-*-*-*-*-*-*
*-*                ==========================================
void Print(Option_t *option)
*-*-*-*-*-*-*-*-*-*Dump this 3-D polyline with its attributes*-*-*-*-*-*-*-*-*
*-*                ==========================================
















Bool_t IsOwner()
void Delete(Option_t *)
Int_t DistancetoPrimitive(Int_t px, Int_t py)
Int_t GetLastPosition()
Int_t GetN()
Float_t GetX(Int_t idx)
Float_t GetY(Int_t idx)
Float_t GetZ(Int_t idx)
void PaintPoints(Int_t, Float_t *,Option_t *)
Int_t SetLastPosition(Int_t idx)
void SetOption(Option_t *option="")
Int_t SetPoint(Int_t point, Float_t x, Float_t y, Float_t z)
Int_t SetPoints(Int_t n, Float_t *p=0, Option_t *option="")
Int_t Size()

Author: Valery Fine(fine@mail.cern.ch) 24/04/99
Last update: root/table:$Name: $:$Id: TPoints3D.cxx,v 1.7 2006/07/11 09:05:02 rdm Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.