96 for (
Int_t i = 0; i <
n; ++i, p += 3) {
148 printf(
"TPointSet3D::PointSelected n=%d, id=(%s*)0x%lx\n",
157 void TPointSet3D::Streamer(
TBuffer &R__b)
164 for (
Int_t i=0; i<
n; ++i) {
166 if (
gDebug > 0) { printf(
"Read[%2d]: ", i); o->
Print(); }
175 while ((o = next())) {
176 if (
gDebug > 0) { printf(
"Writing: "); o->
Print(); }
virtual Int_t WriteClassBuffer(const TClass *cl, void *pointer)=0
virtual void Expand(Int_t newSize)
Expand or shrink the array to newSize elements.
Buffer base class used for serializing objects.
void ClearIds()
Clears the id-array. If ids are owned the TObjects are deleted.
TPolyMarker3D & operator=(const TPolyMarker3D &)
assignment operator
TObject * GetPointId(Int_t n) const
virtual void Print(Option_t *option="") const
This method must be overridden when a class wants to print itself.
virtual Int_t WriteObjectAny(const void *obj, const TClass *ptrClass, Bool_t cacheReuse=kTRUE)=0
void BBoxCheckPoint(Float_t x, Float_t y, Float_t z)
virtual ~TPointSet3D()
Destructor.
void SetPointId(TObject *id)
Set id of last point.
Int_t GetEntries() const
Return the number of objects in array (i.e.
TObject * At(Int_t idx) const
TPointSet3D & operator=(const TPointSet3D &t)
Assignment operator.
virtual void PointSelected(Int_t n)
This virtual method is called from TPointSet3DGL when a point is selected.
virtual void AddAt(TObject *obj, Int_t idx)
Add object at position ids.
void BBoxZero(Float_t epsilon=0, Float_t x=0, Float_t y=0, Float_t z=0)
Create cube of volume (2*epsilon)^3 at (x,y,z).
virtual void ComputeBBox()
Compute the bounding box of this points set.
void CopyIds(const TPointSet3D &t)
Copy id objects from point-set 't'.
virtual Int_t ReadClassBuffer(const TClass *cl, void *pointer, const TClass *onfile_class=0)=0
virtual void * ReadObjectAny(const TClass *cast)=0
Mother of all ROOT objects.
virtual TObject * Clone(const char *newname="") const
Make a clone of an object using the Streamer facility.
Helper for management of bounding-box information.
TPolyMarker3D using TPointSet3DGL for direct OpenGL rendering.
virtual const char * GetName() const
Returns name of object.
virtual Int_t GetSize() const
Return the capacity of the collection, i.e.
void BBoxInit(Float_t infinity=1e6)
Dynamic Float_t[6] X(min,max), Y(min,max), Z(min,max)
virtual Int_t Size() const