12 #ifndef ROOT_TOCCToStep
13 #define ROOT_TOCCToStep
18 #ifndef ROOT_TGeoMatrix
21 #ifndef ROOT_TGeoToOCC
25 #include <TDF_Label.hxx>
26 #include <XCAFDoc_ShapeTool.hxx>
27 #include <TDocStd_Document.hxx>
28 #include <STEPCAFControl_Writer.hxx>
29 #include <TDF_Label.hxx>
30 #include <TopoDS_Shape.hxx>
39 Handle(TDocStd_Document) fDoc;
45 void OCCDocCreation();
49 void AddChildLabel(TDF_Label mother, TDF_Label child, TopLoc_Location loc);
void OCCWriteStep(const char *fname)
void AddChildLabel(TDF_Label mother, TDF_Label child, TopLoc_Location loc)
TGeoVolume * GetVolumeOfLabel(TDF_Label fLabel)
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)