227 SetRawSizes(reqPnts, reqPntsCapacity, reqSegs, reqSegsCapacity, reqPols, reqPolsCapacity);
255 for (
UInt_t i=0; i<3; i++) {
296 for (
UInt_t i=0; i<16; i++) {
321 fBBVertex[0][0] = origin[0] - halfLengths[0];
322 fBBVertex[0][1] = origin[1] - halfLengths[1];
323 fBBVertex[0][2] = origin[2] - halfLengths[2];
325 fBBVertex[1][0] = origin[0] + halfLengths[0];
326 fBBVertex[1][1] = origin[1] - halfLengths[1];
327 fBBVertex[1][2] = origin[2] - halfLengths[2];
329 fBBVertex[2][0] = origin[0] + halfLengths[0];
330 fBBVertex[2][1] = origin[1] + halfLengths[1];
331 fBBVertex[2][2] = origin[2] - halfLengths[2];
333 fBBVertex[3][0] = origin[0] - halfLengths[0];
334 fBBVertex[3][1] = origin[1] + halfLengths[1];
335 fBBVertex[3][2] = origin[2] - halfLengths[2];
337 fBBVertex[4][0] = origin[0] - halfLengths[0];
338 fBBVertex[4][1] = origin[1] - halfLengths[1];
339 fBBVertex[4][2] = origin[2] + halfLengths[2];
341 fBBVertex[5][0] = origin[0] + halfLengths[0];
342 fBBVertex[5][1] = origin[1] - halfLengths[1];
343 fBBVertex[5][2] = origin[2] + halfLengths[2];
345 fBBVertex[6][0] = origin[0] + halfLengths[0];
346 fBBVertex[6][1] = origin[1] + halfLengths[1];
347 fBBVertex[6][2] = origin[2] + halfLengths[2];
349 fBBVertex[7][0] = origin[0] - halfLengths[0];
350 fBBVertex[7][1] = origin[1] + halfLengths[1];
351 fBBVertex[7][2] = origin[2] + halfLengths[2];
408 fRadiusInner(0.0), fRadiusOuter(0.0),
409 fThetaMin(0.0), fThetaMax(180.0),
410 fPhiMin(0.0), fPhiMax(360.0)
436 TBuffer3D(
TBuffer3DTypes::kTube, reqPnts, reqPntsCapacity, reqSegs, reqSegsCapacity, reqPols, reqPolsCapacity),
437 fRadiusInner(0.0), fRadiusOuter(1.0), fHalfLength(1.0)
448 TBuffer3D(type, reqPnts, reqPntsCapacity, reqSegs, reqSegsCapacity, reqPols, reqPolsCapacity),
449 fRadiusInner(0.0), fRadiusOuter(1.0), fHalfLength(1.0)
460 fPhiMin(0.0), fPhiMax(360.0)
471 TBuffer3DTube(type, reqPnts, reqPntsCapacity, reqSegs, reqSegsCapacity, reqPols, reqPolsCapacity),
472 fPhiMin(0.0), fPhiMax(360.0)
Complete tube description class - see TBuffer3DTypes for producer classes.
Double_t fHighPlaneNorm[3]
Bool_t IsSolidUncut() const
Test if buffer represents a solid uncut sphere.
Tube segment description class - see TBuffer3DTypes for producer classes.
Double_t fLocalMaster[16]
void SetLocalMasterIdentity()
Set kRaw tessellation section of buffer with supplied sizes.
TBuffer3DTube(const TBuffer3DTube &)
void ClearSectionsValid()
Clear any sections marked valid.
static UInt_t GetCSLevel()
Return CS level.
TBuffer3DSphere(const TBuffer3DSphere &)
void Init(TClassEdit::TInterpreterLookupHelper *helper)
static void IncCSLevel()
Increment CS level.
TBuffer3DTubeSeg(const TBuffer3DTubeSeg &)
void SetAABoundingBox(const Double_t origin[3], const Double_t halfLengths[3])
Set fBBVertex in kBoundingBox section to a axis aligned (local) BB using supplied origin and box half...
Bool_t SetRawSizes(UInt_t reqPnts, UInt_t reqPntsCapacity, UInt_t reqSegs, UInt_t reqSegsCapacity, UInt_t reqPols, UInt_t reqPolsCapacity)
Set kRaw tessellation section of buffer with supplied sizes.
Generic 3D primitive description class.
TBuffer3DCutTube(const TBuffer3DTubeSeg &)
static UInt_t DecCSLevel()
Decrement CS level.
Double_t fLowPlaneNorm[3]
void Init()
Initialise buffer.
virtual ~TBuffer3D()
Destructor.
ClassImp(TBuffer3D) TBuffer3D
Destructor.