12#ifndef ROOT7_REveShape
13#define ROOT7_REveShape
22namespace Experimental {
49 REveShape(
const std::string &
n =
"REveShape",
const std::string &t =
"");
void WriteVizParams(std::ostream &out, const TString &var) override
Write visualization parameters.
static Int_t FindConvexHull(const vVector2_t &pin, vVector2_t &pout, REveElement *caller=nullptr)
Determines the convex-hull of points in pin.
void CopyVizParams(const REveElement *el) override
Copy visualization parameters from element el.
virtual void SetLineWidth(Float_t lw)
std::vector< REveVector2 > vVector2_t
static void CheckAndFixBoxOrientationFv(Float_t box[8][3])
Make sure box orientation is consistent with standard arrangement.
virtual void SetMiniFrame(Bool_t r)
virtual ~REveShape()
Destructor.
REveShape & operator=(const REveShape &)
static Bool_t IsBoxOrientationConsistentEv(const REveVector box[8])
Checks if the first face normal is pointing into the other direction as the vector pointing towards t...
virtual void SetHighlightFrame(Bool_t f)
virtual void SetLineColor(Color_t c)
virtual Color_t GetFillColor() const
virtual Float_t GetLineWidth() const
virtual void SetFillColor(Color_t c)
static Bool_t IsBoxOrientationConsistentFv(const Float_t box[8][3])
Checks if the first face normal is pointing into the other direction as the vector pointing towards t...
Int_t WriteCoreJson(nlohmann::json &j, Int_t rnr_offset) override
Fill core part of JSON representation.
virtual Bool_t GetDrawFrame() const
virtual Color_t GetLineColor() const
static void CheckAndFixBoxOrientationEv(REveVector box[8])
Make sure box orientation is consistent with standard arrangement.
REveShape(const REveShape &)
virtual Bool_t GetMiniFrame() const
virtual Bool_t GetHighlightFrame() const
virtual void SetDrawFrame(Bool_t f)
void SetMainColor(Color_t color) override
Set main color.
Helper for management of bounding-box information.
void box(Int_t pat, Double_t x1, Double_t y1, Double_t x2, Double_t y2)