142 if (factors[0] > 0)
faX = factors[0];
143 if (factors[1] > 0)
faY = factors[1];
144 if (factors[2] > 0)
faZ = factors[2];
171 for (i = 0; i <
fNz+1; i++) {
175 for (
j = 0;
j <
n;
j++) {
182 for (
j = 0;
j <
n;
j++) {
241 for (
j = 0;
j <
n;
j++)
260 for (
j = 0;
j <
n;
j++)
344 for (i = 0; i <
nz*2; i++) {
346 for (
j = 1;
j <
n;
j++) {
359 for (i = 0; i < 2; i++) {
361 for (
j = 0;
j <
n;
j++) {
369 for (i = 0; i < (
nz-1); i++) {
373 for (
j = 0;
j <
n;
j++) {
380 for (
j = 0;
j <
n;
j++) {
390 for (i = 1; i < (
nz-1); i++) {
391 for (
j = 0;
j < 2;
j++) {
405 for (
j = 0;
j <
n-1;
j++) {
413 for (
j = 0;
j <
n-1;
j++) {
438 for (k = 0; k < (
nz-1); k++) {
439 for (
j = 0;
j <
n-1;
j++) {
447 for (
j = 0;
j <
n-1;
j++) {
477 for (k = 0; k < (
nz-1); k++) {
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t points
Generic 3D primitive description class.
Bool_t SectionsValid(UInt_t mask) const
void SetSectionsValid(UInt_t mask)
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.
Buffer base class used for serializing objects.
virtual void SetNumberOfDivisions(Int_t p)
Set number of divisions.
~TSPHE() override
SPHE shape default destructor.
Int_t DistancetoPrimitive(Int_t px, Int_t py) override
Compute distance from point px,py to a PSPHE.
virtual Int_t GetNumberOfDivisions() const
virtual void MakeTableOfCoSin() const
Make table of sine and cosine.
TSPHE()
SPHE shape default constructor.
TClass * IsA() const override
void Streamer(TBuffer &) override
Stream a class object.
void SetPoints(Double_t *points) const override
Create SPHE points.
const TBuffer3D & GetBuffer3D(Int_t reqSections) const override
Get buffer 3d.
Double_t * fCoThetaTab
Table of cos(fPhimin) .... cos(Phi)
Double_t * fCoTab
Table of sin(fPhimin) .... sin(Phi)
virtual void SetEllipse(const Float_t *factors)
Set ellipse.
Float_t fAspectRatio
number of sections
void Sizeof3D() const override
Return total X3D needed by TNode::ls (when called with option "x")
Int_t fNdiv
Table of sin(gThemin) .... cos(Theta)
This is the base class for all geometry shapes.
void Streamer(TBuffer &) override
Stream an object of class TShape.
Int_t GetBasicColor() const
Get basic color.
Int_t ShapeDistancetoPrimitive(Int_t numPoints, Int_t px, Int_t py)
Distance to primitive.
virtual void FillBuffer3D(TBuffer3D &buffer, Int_t reqSections) const
We have to set kRawSize (unless already done) to allocate buffer space before kRaw can be filled.
void TransformPoints(Double_t *points, UInt_t NbPnts) const
Transform points (LocalToMaster)
Double_t ATan(Double_t)
Returns the principal value of the arc tangent of x, expressed in radians.
Double_t Sqrt(Double_t x)
Returns the square root of x.
Double_t Cos(Double_t)
Returns the cosine of an angle of x radians.
Double_t Sin(Double_t)
Returns the sine of an angle of x radians.
Short_t Abs(Short_t d)
Returns the absolute value of parameter Short_t d.