#ifndef ROOT_TPointSet3D
#define ROOT_TPointSet3D
#ifndef ROOT_TPolyMarker3D
#include "TPolyMarker3D.h"
#endif
#ifndef ROOT_TAttBBox
#include "TAttBBox.h"
#endif
#include "TRefArray.h"
class TPointSet3D : public TPolyMarker3D, public TAttBBox
{
protected:
Bool_t fOwnIds;
TRefArray fIds;
public:
TPointSet3D() :
TPolyMarker3D(), fOwnIds(kFALSE), fIds() { fName="TPointSet3D"; }
TPointSet3D(Int_t n, Marker_t m=1, Option_t *opt="") :
TPolyMarker3D(n, m, opt), fOwnIds(kFALSE), fIds() { fName="TPointSet3D"; }
TPointSet3D(Int_t n, Float_t *p, Marker_t m=1, Option_t *opt="") :
TPolyMarker3D(n, p, m, opt), fOwnIds(kFALSE), fIds() { fName="TPointSet3D"; }
TPointSet3D(Int_t n, Double_t *p, Marker_t m=1, Option_t *opt="") :
TPolyMarker3D(n, p, m, opt), fOwnIds(kFALSE), fIds() { fName="TPointSet3D"; }
TPointSet3D(const TPointSet3D &t);
TPointSet3D& operator=(const TPointSet3D& t);
virtual ~TPointSet3D();
virtual void ComputeBBox();
void SetPointId(TObject* id);
void SetPointId(Int_t n, TObject* id);
TObject* GetPointId(Int_t n) const { return fIds.At(n); }
void ClearIds();
Bool_t GetOwnIds() const { return fOwnIds; }
void SetOwnIds(Bool_t o) { fOwnIds = o; }
virtual void PointSelected(Int_t n);
ClassDef(TPointSet3D,1);
};
#endif
Last change: Thu Nov 13 09:43:01 2008
Last generated: 2008-11-13 09:43
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.