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