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;
49 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)