62 tr->RegisterYourself();
63 tr1->RegisterYourself();
64 tr2->RegisterYourself();
65 tr3->RegisterYourself();
78 REX::REveManager::Create();
80 REX::REveGeoPolyShape::SetAutoEnforceTriangles(
true);
86 throw std::runtime_error(
"The first vshape is not a CSG shape.");
109 eve_shape->SaveExtract(
"csg.root",
"CSG Demo");
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
R__EXTERN TGeoManager * gGeoManager
Composite shapes are Boolean combinations of two or more shape components.
The manager class for any TGeo geometry.
void CloseGeometry(Option_t *option="d")
Closing geometry implies checking the geometry validity, fixing shapes with negative parameters (run-...
TGeoVolume * MakeBox(const char *name, TGeoMedium *medium, Double_t dx, Double_t dy, Double_t dz)
Make in one step a volume pointing to a box shape with given medium.
void SetTopVolume(TGeoVolume *vol)
Set the top volume and corresponding node as starting point of the geometry.
TGeoNode * GetTopNode() const
Base class describing materials.
Media are used to store properties related to tracking and which are useful only when using geometry ...
TGeoSphere are not just balls having internal and external radii, but sectors of a sphere having defi...
Class describing translations.
TGeoVolume, TGeoVolumeMulti, TGeoVolumeAssembly are the volume classes.
virtual TGeoNode * AddNode(TGeoVolume *vol, Int_t copy_no, TGeoMatrix *mat=nullptr, Option_t *option="")
Add a TGeoNode to the list of nodes.
void SetLineColor(Color_t lcolor) override
Set the line color.
void box(Int_t pat, Double_t x1, Double_t y1, Double_t x2, Double_t y2)