229 SetRawSizes(reqPnts, reqPntsCapacity, reqSegs, reqSegsCapacity, reqPols, reqPolsCapacity);
257 for (
UInt_t i=0; i<3; i++) {
298 for (
UInt_t i=0; i<16; i++) {
323 fBBVertex[0][0] = origin[0] - halfLengths[0];
324 fBBVertex[0][1] = origin[1] - halfLengths[1];
325 fBBVertex[0][2] = origin[2] - halfLengths[2];
327 fBBVertex[1][0] = origin[0] + halfLengths[0];
328 fBBVertex[1][1] = origin[1] - halfLengths[1];
329 fBBVertex[1][2] = origin[2] - halfLengths[2];
331 fBBVertex[2][0] = origin[0] + halfLengths[0];
332 fBBVertex[2][1] = origin[1] + halfLengths[1];
333 fBBVertex[2][2] = origin[2] - halfLengths[2];
335 fBBVertex[3][0] = origin[0] - halfLengths[0];
336 fBBVertex[3][1] = origin[1] + halfLengths[1];
337 fBBVertex[3][2] = origin[2] - halfLengths[2];
339 fBBVertex[4][0] = origin[0] - halfLengths[0];
340 fBBVertex[4][1] = origin[1] - halfLengths[1];
341 fBBVertex[4][2] = origin[2] + halfLengths[2];
343 fBBVertex[5][0] = origin[0] + halfLengths[0];
344 fBBVertex[5][1] = origin[1] - halfLengths[1];
345 fBBVertex[5][2] = origin[2] + halfLengths[2];
347 fBBVertex[6][0] = origin[0] + halfLengths[0];
348 fBBVertex[6][1] = origin[1] + halfLengths[1];
349 fBBVertex[6][2] = origin[2] + halfLengths[2];
351 fBBVertex[7][0] = origin[0] - halfLengths[0];
352 fBBVertex[7][1] = origin[1] + halfLengths[1];
353 fBBVertex[7][2] = origin[2] + halfLengths[2];
410 fRadiusInner(0.0), fRadiusOuter(0.0),
411 fThetaMin(0.0), fThetaMax(180.0),
412 fPhiMin(0.0), fPhiMax(360.0)
438 TBuffer3D(
TBuffer3DTypes::kTube, reqPnts, reqPntsCapacity, reqSegs, reqSegsCapacity, reqPols, reqPolsCapacity),
450 TBuffer3D(type, reqPnts, reqPntsCapacity, reqSegs, reqSegsCapacity, reqPols, reqPolsCapacity),
462 fPhiMin(0.0), fPhiMax(360.0)
473 TBuffer3DTube(type, reqPnts, reqPntsCapacity, reqSegs, reqSegsCapacity, reqPols, reqPolsCapacity),
TBuffer3D(const TBuffer3D &)
Complete tube description class - see TBuffer3DTypes for producer classes.
Double_t fHighPlaneNorm[3]
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 &)
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]
Bool_t IsSolidUncut() const
Test if buffer represents a solid uncut sphere.
void Init()
Initialise buffer.
virtual ~TBuffer3D()
Destructor.