13 #ifndef ROOT_TPointSet3D
14 #define ROOT_TPointSet3D
21 class TPointSet3D :
public TPolyMarker3D,
public TAttBBox
27 void CopyIds(
const TPointSet3D& t);
31 TPolyMarker3D(), fOwnIds(kFALSE), fIds() { fName=
"TPointSet3D"; }
32 TPointSet3D(Int_t n, Marker_t m=1, Option_t *opt=
"") :
33 TPolyMarker3D(n, m, opt), fOwnIds(kFALSE), fIds() { fName=
"TPointSet3D"; }
34 TPointSet3D(Int_t n, Float_t *p, Marker_t m=1, Option_t *opt=
"") :
35 TPolyMarker3D(n, p, m, opt), fOwnIds(kFALSE), fIds() { fName=
"TPointSet3D"; }
36 TPointSet3D(Int_t n, Double_t *p, Marker_t m=1, Option_t *opt=
"") :
37 TPolyMarker3D(n, p, m, opt), fOwnIds(kFALSE), fIds() { fName=
"TPointSet3D"; }
38 TPointSet3D(
const TPointSet3D &t);
40 TPointSet3D& operator=(
const TPointSet3D& t);
42 virtual ~TPointSet3D();
44 virtual void ComputeBBox();
46 void SetPointId(TObject*
id);
47 void SetPointId(Int_t n, TObject*
id);
48 TObject* GetPointId(Int_t n)
const {
return fIds.At(n); }
51 Bool_t GetOwnIds()
const {
return fOwnIds; }
52 void SetOwnIds(Bool_t o) { fOwnIds = o; }
54 virtual void PointSelected(Int_t n);
56 ClassDef(TPointSet3D,1);