12#ifndef ROOT7_REveShape
13#define ROOT7_REveShape
51 REveShape(
const std::string &
n =
"REveShape",
const std::string &t =
"");
int Int_t
Signed integer 4 bytes (int).
unsigned char UChar_t
Unsigned Character 1 byte (unsigned char).
bool Bool_t
Boolean (0=false, 1=true) (bool).
short Color_t
Color number (short).
float Float_t
Float 4 bytes (float).
REveElement(const std::string &name="", const std::string &title="")
Default constructor.
Bool_t GetHighlightFrame() const
Bool_t GetDrawFrame() const
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.
Color_t GetLineColor() const
void SetLineWidth(Float_t lw)
void CopyVizParams(const REveElement *el) override
Copy visualization parameters from element el.
std::vector< REveVector2 > vVector2_t
static void CheckAndFixBoxOrientationFv(Float_t box[8][3])
Make sure box orientation is consistent with standard arrangement.
void SetLineColor(Color_t c)
REveShape & operator=(const REveShape &)=delete
Float_t GetLineWidth() const
void SetFillAlpha(UChar_t c)
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...
void SetMiniFrame(Bool_t r)
void SetHighlightFrame(Bool_t f)
UChar_t GetLineAlpha() const
void SetFillColor(Color_t c)
UChar_t GetFillAlpha() const
Bool_t GetMiniFrame() const
REveShape(const REveShape &)=delete
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.
void SetDrawFrame(Bool_t f)
static void CheckAndFixBoxOrientationEv(REveVector box[8])
Make sure box orientation is consistent with standard arrangement.
void SetLineAlpha(UChar_t c)
~REveShape() override
Destructor.
Color_t GetFillColor() const
void SetMainColor(Color_t color) override
Set main color.
TAttBBox(const TAttBBox &tab)
void box(Int_t pat, Double_t x1, Double_t y1, Double_t x2, Double_t y2)
Namespace for ROOT features in testing.
REveVectorT< Float_t > REveVector