96 for (
Int_t i = 0; i <
n; ++i,
p += 3) {
148 printf(
"TPointSet3D::PointSelected n=%d, id=(%s*)0x%zx\n",
149 n,
id ?
id->IsA()->GetName() :
"void", (size_t)
id);
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(); }
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize id
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 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.
Mother of all ROOT objects.
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.
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
void AddAt(TObject *obj, Int_t idx) override
Add object at position ids.
TObject * At(Int_t idx) const override
virtual void Expand(Int_t newSize)
Expand or shrink the array to newSize elements.
Int_t GetEntries() const override
Return the number of objects in array (i.e.