12#ifndef ROOT_TEvePolygonSetProjected
13#define ROOT_TEvePolygonSetProjected
46 if (
fPnts[i] == pi)
return i;
#define ClassDef(name, id)
winID h TVirtualViewer3D TVirtualGLPainter p
Generic 3D primitive description class.
Base class for TEveUtil visualization elements, providing hierarchy management, rendering control and...
GL-renderer for TEvePolygonSetProjected class.
A set of projected polygons.
virtual void ComputeBBox()
Override of virtual method from TAttBBox.
virtual void SetDepthLocal(Float_t d)
Set depth (z-coordinate) of the projected points.
TEvePolygonSetProjected & operator=(const TEvePolygonSetProjected &)=delete
void DumpBuffer3D()
Dump information about currently projected buffer.
vpPolygon_t::iterator vpPolygon_i
virtual TEveElement * GetProjectedAsElement()
Returns this projected dynamic-casted to TEveElement.
vpPolygon_t::const_iterator vpPolygon_ci
Int_t * ProjectAndReducePoints()
Project and reduce buffer points.
Float_t MakePolygonsFromBS(Int_t *idxMap)
Build polygons from the set of buffer segments.
std::list< Polygon_t > vpPolygon_t
Float_t MakePolygonsFromBP(Int_t *idxMap)
Build polygons from list of buffer polygons.
TEvePolygonSetProjected(const TEvePolygonSetProjected &)=delete
Float_t PolygonSurfaceXY(const Polygon_t &poly) const
Calculate XY surface of a polygon.
virtual void SetProjection(TEveProjectionManager *mng, TEveProjectable *model)
This is virtual method from base-class TEveProjected.
void ProjectBuffer3D()
Project current buffer.
friend class TEvePolygonSetProjectedEditor
virtual void UpdateProjection()
This is virtual method from base-class TEveProjected.
virtual ~TEvePolygonSetProjected()
Destructor.
Float_t AddPolygon(std::list< Int_t, std::allocator< Int_t > > &pp, std::list< Polygon_t, std::allocator< Polygon_t > > &p)
Check if polygon has dimensions above TEveProjection::fgEps and add it to a list if it is not a dupli...
virtual void DumpPolys() const
Dump information about built polygons.
Bool_t IsFirstIdxHead(Int_t s0, Int_t s1)
Compare the two segments and check if the first index of first segment is starting.
Abstract base-class for non-linear projectable objects.
Abstract base class for classes that hold results of a non-linear projection transformation.
Manager class for steering of projections and managing projected objects.
Abstract base-class for 2D/3D shapes.
Int_t FindPoint(Int_t pi)
Polygon_t & operator=(const Polygon_t &x)