TTablePoints
class description - source file - inheritance tree
protected:
virtual void SetTablePointer(void* table)
public:
virtual void ~TTablePoints()
static TClass* Class()
virtual Int_t DistancetoPrimitive(Int_t px, Int_t py)
virtual Int_t GetLastPosition() const
virtual Option_t* GetOption() const
virtual void* GetTable()
virtual Float_t GetX(Int_t idx) const
virtual Float_t GetY(Int_t idx) const
virtual Float_t GetZ(Int_t idx) const
virtual Int_t Indx(Int_t sortedIndx) const
virtual TClass* IsA() const
virtual Int_t SetLastPosition(Int_t idx)
virtual void SetOption(Option_t*)
virtual Int_t SetPoint(Int_t, Float_t, Float_t, Float_t)
virtual Int_t SetPoints(Int_t, Float_t*, Option_t*)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual Int_t Size() const
virtual void Streamer(TBuffer& b)
protected:
TTableSorter* fTableSorter
const void* fKey pointer to key value to select rows
Int_t fFirstRow The first row to take in account
Int_t fSize
void* fRows Pointer the first row of the STAF table
See also
-
TTable3Points
Defines the TTable as an element of "event" geometry
+SEQ,TTablePoints.
+SEQ,T<your_table_name_here>.
class T<your_table_name_here>_Points : public TTablePoints
{
public:
T<your_table_name_here>_Points(TTableSorter *sorter,const void *key,Option_t *opt):
TTablePoints(sorter,key,opt){}
virtual ~T<your_table_name_here>_Points(){} // default destructor
virtual Float_t GetX(Int_t indx) { return ((<your_table_name_here>_st *)fRows)[Indx(idx)]-> <x>;}
virtual Float_t GetY(Int_t indx) { return ((<your_table_name_here>_st *)fRows)[Indx(idx)]-> <y>;}
virtual Float_t GetZ(Int_t indx) { return ((<your_table_name_here>_st *)fRows)[Indx(idx)]-> <z>;}
};
Int_t DistancetoPrimitive(Int_t px, Int_t py)
*-*-*-*-*-*-*Compute distance from point px,py to a 3-D points *-*-*-*-*-*-*
*-* =====================================================
*-*
*-* Compute the closest distance of approach from point px,py to each segment
*-* of the polyline.
*-* Returns when the distance found is below DistanceMaximum.
*-* The distance is computed in pixels units.
*-*
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Inline Functions
void SetTablePointer(void* table)
Int_t GetLastPosition() const
Float_t GetX(Int_t idx) const
Float_t GetY(Int_t idx) const
Float_t GetZ(Int_t idx) const
void* GetTable()
Option_t* GetOption() const
Int_t Indx(Int_t sortedIndx) const
Int_t SetLastPosition(Int_t idx)
void SetOption(Option_t*)
Int_t SetPoint(Int_t, Float_t, Float_t, Float_t)
Int_t SetPoints(Int_t, Float_t*, Option_t*)
Int_t Size() const
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void ~TTablePoints()
Author: Valery Fine 14/05/99 (E-mail: fine@bnl.gov)
Last update: root/star:$Name: $:$Id: TTablePoints.cxx,v 1.1.1.1 2000/05/16 17:00:49 rdm Exp $
ROOT page - Class index - 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.