12 #ifndef ROOT_TEveShape 13 #define ROOT_TEveShape 46 TEveShape(
const char*
n=
"TEveShape",
const char* t=
"");
Abstract base-class for 2D/3D shapes.
virtual void SetMiniFrame(Bool_t r)
GUI editor for TEveShape.
virtual void SetHighlightFrame(Bool_t f)
std::vector< TEveVector2 > vVector2_t
virtual void SetLineWidth(Float_t lw)
Use this attribute class when an object should have 3D capabilities.
virtual void SetLineColor(Color_t c)
virtual Bool_t GetDrawFrame() const
void box(Int_t pat, Double_t x1, Double_t y1, Double_t x2, Double_t y2)
virtual Color_t GetLineColor() const
virtual Float_t GetLineWidth() const
static void CheckAndFixBoxOrientationFv(Float_t box[8][3])
Make sure box orientation is consistent with standard arrangement.
#define ClassDef(name, id)
virtual void SetDrawFrame(Bool_t f)
virtual void WriteVizParams(std::ostream &out, const TString &var)
Write visualization parameters.
virtual void SetMainColor(Color_t color)
Set main color.
virtual ~TEveShape()
Destructor.
virtual void Paint(Option_t *option="")
Paint this object. Only direct rendering is supported.
std::vector< TEveVector2 >::iterator vVector2_i
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...
TEveShape & operator=(const TEveShape &)
virtual Color_t GetFillColor() const
TEveShape(const TEveShape &)
virtual Bool_t GetMiniFrame() const
virtual void CopyVizParams(const TEveElement *el)
Copy visualization parameters from element el.
Helper for management of bounding-box information.
virtual Bool_t GetHighlightFrame() const
virtual void SetFillColor(Color_t c)
static Int_t FindConvexHull(const vVector2_t &pin, vVector2_t &pout, TEveElement *caller=0)
Determines the convex-hull of points in pin.
static Bool_t IsBoxOrientationConsistentEv(const TEveVector box[8])
Checks if the first face normal is pointing into the other direction as the vector pointing towards t...
static void CheckAndFixBoxOrientationEv(TEveVector box[8])
Make sure box orientation is consistent with standard arrangement.
Base class for TEveUtil visualization elements, providing hierarchy management, rendering control and...