/usr/include/root/TPointSet3D.h is in libroot-graf3d-g3d-dev 5.34.19+dfsg-1.2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | // @(#)root/g3d:$Id$
// Author: Matevz Tadel 7/4/2006
/*************************************************************************
* Copyright (C) 1995-2006, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
#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; //Flag specifying id-objects are owned by the point-set
TRefArray fIds; //User-provided point identifications
void CopyIds(const TPointSet3D& t);
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); // TPolyMarker3D with direct OpenGL rendering.
};
#endif
|