#include <TXTRU.h>
Inheritance diagram for TXTRU:
Public Member Functions | |
TXTRU () | |
TXTRU (const char *name, const char *title, const char *material, Int_t nyx, Int_t nz) | |
TXTRU (const TXTRU &xtru) | |
virtual | ~TXTRU () |
TXTRU & | operator= (const TXTRU &rhs) |
virtual void | Copy (TObject &xtru) const |
virtual void | DefineSection (Int_t secNum, Float_t z, Float_t scale=1., Float_t x0=0., Float_t y0=0.) |
virtual void | DefineVertex (Int_t pointNum, Float_t x, Float_t y) |
virtual Int_t | DistancetoPrimitive (Int_t px, Int_t py) |
virtual const TBuffer3D & | GetBuffer3D (Int_t) const |
virtual Int_t | GetNxy () const |
virtual Int_t | GetNz () const |
virtual Float_t | GetOutlinePointX (Int_t pointNum) const |
virtual Float_t | GetOutlinePointY (Int_t pointNum) const |
virtual Float_t | GetSectionX0 (Int_t secNum) const |
virtual Float_t | GetSectionY0 (Int_t secNum) const |
virtual Float_t | GetSectionScale (Int_t secNum) const |
virtual Float_t | GetSectionZ (Int_t secNum) const |
virtual Float_t * | GetXvtx () const |
virtual Float_t * | GetYvtx () const |
virtual Float_t * | GetZ () const |
virtual Float_t * | GetScale () const |
virtual Float_t * | GetX0 () const |
virtual Float_t * | GetY0 () const |
virtual void | Print (Option_t *option="") const |
virtual void | Sizeof3D () const |
void | SplitConcavePolygon (Bool_t split=kTRUE) |
virtual void | TruncateNxy (Int_t npts) |
virtual void | TruncateNz (Int_t npts) |
TXTRU () | |
TXTRU (const char *name, const char *title, const char *material, Int_t nyx, Int_t nz) | |
TXTRU (const TXTRU &xtru) | |
virtual | ~TXTRU () |
TXTRU & | operator= (const TXTRU &rhs) |
virtual void | Copy (TObject &xtru) const |
virtual void | DefineSection (Int_t secNum, Float_t z, Float_t scale=1., Float_t x0=0., Float_t y0=0.) |
virtual void | DefineVertex (Int_t pointNum, Float_t x, Float_t y) |
virtual Int_t | DistancetoPrimitive (Int_t px, Int_t py) |
virtual const TBuffer3D & | GetBuffer3D (Int_t) const |
virtual Int_t | GetNxy () const |
virtual Int_t | GetNz () const |
virtual Float_t | GetOutlinePointX (Int_t pointNum) const |
virtual Float_t | GetOutlinePointY (Int_t pointNum) const |
virtual Float_t | GetSectionX0 (Int_t secNum) const |
virtual Float_t | GetSectionY0 (Int_t secNum) const |
virtual Float_t | GetSectionScale (Int_t secNum) const |
virtual Float_t | GetSectionZ (Int_t secNum) const |
virtual Float_t * | GetXvtx () const |
virtual Float_t * | GetYvtx () const |
virtual Float_t * | GetZ () const |
virtual Float_t * | GetScale () const |
virtual Float_t * | GetX0 () const |
virtual Float_t * | GetY0 () const |
virtual void | Print (Option_t *option="") const |
virtual void | Sizeof3D () const |
void | SplitConcavePolygon (Bool_t split=kTRUE) |
virtual void | TruncateNxy (Int_t npts) |
virtual void | TruncateNz (Int_t npts) |
Protected Types | |
enum | EXYChecked |
enum | EZChecked |
enum | EXYChecked |
enum | EZChecked |
Protected Member Functions | |
void | CheckOrdering () |
virtual void | SetPoints (Double_t *points) const |
void | CheckOrdering () |
virtual void | SetPoints (Double_t *points) const |
Protected Attributes | |
Int_t | fNxy |
Int_t | fNxyAlloc |
Int_t | fNz |
Int_t | fNzAlloc |
Float_t * | fXvtx |
Float_t * | fYvtx |
Float_t * | fZ |
Float_t * | fScale |
Float_t * | fX0 |
Float_t * | fY0 |
EXYChecked | fPolygonShape |
EZChecked | fZOrdering |
Bool_t | fSplitConcave |
Float_t * | fXvtx |
Float_t * | fYvtx |
Float_t * | fZ |
Float_t * | fScale |
Float_t * | fX0 |
Float_t * | fY0 |
Private Member Functions | |
void | DumpPoints (int npoints, float *pointbuff) const |
void | DumpSegments (int nsegments, int *segbuff) const |
void | DumpPolygons (int npolygons, int *polybuff, int buffsize) const |
void | DumpPoints (int npoints, float *pointbuff) const |
void | DumpSegments (int nsegments, int *segbuff) const |
void | DumpPolygons (int npolygons, int *polybuff, int buffsize) const |
Definition at line 24 of file TXTRU.h.
enum TXTRU::EXYChecked [protected] |
enum TXTRU::EZChecked [protected] |
enum TXTRU::EXYChecked [protected] |
enum TXTRU::EZChecked [protected] |
TXTRU::TXTRU | ( | ) |
Definition at line 82 of file TXTRU.cxx.
References TObject::Error(), fNxy, fNxyAlloc, fNz, fNzAlloc, fPolygonShape, fScale, fSplitConcave, fX0, fXvtx, fY0, fYvtx, fZ, fZOrdering, i, j, kFALSE, kUncheckedXY, and kUncheckedZ.
TXTRU::~TXTRU | ( | ) | [virtual] |
Definition at line 159 of file TXTRU.cxx.
References fNxy, fNxyAlloc, fNz, fNzAlloc, fPolygonShape, fScale, fX0, fXvtx, fY0, fYvtx, fZ, fZOrdering, kUncheckedXY, and kUncheckedZ.
TXTRU::TXTRU | ( | ) |
TXTRU::TXTRU | ( | const TXTRU & | xtru | ) |
virtual TXTRU::~TXTRU | ( | ) | [virtual] |
void TXTRU::Copy | ( | TObject & | xtru | ) | const [virtual] |
void TXTRU::DefineSection | ( | Int_t | secNum, | |
Float_t | z, | |||
Float_t | scale = 1. , |
|||
Float_t | x0 = 0. , |
|||
Float_t | y0 = 0. | |||
) | [virtual] |
Definition at line 248 of file TXTRU.cxx.
References fNz, fNzAlloc, fScale, fX0, fY0, fZ, fZOrdering, i, kUncheckedZ, and TMath::Max().
Referenced by xtruDraw(), and xtruSamples().
Definition at line 303 of file TXTRU.cxx.
References fNxy, fNxyAlloc, fPolygonShape, fXvtx, fYvtx, i, kUncheckedXY, and TMath::Max().
Referenced by xtruDraw(), and xtruSamples().
Reimplemented from TShape.
Definition at line 794 of file TXTRU.cxx.
References buffer, c, CheckOrdering(), TShape::FillBuffer3D(), fNxy, fNz, fPolygonShape, fZOrdering, TShape::GetBasicColor(), i, j, k, TBuffer3DTypes::kGeneric, TBuffer3D::kRaw, TBuffer3D::kRawSizes, kUncheckedXY, kUncheckedZ, SetPoints(), and TShape::TransformPoints().
virtual Int_t TXTRU::GetNxy | ( | ) | const [inline, virtual] |
virtual Int_t TXTRU::GetNz | ( | ) | const [inline, virtual] |
Definition at line 357 of file TXTRU.cxx.
References TObject::Error(), TNamed::fName, fNxy, and fXvtx.
Definition at line 370 of file TXTRU.cxx.
References TObject::Error(), TNamed::fName, fNxy, and fYvtx.
Definition at line 409 of file TXTRU.cxx.
References TObject::Error(), TNamed::fName, fNz, and fScale.
virtual Float_t* TXTRU::GetXvtx | ( | ) | const [inline, virtual] |
virtual Float_t* TXTRU::GetYvtx | ( | ) | const [inline, virtual] |
virtual Float_t* TXTRU::GetZ | ( | ) | const [inline, virtual] |
virtual Float_t* TXTRU::GetScale | ( | ) | const [inline, virtual] |
virtual Float_t* TXTRU::GetX0 | ( | ) | const [inline, virtual] |
virtual Float_t* TXTRU::GetY0 | ( | ) | const [inline, virtual] |
void TXTRU::Print | ( | Option_t * | option = "" |
) | const [virtual] |
Reimplemented from TNamed.
Definition at line 435 of file TXTRU.cxx.
References TString::Contains(), fNxy, fNxyAlloc, fNz, fNzAlloc, fPolygonShape, fScale, fX0, fXvtx, fY0, fYvtx, fZ, fZOrdering, TNamed::GetName(), i, kConcaveCCW, kConcaveCW, kConcaveDecZ, kConcaveIncZ, kConvexCCW, kConvexCW, kConvexDecZ, kConvexIncZ, kMalformedXY, kMalformedZ, kUncheckedXY, kUncheckedZ, name, p, and TString::ToLower().
void TXTRU::Sizeof3D | ( | ) | const [virtual] |
void TXTRU::TruncateNxy | ( | Int_t | npts | ) | [virtual] |
void TXTRU::TruncateNz | ( | Int_t | npts | ) | [virtual] |
void TXTRU::CheckOrdering | ( | ) | [protected] |
Definition at line 612 of file TXTRU.cxx.
References fNxy, fNz, fPolygonShape, fScale, fXvtx, fYvtx, fZ, fZOrdering, kConcaveCCW, kConcaveCW, kConcaveDecZ, kConcaveIncZ, kConvexCCW, kConvexCW, kConvexDecZ, kConvexIncZ, kFALSE, kMalformedXY, kMalformedZ, and kTRUE.
Referenced by GetBuffer3D().
void TXTRU::SetPoints | ( | Double_t * | points | ) | const [protected, virtual] |
Reimplemented from TShape.
Definition at line 514 of file TXTRU.cxx.
References fNxy, fNz, fPolygonShape, fScale, fX0, fXvtx, fY0, fYvtx, fZ, fZOrdering, i, j, kConcaveCW, kConcaveDecZ, kConvexCW, kConvexDecZ, x, and y.
Referenced by GetBuffer3D().
void TXTRU::DumpPoints | ( | int | npoints, | |
float * | pointbuff | |||
) | const [private] |
void TXTRU::DumpSegments | ( | int | nsegments, | |
int * | segbuff | |||
) | const [private] |
void TXTRU::DumpPolygons | ( | int | npolygons, | |
int * | polybuff, | |||
int | buffsize | |||
) | const [private] |
virtual void TXTRU::DefineSection | ( | Int_t | secNum, | |
Float_t | z, | |||
Float_t | scale = 1. , |
|||
Float_t | x0 = 0. , |
|||
Float_t | y0 = 0. | |||
) | [virtual] |
Reimplemented from TObject.
virtual Int_t TXTRU::GetNxy | ( | ) | const [inline, virtual] |
virtual Int_t TXTRU::GetNz | ( | ) | const [inline, virtual] |
virtual Float_t* TXTRU::GetXvtx | ( | ) | const [inline, virtual] |
virtual Float_t* TXTRU::GetYvtx | ( | ) | const [inline, virtual] |
virtual Float_t* TXTRU::GetZ | ( | ) | const [inline, virtual] |
virtual Float_t* TXTRU::GetScale | ( | ) | const [inline, virtual] |
virtual Float_t* TXTRU::GetX0 | ( | ) | const [inline, virtual] |
virtual Float_t* TXTRU::GetY0 | ( | ) | const [inline, virtual] |
virtual void TXTRU::Sizeof3D | ( | ) | const [virtual] |
Reimplemented from TAtt3D.
virtual void TXTRU::TruncateNxy | ( | Int_t | npts | ) | [virtual] |
virtual void TXTRU::TruncateNz | ( | Int_t | npts | ) | [virtual] |
void TXTRU::CheckOrdering | ( | ) | [protected] |
virtual void TXTRU::SetPoints | ( | Double_t * | points | ) | const [protected, virtual] |
Reimplemented from TShape.
void TXTRU::DumpPoints | ( | int | npoints, | |
float * | pointbuff | |||
) | const [private] |
void TXTRU::DumpSegments | ( | int | nsegments, | |
int * | segbuff | |||
) | const [private] |
void TXTRU::DumpPolygons | ( | int | npolygons, | |
int * | polybuff, | |||
int | buffsize | |||
) | const [private] |
Int_t TXTRU::fNxy [protected] |
Definition at line 63 of file TXTRU.h.
Referenced by CheckOrdering(), Copy(), DefineVertex(), DistancetoPrimitive(), GetBuffer3D(), GetNxy(), GetOutlinePointX(), GetOutlinePointY(), Print(), SetPoints(), Sizeof3D(), TruncateNxy(), TXTRU(), and ~TXTRU().
Int_t TXTRU::fNxyAlloc [protected] |
Definition at line 64 of file TXTRU.h.
Referenced by Copy(), DefineVertex(), operator=(), Print(), TXTRU(), and ~TXTRU().
Int_t TXTRU::fNz [protected] |
Definition at line 65 of file TXTRU.h.
Referenced by CheckOrdering(), Copy(), DefineSection(), DistancetoPrimitive(), GetBuffer3D(), GetNz(), GetSectionScale(), GetSectionX0(), GetSectionY0(), GetSectionZ(), Print(), SetPoints(), Sizeof3D(), TruncateNz(), TXTRU(), and ~TXTRU().
Int_t TXTRU::fNzAlloc [protected] |
Definition at line 66 of file TXTRU.h.
Referenced by Copy(), DefineSection(), operator=(), Print(), TXTRU(), and ~TXTRU().
Float_t* TXTRU::fXvtx [protected] |
Definition at line 67 of file TXTRU.h.
Referenced by CheckOrdering(), Copy(), DefineVertex(), GetOutlinePointX(), GetXvtx(), operator=(), Print(), SetPoints(), TXTRU(), and ~TXTRU().
Float_t* TXTRU::fYvtx [protected] |
Definition at line 68 of file TXTRU.h.
Referenced by CheckOrdering(), Copy(), DefineVertex(), GetOutlinePointY(), GetYvtx(), operator=(), Print(), SetPoints(), TXTRU(), and ~TXTRU().
Definition at line 69 of file TXTRU.h.
Referenced by CheckOrdering(), Copy(), DefineSection(), GetSectionZ(), GetZ(), operator=(), Print(), SetPoints(), TXTRU(), and ~TXTRU().
Float_t* TXTRU::fScale [protected] |
Definition at line 70 of file TXTRU.h.
Referenced by CheckOrdering(), Copy(), DefineSection(), GetScale(), GetSectionScale(), operator=(), Print(), SetPoints(), TXTRU(), and ~TXTRU().
Float_t* TXTRU::fX0 [protected] |
Definition at line 71 of file TXTRU.h.
Referenced by Copy(), DefineSection(), GetSectionX0(), GetX0(), operator=(), Print(), SetPoints(), TXTRU(), and ~TXTRU().
Float_t* TXTRU::fY0 [protected] |
Definition at line 72 of file TXTRU.h.
Referenced by Copy(), DefineSection(), GetSectionY0(), GetY0(), operator=(), Print(), SetPoints(), TXTRU(), and ~TXTRU().
EXYChecked TXTRU::fPolygonShape [protected] |
Definition at line 81 of file TXTRU.h.
Referenced by CheckOrdering(), Copy(), DefineVertex(), GetBuffer3D(), Print(), SetPoints(), TXTRU(), and ~TXTRU().
EZChecked TXTRU::fZOrdering [protected] |
Definition at line 82 of file TXTRU.h.
Referenced by CheckOrdering(), Copy(), DefineSection(), GetBuffer3D(), Print(), SetPoints(), TXTRU(), and ~TXTRU().
Bool_t TXTRU::fSplitConcave [protected] |
Float_t* TXTRU::fXvtx [protected] |
Float_t* TXTRU::fYvtx [protected] |
Float_t* TXTRU::fScale [protected] |
Float_t* TXTRU::fX0 [protected] |
Float_t* TXTRU::fY0 [protected] |