12 #ifndef ROOT_TOCCToStep
13 #define ROOT_TOCCToStep
19 #include <TDF_Label.hxx>
20 #include <XCAFDoc_ShapeTool.hxx>
21 #include <TDocStd_Document.hxx>
22 #include <STEPCAFControl_Writer.hxx>
23 #include <TDF_Label.hxx>
24 #include <TopoDS_Shape.hxx>
33 Handle(TDocStd_Document) fDoc;
43 void AddChildLabel(TDF_Label mother, TDF_Label child, TopLoc_Location loc);
The manager class for any TGeo geometry.
void OCCWriteStep(const char *fname)
TGeoVolume, TGeoVolumeMulti, TGeoVolumeAssembly are the volume classes.
void AddChildLabel(TDF_Label mother, TDF_Label child, TopLoc_Location loc)
TGeoVolume * GetVolumeOfLabel(TDF_Label fLabel)
Matrix class used for computing global transformations Should NOT be used for node definition...
STEPCAFControl_Writer fWriter
std::map< TGeoVolume *, TDF_Label > LabelMap_t
void OCCTreeCreation(TGeoManager *m)
TopLoc_Location CalcLocation(TGeoHMatrix matrix)
TDF_Label OCCShapeCreation(TGeoManager *m)
Logical fTree creation.
TDF_Label GetLabelOfVolume(TGeoVolume *v)
Handle(TDocStd_Document) fDoc
TopoDS_Shape AssemblyShape(TGeoVolume *vol, TGeoHMatrix m)