12 #include "TTable3Points.h"
102 const Char_t *xName,
const Char_t *yName,
const Char_t *zName
108 fColumnOffset =
new ULong_t [kTotalSize];
109 SetXColumn(xName); SetYColumn(yName); SetZColumn(zName);
115 const Char_t *xName,
const Char_t *yName,
const Char_t *zName
121 fColumnOffset =
new ULong_t [kTotalSize];
122 SetXColumn(xName); SetYColumn(yName); SetZColumn(zName);
130 SafeDelete(fColumnOffset);
140 if (fTableSorter) table = fTableSorter->
GetTable();
142 const Char_t *tablePtr = ((Char_t *)table->
At(Indx(idx))) + fColumnOffset[xAxis] ;
143 point = *((Float_t *)tablePtr);
153 fColumnOffset[indx] = fTableSorter->
GetTable()->GetOffset(anyName);
154 if (fColumnOffset[indx] == ULong_t(-1)) MakeZombie();
160 Float_t *TTable3Points::GetXYZ(Float_t *xyz,Int_t idx, Int_t num)
const
163 Int_t size = TMath::Min(idx+num,Size());
165 for (Int_t i=idx;i<size;i++) {
virtual TTable * GetTable() const
to be documented
~TTable3Points()
to be documented
virtual Float_t GetAnyPoint(Int_t idx, EPointDirection xAxis) const
to be documented
virtual void SetAnyColumn(const Char_t *anyName, EPointDirection indx)
to be documented
TTable3Points()
to be documented
const void * At(Int_t i) const
Returns a pointer to the i-th row of the table.