95 for (
Int_t i = 0; i <
n; ++i, p += 3) {
147 printf(
"TPointSet3D::PointSelected n=%d, id=(%s*)0x%zx\n",
148 n,
id ?
id->IsA()->GetName() :
"void", (
size_t)
id);
163 for (
Int_t i=0; i<
n; ++i) {
165 if (
gDebug > 0) { printf(
"Read[%2d]: ", i); o->
Print(); }
171 R__b <<
fIds.GetEntries();
174 while ((o = next())) {
175 if (
gDebug > 0) { printf(
"Writing: "); o->
Print(); }
int Int_t
Signed integer 4 bytes (int).
float Float_t
Float 4 bytes (float).
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)
Allocate and prepare for incremental filling.
TAttBBox(const TAttBBox &tab)
Buffer base class used for serializing objects.
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 ReadClassBuffer(const TClass *cl, void *pointer, const TClass *onfile_class=nullptr)=0
virtual Int_t WriteClassBuffer(const TClass *cl, void *pointer)=0
virtual Int_t GetSize() const
Return the capacity of the collection, i.e.
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.
TObject()
TObject constructor.
void Streamer(TBuffer &) override
Stream an object of class TPointSet3D.
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.
~TPointSet3D() override
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
void ComputeBBox() override
Compute the bounding box of this points set.
virtual Int_t Size() const
TPolyMarker3D & operator=(const TPolyMarker3D &)
assignment operator
TPolyMarker3D()
3-D polymarker default constructor.
TObject * At(Int_t idx) const override