12 #ifndef ROOT_TGLIsoMesh 13 #define ROOT_TGLIsoMesh 64 fTris.push_back(t[0]);
65 fTris.push_back(t[1]);
66 fTris.push_back(t[2]);
115 : fMinX(0), fStepX(0),
123 if (pos == kBinCenter) {
131 fMinX *= xs, fStepX *= xs;
132 fMinY *= ys, fStepY *= ys;
133 fMinZ *= zs, fStepZ *= zs;
134 }
else if (pos == kBinEdge) {
142 fMinX *= xs, fStepX *= xs;
143 fMinY *= ys, fStepY *= ys;
144 fMinZ *= zs, fStepZ *= zs;
147 fXScaleInverted = 1. / xs;
148 fYScaleInverted = 1. / ys;
149 fZScaleInverted = 1. / zs;
169 void DrawMesh(
const std::vector<Float_t> &vs,
const std::vector<Float_t> &ns,
170 const std::vector<UInt_t> &ts);
171 void DrawMesh(
const std::vector<Double_t> &vs,
const std::vector<Double_t> &ns,
172 const std::vector<UInt_t> &ts);
174 void DrawMesh(
const std::vector<Float_t> &vs,
const std::vector<UInt_t> &fTS);
175 void DrawMesh(
const std::vector<Double_t> &vs,
const std::vector<UInt_t> &fTS);
177 void DrawMesh(
const std::vector<Float_t> &vs,
const std::vector<Float_t> &ns,
179 void DrawMesh(
const std::vector<Double_t> &vs,
const std::vector<Double_t> &ns,
182 void DrawMesh(
const std::vector<Float_t> &vs,
const std::vector<UInt_t> &ts,
184 void DrawMesh(
const std::vector<Double_t> &vs,
const std::vector<UInt_t> &ts,
187 void DrawMesh(
const std::vector<Double_t> &vs,
const std::vector<UInt_t> &ts,
189 void DrawMesh(
const std::vector<Float_t> &vs,
const std::vector<UInt_t> &ts,
192 void DrawMapleMesh(
const std::vector<Double_t> &vs,
const std::vector<Double_t> &ns,
193 const std::vector<UInt_t> &ts);
194 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.