Logo ROOT   6.10/09
Reference Guide
List of all members | Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
TOCCToStep Class Reference

Definition at line 27 of file TOCCToStep.h.

Public Member Functions

 TOCCToStep ()
 
TDF_Label OCCShapeCreation (TGeoManager *m)
 Logical fTree creation. More...
 
void OCCTreeCreation (TGeoManager *m)
 
void OCCWriteStep (const char *fname)
 
void PrintAssembly ()
 

Private Types

typedef std::map< TGeoVolume *, TDF_Label > LabelMap_t
 

Private Member Functions

void AddChildLabel (TDF_Label mother, TDF_Label child, TopLoc_Location loc)
 
TopoDS_Shape AssemblyShape (TGeoVolume *vol, TGeoHMatrix m)
 
TopLoc_Location CalcLocation (TGeoHMatrix matrix)
 
TDF_Label GetLabelOfVolume (TGeoVolume *v)
 
TGeoVolumeGetVolumeOfLabel (TDF_Label fLabel)
 
 Handle (TDocStd_Document) fDoc
 
void OCCDocCreation ()
 

Private Attributes

TDF_Label fLabel
 
TGeoToOCC fRootShape
 
TopoDS_Shape fShape
 
LabelMap_t fTree
 
STEPCAFControl_Writer fWriter
 

#include <TOCCToStep.h>

Member Typedef Documentation

◆ LabelMap_t

typedef std::map<TGeoVolume *, TDF_Label> TOCCToStep::LabelMap_t
private

Definition at line 30 of file TOCCToStep.h.

Constructor & Destructor Documentation

◆ TOCCToStep()

TOCCToStep::TOCCToStep ( )

Definition at line 52 of file TOCCToStep.cxx.

Member Function Documentation

◆ AddChildLabel()

void TOCCToStep::AddChildLabel ( TDF_Label  mother,
TDF_Label  child,
TopLoc_Location  loc 
)
private

Definition at line 182 of file TOCCToStep.cxx.

◆ AssemblyShape()

TopoDS_Shape TOCCToStep::AssemblyShape ( TGeoVolume vol,
TGeoHMatrix  m 
)
private

◆ CalcLocation()

TopLoc_Location TOCCToStep::CalcLocation ( TGeoHMatrix  matrix)
private

Definition at line 190 of file TOCCToStep.cxx.

◆ GetLabelOfVolume()

TDF_Label TOCCToStep::GetLabelOfVolume ( TGeoVolume v)
private

Definition at line 160 of file TOCCToStep.cxx.

◆ GetVolumeOfLabel()

TGeoVolume * TOCCToStep::GetVolumeOfLabel ( TDF_Label  fLabel)
private

Definition at line 171 of file TOCCToStep.cxx.

◆ Handle()

TOCCToStep::Handle ( TDocStd_Document  )
private

◆ OCCDocCreation()

void TOCCToStep::OCCDocCreation ( )
private

Definition at line 59 of file TOCCToStep.cxx.

◆ OCCShapeCreation()

TDF_Label TOCCToStep::OCCShapeCreation ( TGeoManager m)

Logical fTree creation.

Definition at line 72 of file TOCCToStep.cxx.

◆ OCCTreeCreation()

void TOCCToStep::OCCTreeCreation ( TGeoManager m)

Definition at line 211 of file TOCCToStep.cxx.

◆ OCCWriteStep()

void TOCCToStep::OCCWriteStep ( const char *  fname)

Definition at line 145 of file TOCCToStep.cxx.

◆ PrintAssembly()

void TOCCToStep::PrintAssembly ( )

Definition at line 250 of file TOCCToStep.cxx.

Member Data Documentation

◆ fLabel

TDF_Label TOCCToStep::fLabel
private

Definition at line 35 of file TOCCToStep.h.

◆ fRootShape

TGeoToOCC TOCCToStep::fRootShape
private

Definition at line 36 of file TOCCToStep.h.

◆ fShape

TopoDS_Shape TOCCToStep::fShape
private

Definition at line 37 of file TOCCToStep.h.

◆ fTree

LabelMap_t TOCCToStep::fTree
private

Definition at line 34 of file TOCCToStep.h.

◆ fWriter

STEPCAFControl_Writer TOCCToStep::fWriter
private

Definition at line 32 of file TOCCToStep.h.


The documentation for this class was generated from the following files: