27 TXTRU(
const char *
name,
const char *title,
const char *material,
90 void DumpPoints(
int npoints,
float *pointbuff)
const;
92 void DumpPolygons(
int npolygons,
int *polybuff,
int buffsize)
const;
virtual const TBuffer3D & GetBuffer3D(Int_t) const
Get buffer 3d.
virtual void Copy(TObject &xtru) const
TXTRU Copy method.
TXTRU & operator=(const TXTRU &rhs)
Deep assignment operator.
virtual Float_t GetOutlinePointX(Int_t pointNum) const
Return x coordinate of a vertex point.
virtual Float_t * GetXvtx() const
virtual void Print(Option_t *option="") const
Dump the info of this TXTRU shape Option:
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.
virtual void Sizeof3D() const
Return total X3D needed by TNode::ls (when called with option "x")
#define ClassDef(name, id)
void DumpSegments(int nsegments, int *segbuff) const
Dump the segment info for visual inspection.
virtual Float_t GetSectionX0(Int_t secNum) const
Return x0 shift of a z section.
virtual void SetPoints(Double_t *points) const
Create TXTRU points in buffer order as expected by other methods (counterclockwise xy...
virtual Float_t * GetYvtx() const
void CheckOrdering()
Determine ordering over which to process points, segments, surfaces so that they render correctly...
virtual ~TXTRU()
TXTRU destructor deallocates arrays.
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.
This is the base class for all geometry shapes.
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 void TruncateNxy(Int_t npts)
Truncate the vertex list.
virtual Float_t * GetScale() const
virtual Float_t * GetZ() const
Generic 3D primitive description class.
virtual Float_t GetSectionZ(Int_t secNum) const
Return z of a z section.
void DumpPolygons(int npolygons, int *polybuff, int buffsize) const
Dump the derived polygon info for visual inspection.
void DumpPoints(int npoints, float *pointbuff) const
Dump the vertex points for visual inspection.
Mother of all ROOT objects.
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.
you should not use this method at all Int_t Int_t z
void SplitConcavePolygon(Bool_t split=kTRUE)
(Dis)Enable the splitting of concave polygon outlines into multiple convex polygons.
virtual Int_t GetNz() const
virtual Float_t * GetY0() const
virtual Int_t GetNxy() const
virtual Float_t GetSectionScale(Int_t secNum) const
Return scale factor for a z section.
virtual Float_t * GetX0() const
virtual Float_t GetSectionY0(Int_t secNum) const
Return y0 shift of a z section.