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