66 buff.SetLocalMasterIdentity();
85 gPad->GetViewer3D()->CloseComposite();
88 pad.SetViewer3D(
nullptr);
92 ::Warning(
"TEveGeoPolyShape::Construct",
"Failed extracting CSG tesselation for shape '%s'.",
cshape->GetName());
126 b.ClearSectionsValid();
142 std::map<Edge_t, Int_t> edges;
151 if (edges.find(
e) == edges.end())
153 edges.insert(std::make_pair(
e, 0));
165 for (std::map<Edge_t, Int_t>::iterator i = edges.begin(); i != edges.end(); ++i)
168 b.fSegs[
si++] = i->first.fI;
169 b.fSegs[
si++] = i->first.fJ;
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize fs
Generic 3D primitive description class.
static UInt_t DecCSLevel()
Decrement CS level.
static UInt_t GetCSLevel()
Return CS level.
static void IncCSLevel()
Increment CS level.
Exception safe wrapper for setting gGeoManager.
Description of TEveGeoPolyShape.
void FillBuffer3D(TBuffer3D &buffer, Int_t reqSections, Bool_t localFrame) const override
Fill the passed buffer 3D.
const TBuffer3D & GetBuffer3D(Int_t reqSections, Bool_t localFrame) const override
Fill static buffer 3D.
static TEveGeoPolyShape * Construct(TGeoCompositeShape *cshp, Int_t n_seg)
Static constructor from a composite shape.
TBuffer3D * MakeBuffer3D() const override
Create buffer 3D and fill it with point/segment/poly data.
std::vector< Double_t > fVertices
TEveGeoPolyShape()
Constructor.
void SetFromFaceSet(TGLFaceSet *fs)
Set data-members from a face-set.
std::vector< Int_t > fPolyDesc
static TGeoManager * GetGeoMangeur()
Return static geo-manager that is used internally to make shapes lead a happy life.
static TGeoHMatrix * GetGeoHMatrixIdentity()
Return static identity matrix in homogeneous representation.
Exception safe wrapper for setting gPad.
This was intended as a TPad wrapper to allow smart updates of groups of pads.
Implements a native ROOT-GL representation of an arbitrary set of polygons.
Implements VirtualViewer3D interface and fills the base-class visualization structures from pad conte...
Composite shapes are Boolean combinations of two or more shape components.
Geometrical transformation package.
static void SetTransform(TGeoMatrix *matrix)
Set current transformation matrix that applies to shape.
static TGeoMatrix * GetTransform()
Returns current transformation matrix that applies to shape.
virtual void Warning(const char *method, const char *msgfmt,...) const
Issue warning message.