61REveSMorph::REveSMorph(
const std::string &
n,
const std::string &t) :
REveElement(
n, t)
109 j[
"bbox"] = {bb[0], bb[2], bb[4], bb[1], bb[3], bb[5]};
135 fRenderData = std::make_unique<REveRenderData>(
"makeSMorph");
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
void SetMainColorPtr(Color_t *colptr)
virtual REveTrans & RefMainTrans()
Return reference to main transformation.
virtual Int_t WriteCoreJson(nlohmann::json &cj, Int_t rnr_offset)
Write core json.
std::unique_ptr< REveRenderData > fRenderData
! Vertex / normal / triangle index information for rendering.
virtual void BuildRenderData()
Write transformation Matrix to render data.
Float_t fThetaMax
theta to fThetaMax * pi
Float_t fCx
radial convergence, proportional to cos(theta)
Float_t fPhiMean
phi centred on fPhiMean * 2pi
Bool_t fEquiSurf
Space the theta rings by equal surface area rather than by equal angle, which keeps the quads near th...
Float_t fRz
shear about z, proportional to x
Color_t fColor
Surface colour, multiplied by the texture where there is one.
Float_t fPhiRange
phi spanning fPhiRange * 2pi; 1 closes the seam
Float_t fTx
twist of phi, proportional to cos(theta)
void SetRadius(Float_t r)
Uniform scale on the main transformation.
std::string fTexture
File name under ui5/eve7/textures/. Empty draws in the main colour.
void BuildRenderData() override
Name the client factory makeSMorph.
Float_t fTexYOff
u shift per whole v, for a brick bond
void ComputeBBox() override
Bounding box: the unit cube in the element's own frame.
Float_t fTexXC
u wraps per turn in phi
Int_t fPLevel
divisions in phi
Int_t WriteCoreJson(nlohmann::json &j, Int_t rnr_offset) override
Stream the shape and texture parameters and the bounding box.
Int_t fTLevel
divisions in theta
Float_t fThetaMin
theta from fThetaMin * pi
Float_t fTexYC
v wraps per sweep in theta
void SetScale(Double_t sx, Double_t sy, Double_t sz)
Set scaling.
void BBoxCheckPoint(Float_t x, Float_t y, Float_t z)
void BBoxInit(Float_t infinity=1e6)
Allocate and prepare for incremental filling.
Namespace for ROOT features in testing.