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];
409 TBuffer3D(
TBuffer3DTypes::kSphere, reqPnts, reqPntsCapacity, reqSegs, reqSegsCapacity, reqPols, reqPolsCapacity),
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),
439 fRadiusInner(0.0), fRadiusOuter(1.0), fHalfLength(1.0)
450 TBuffer3D(
type, reqPnts, reqPntsCapacity, reqSegs, reqSegsCapacity, reqPols, reqPolsCapacity),
451 fRadiusInner(0.0), fRadiusOuter(1.0), fHalfLength(1.0)
462 fPhiMin(0.0), fPhiMax(360.0)
473 TBuffer3DTube(
type, reqPnts, reqPntsCapacity, reqSegs, reqSegsCapacity, reqPols, reqPolsCapacity),
474 fPhiMin(0.0), fPhiMax(360.0)
Double_t fLowPlaneNorm[3]
Double_t fHighPlaneNorm[3]
TBuffer3DCutTube(const TBuffer3DTubeSeg &)=delete
TBuffer3DSphere(const TBuffer3DSphere &)=delete
Bool_t IsSolidUncut() const
Test if buffer represents a solid uncut sphere.
Tube segment description class - see TBuffer3DTypes for producer classes.
TBuffer3DTubeSeg(const TBuffer3DTubeSeg &)
Complete tube description class - see TBuffer3DTypes for producer classes.
TBuffer3DTube(const TBuffer3DTube &)=delete
Generic 3D primitive description class.
void SetLocalMasterIdentity()
Set kRaw tessellation section of buffer with supplied sizes.
Double_t fLocalMaster[16]
static UInt_t DecCSLevel()
Decrement CS level.
static UInt_t GetCSLevel()
Return CS level.
void ClearSectionsValid()
Clear any sections marked valid.
void Init()
Initialise buffer.
static void IncCSLevel()
Increment CS level.
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...
TBuffer3D(const TBuffer3D &)=delete
virtual ~TBuffer3D()
Destructor.
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.