25 TXTRU(
const char *
name,
const char *title,
const char *material,
88 void DumpPoints(
int npoints,
float *pointbuff)
const;
90 void DumpPolygons(
int npolygons,
int *polybuff,
int buffsize)
const;
#define ClassDef(name, id)
Generic 3D primitive description class.
Mother of all ROOT objects.
This is the base class for all geometry shapes.
void CheckOrdering()
Determine ordering over which to process points, segments, surfaces so that they render correctly.
virtual void DefineVertex(Int_t pointNum, Float_t x, Float_t y)
Set vertex point ipt to (x,y) expand size of array if necessary.
virtual Float_t * GetY0() const
virtual const TBuffer3D & GetBuffer3D(Int_t) const
Get buffer 3d.
void SplitConcavePolygon(Bool_t split=kTRUE)
(Dis)Enable the splitting of concave polygon outlines into multiple convex polygons.
virtual Float_t * GetX0() const
virtual Float_t GetSectionX0(Int_t secNum) const
Return x0 shift of a z section.
virtual Float_t * GetYvtx() const
virtual void SetPoints(Double_t *points) const
Create TXTRU points in buffer order as expected by other methods (counterclockwise xy,...
void DumpSegments(int nsegments, int *segbuff) const
Dump the segment info for visual inspection.
virtual void Print(Option_t *option="") const
Dump the info of this TXTRU shape Option:
virtual ~TXTRU()
TXTRU destructor deallocates arrays.
TXTRU & operator=(const TXTRU &rhs)
Deep assignment operator.
virtual Float_t GetOutlinePointX(Int_t pointNum) const
Return x coordinate of a vertex point.
virtual Int_t GetNxy() const
virtual Float_t GetSectionScale(Int_t secNum) const
Return scale factor for a z section.
virtual Float_t GetSectionY0(Int_t secNum) const
Return y0 shift of a z section.
virtual Float_t * GetXvtx() const
void DumpPolygons(int npolygons, int *polybuff, int buffsize) const
Dump the derived polygon info for visual inspection.
virtual Int_t GetNz() const
void DumpPoints(int npoints, float *pointbuff) const
Dump the vertex points for visual inspection.
virtual void TruncateNxy(Int_t npts)
Truncate the vertex list.
virtual void Sizeof3D() const
Return total X3D needed by TNode::ls (when called with option "x")
virtual Float_t GetSectionZ(Int_t secNum) const
Return z of a z section.
virtual void DefineSection(Int_t secNum, Float_t z, Float_t scale=1., Float_t x0=0., Float_t y0=0.)
Set z section iz information expand size of array if necessary.
virtual Int_t DistancetoPrimitive(Int_t px, Int_t py)
Compute the distance from point px,py to a TXTRU by calculating the closest approach to each corner.
virtual Float_t * GetScale() const
virtual Float_t * GetZ() const
virtual void Copy(TObject &xtru) const
TXTRU Copy method.
TXTRU()
TXTRU shape - default constructor.
virtual void TruncateNz(Int_t npts)
Truncate the z section list.
virtual Float_t GetOutlinePointY(Int_t pointNum) const
Return y coordinate of a vertex point.