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