class TPoints3D: public TPoints3DABC

 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).

                 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.

                 TPoints3D pl1(150);

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

                 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).

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

Function Members (Methods)

voidTObject::AbstractMethod(const char* method) const
virtual Int_tTPoints3DABC::Add(Float_t x, Float_t y, Float_t z)
virtual Int_tTPoints3DABC::AddLast(Float_t x, Float_t y, Float_t z)
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tTObject::Compare(const TObject* obj) const
virtual voidCopy(TObject& points) const
virtual voidDelete()
virtual voidDelete(Option_t*)
static Int_tTPoints3DABC::DistancetoLine(Int_t px, Int_t py, Float_t x1, Float_t y1, Float_t x2, Float_t y2, Int_t lineWidth = 1)
virtual Int_tDistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
virtual Int_tGetLastPosition() const
virtual Int_tGetN() const
virtual const char*TObject::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*GetOption() const
virtual Float_t*GetP() const
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Float_tGetX(Int_t idx) const
virtual const Float_t*GetXYZ(Int_t idx)
virtual Float_t*GetXYZ(Float_t* xyz, Int_t idx, Int_t num = 1) const
virtual Float_tGetY(Int_t idx) const
virtual Float_tGetZ(Int_t idx) const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
voidTObject::operator delete(void* ptr)
voidTObject::operator delete(void* ptr, void* vp)
voidTObject::operator delete[](void* ptr)
voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
TPoints3D&operator=(const TPoints3D&)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidPaintPoints(Int_t, Float_t*, Option_t*)
virtual voidTObject::Pop()
virtual voidPrint(Option_t* option = "") const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
virtual Int_tSetLastPosition(Int_t idx)
virtual Int_tTPoints3DABC::SetNextPoint(Float_t x, Float_t y, Float_t z)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidSetOption(Option_t* option = "")
virtual Int_tSetPoint(Int_t point, Float_t x, Float_t y, Float_t z)MENU
virtual Int_tSetPoints(Int_t n, Float_t* p = 0, Option_t* option = "")
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector& insp) const
virtual Int_tSize() const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
TPoints3D(TPoints3DABC* points = 0)
TPoints3D(const TPoints3D& points)
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 = "")
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
Bool_tDoOwner(Bool_t done = kTRUE)
Bool_tIsOwner() const

Data Members

static TObject::(anonymous)TObject::kBitMask
static TObject::EStatusBitsTObject::kCanDelete
static TObject::EStatusBitsTObject::kCannotPick
static TObject::EStatusBitsTObject::kHasUUID
static TObject::EStatusBitsTObject::kInvalidObject
static TObject::(anonymous)TObject::kIsOnHeap
static TObject::EStatusBitsTObject::kIsReferenced
static TObject::EStatusBitsTObject::kMustCleanup
static TObject::EStatusBitsTObject::kNoContextMenu
static TObject::(anonymous)TObject::kNotDeleted
static TObject::EStatusBitsTObject::kObjInCanvas
static TObject::(anonymous)TObject::kOverwrite
static TObject::(anonymous)TObject::kSingleKey
static TObject::(anonymous)TObject::kWriteDelete
static TObject::(anonymous)TObject::kZombie
static TPoints3D::EOwnerBitskIsOwner

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TPoints3D(TPoints3DABC* points = 0)
-*-*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
-*3-D PolyLine default destructor
*-*                      ===============================
TPoints3D(const TPoints3D& points)
to be documented
void Copy(TObject& points) const
-*Copy this TPoints3D to another 
*-*                      ==============================
void Delete()
 Delete only own object
Bool_t DoOwner(Bool_t done = kTRUE)
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 = "") const
-*-*-*List this 3-D polyline with its attributes
*-*                ==========================================
void Print(Option_t* option = "") const
-*Dump this 3-D polyline with its attributes
*-*                ==========================================
void Delete(Option_t* )
{ TObject::Delete(opt);}
Int_t DistancetoPrimitive(Int_t px, Int_t py)
{return fPoints?fPoints->DistancetoPrimitive(px,py):99999;}
Int_t GetLastPosition() const
Int_t GetN() const
{return fPoints?fPoints->GetN():0;}
Float_t * GetP() const
{return fPoints?fPoints->GetP():0;}
Float_t GetX(Int_t idx) const
{return fPoints?fPoints->GetX(idx):0;}
Float_t GetY(Int_t idx) const
{return fPoints?fPoints->GetY(idx):0;}
Float_t GetZ(Int_t idx) const
{return fPoints?fPoints->GetZ(idx):0;}
const Float_t * GetXYZ(Int_t idx)
{return fPoints?fPoints->GetXYZ(idx):0;}
Float_t * GetXYZ(Float_t* xyz, Int_t idx, Int_t num = 1) const
{return fPoints?fPoints->GetXYZ(xyz,idx,num):0;}
Option_t * GetOption() const
{return fPoints?fPoints->GetOption():"";}
Int_t SetLastPosition(Int_t idx)
{return fPoints?fPoints->SetLastPosition(idx):0;}
void SetOption(Option_t* option = "")
{if (fPoints) fPoints->SetOption(option);}
Int_t SetPoint(Int_t point, Float_t x, Float_t y, Float_t z)
{return fPoints?fPoints->SetPoint(point,x,y,z):0;}
Int_t SetPoints(Int_t n, Float_t* p = 0, Option_t* option = "")
{return fPoints?fPoints->SetPoints(n,p,option):0;}
Int_t Size() const
{return fPoints?fPoints->Size():0;}
Bool_t IsOwner() const
{return TestBit(kIsOwner);}
void PaintPoints(Int_t , Float_t* , Option_t* )