12 #ifndef ROOT_TGLIsoMesh 13 #define ROOT_TGLIsoMesh 60 fTris.push_back(t[0]);
61 fTris.push_back(t[1]);
62 fTris.push_back(t[2]);
111 : fMinX(0), fStepX(0),
119 if (pos == kBinCenter) {
127 fMinX *= xs, fStepX *= xs;
128 fMinY *= ys, fStepY *= ys;
129 fMinZ *= zs, fStepZ *= zs;
130 }
else if (pos == kBinEdge) {
138 fMinX *= xs, fStepX *= xs;
139 fMinY *= ys, fStepY *= ys;
140 fMinZ *= zs, fStepZ *= zs;
143 fXScaleInverted = 1. / xs;
144 fYScaleInverted = 1. / ys;
145 fZScaleInverted = 1. / zs;
165 void DrawMesh(
const std::vector<Float_t> &vs,
const std::vector<Float_t> &ns,
166 const std::vector<UInt_t> &ts);
167 void DrawMesh(
const std::vector<Double_t> &vs,
const std::vector<Double_t> &ns,
168 const std::vector<UInt_t> &ts);
170 void DrawMesh(
const std::vector<Float_t> &vs,
const std::vector<UInt_t> &fTS);
171 void DrawMesh(
const std::vector<Double_t> &vs,
const std::vector<UInt_t> &fTS);
173 void DrawMesh(
const std::vector<Float_t> &vs,
const std::vector<Float_t> &ns,
175 void DrawMesh(
const std::vector<Double_t> &vs,
const std::vector<Double_t> &ns,
178 void DrawMesh(
const std::vector<Float_t> &vs,
const std::vector<UInt_t> &ts,
180 void DrawMesh(
const std::vector<Double_t> &vs,
const std::vector<UInt_t> &ts,
183 void DrawMesh(
const std::vector<Double_t> &vs,
const std::vector<UInt_t> &ts,
185 void DrawMesh(
const std::vector<Float_t> &vs,
const std::vector<UInt_t> &ts,
188 void DrawMapleMesh(
const std::vector<Double_t> &vs,
const std::vector<Double_t> &ns,
189 const std::vector<UInt_t> &ts);
190 void DrawMapleMesh(
const std::vector<Double_t> &vs,
const std::vector<Double_t> &ns,
std::vector< UInt_t > fTris
Int_t GetFirst() const
Return first bin on the axis i.e.
virtual Double_t GetBinLowEdge(Int_t bin) const
Return low edge of bin.
void swap(TDirectoryEntry &e1, TDirectoryEntry &e2) noexcept
void box(Int_t pat, Double_t x1, Double_t y1, Double_t x2, Double_t y2)
virtual Double_t GetBinUpEdge(Int_t bin) const
Return up edge of bin.
UInt_t AddVertex(const V *v)
void AddNormal(const V *n)
virtual Double_t GetBinCenter(Int_t bin) const
Return center of bin.
TGridGeometry(const TAxis *x, const TAxis *y, const TAxis *z, Double_t xs=1., Double_t ys=1., Double_t zs=1., EVertexPosition pos=kBinCenter)
Int_t GetLast() const
Return last bin on the axis i.e.
Class to manage histogram axis.
void DrawMapleMesh(const std::vector< Double_t > &vs, const std::vector< Double_t > &ns, const std::vector< UInt_t > &ts)
Colored mesh with lighting disabled.
you should not use this method at all Int_t Int_t z
Used by plot-painters to determine the area of the plot that is cut away.
UInt_t AddTriangle(const UInt_t *t)
void DrawMesh(const std::vector< Float_t > &vs, const std::vector< Float_t > &ns, const std::vector< UInt_t > &ts)
Call function-template.