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]);
120 fMinX = V(
x->GetBinCenter(
x->GetFirst()));
121 fStepX = V((
x->GetBinCenter(
x->GetLast()) -
fMinX) / (
x->GetNbins() - 1));
122 fMinY = V(
y->GetBinCenter(
y->GetFirst()));
123 fStepY = V((
y->GetBinCenter(
y->GetLast()) -
fMinY) / (
y->GetNbins() - 1));
131 fMinX = V(
x->GetBinLowEdge(
x->GetFirst()));
132 fStepX = V((
x->GetBinUpEdge(
x->GetLast()) -
fMinX) / (
x->GetNbins()));
133 fMinY = V(
y->GetBinLowEdge(
y->GetFirst()));
134 fStepY = V((
y->GetBinUpEdge(
y->GetLast()) -
fMinY) / (
y->GetNbins()));
165void DrawMesh(
const std::vector<Float_t> &vs,
const std::vector<Float_t> &
ns,
166 const std::vector<UInt_t> &ts);
167void DrawMesh(
const std::vector<Double_t> &vs,
const std::vector<Double_t> &
ns,
168 const std::vector<UInt_t> &ts);
170void DrawMesh(
const std::vector<Float_t> &vs,
const std::vector<UInt_t> &fTS);
171void DrawMesh(
const std::vector<Double_t> &vs,
const std::vector<UInt_t> &fTS);
173void DrawMesh(
const std::vector<Float_t> &vs,
const std::vector<Float_t> &
ns,
175void DrawMesh(
const std::vector<Double_t> &vs,
const std::vector<Double_t> &
ns,
178void DrawMesh(
const std::vector<Float_t> &vs,
const std::vector<UInt_t> &ts,
180void DrawMesh(
const std::vector<Double_t> &vs,
const std::vector<UInt_t> &ts,
183void DrawMesh(
const std::vector<Double_t> &vs,
const std::vector<UInt_t> &ts,
185void DrawMesh(
const std::vector<Float_t> &vs,
const std::vector<UInt_t> &ts,
188void DrawMapleMesh(
const std::vector<Double_t> &vs,
const std::vector<Double_t> &
ns,
189 const std::vector<UInt_t> &ts);
190void DrawMapleMesh(
const std::vector<Double_t> &vs,
const std::vector<Double_t> &
ns,
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)
void AddNormal(const V *n)
UInt_t AddVertex(const V *v)
UInt_t AddTriangle(const UInt_t *t)
std::vector< UInt_t > fTris
Class to manage histogram axis.
virtual Double_t GetBinCenter(Int_t bin) const
Return center of bin.
virtual Double_t GetBinLowEdge(Int_t bin) const
Return low edge of bin.
Int_t GetLast() const
Return last bin on the axis i.e.
virtual Double_t GetBinUpEdge(Int_t bin) const
Return up edge of bin.
Int_t GetFirst() const
Return first bin on the axis i.e.
Used by plot-painters to determine the area of the plot that is cut away.
void box(Int_t pat, Double_t x1, Double_t y1, Double_t x2, Double_t y2)
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.
void DrawMesh(const std::vector< Float_t > &vs, const std::vector< Float_t > &ns, const std::vector< UInt_t > &ts)
Call function-template.
static constexpr double ns
void swap(nlohmann::json &j1, nlohmann::json &j2) noexcept(is_nothrow_move_constructible< nlohmann::json >::value and is_nothrow_move_assignable< nlohmann::json >::value)
exchanges the values of two JSON objects