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>
45 void AddChildLabel(TDF_Label mother, TDF_Label child, TopLoc_Location loc);
Matrix class used for computing global transformations Should NOT be used for node definition.
The manager class for any TGeo geometry.
A node represent a volume positioned inside another.They store links to both volumes and to the TGeoM...
This class contains implementation of converting ROOT's geometry shapes to OpenCascade shapes.
TGeoVolume, TGeoVolumeMulti, TGeoVolumeAssembly are the volume classes.
This class contains implementation of writing OpenCascade's geometry shapes to the STEP file reproduc...
std::map< TGeoVolume *, TDF_Label > LabelMap_t
TopoDS_Shape AssemblyShape(TGeoVolume *vol, TGeoHMatrix m)
STEPCAFControl_Writer fWriter
TGeoVolume * GetVolumeOfLabel(TDF_Label fLabel)
TopLoc_Location CalcLocation(TGeoHMatrix matrix)
bool OCCPartialTreeCreation(TGeoManager *m, const char *node_name, int max_level=-1)
Handle(TDocStd_Document) fDoc
void OCCWriteStep(const char *fname)
TDF_Label GetLabelOfVolume(TGeoVolume *v)
void FillOCCWithNode(TGeoManager *m, TGeoNode *currentNode, TGeoIterator &nextNode, int level, int max_level, int level1_skipped)
TDF_Label OCCShapeCreation(TGeoManager *m)
Logical fTree creation.
void AddChildLabel(TDF_Label mother, TDF_Label child, TopLoc_Location loc)
void OCCTreeCreation(TGeoManager *m, int max_level=-1)