ROOT 6.12/07 Reference Guide |
This class contains implementation of converting ROOT's geometry shapes to OpenCascade shapes.
Each ROOT shape is translated in the corrispondent OCC shape using the following methods:
A log file is created in /tmp/TGeoCad.log
Definition at line 30 of file TGeoToOCC.h.
Public Member Functions | |
TGeoToOCC () | |
virtual | ~TGeoToOCC () |
TopoDS_Shape | OCC_CompositeShape (TGeoCompositeShape *cs, TGeoHMatrix matrix) |
TopoDS_Shape | OCC_SimpleShape (TGeoShape *TG_Shape) |
TopoDS_Shape | Reverse (TopoDS_Shape Shape) |
Private Member Functions | |
TopoDS_Shape | Gtra_Arb8Creation (Double_t *vertex, Int_t *faces, Int_t fNumber) |
TopoDS_Shape | OCC_Arb8 (Double_t dz, Double_t *ivert, Double_t *points) |
TopoDS_Shape | OCC_Box (Double_t dx, Double_t dy, Double_t dz, Double_t OX, Double_t OY, Double_t OZ) |
TopoDS_Shape | OCC_Cones (Double_t rmin1, Double_t rmax1, Double_t rmin2, Double_t rmax2, Double_t dz, Double_t phi1, Double_t phi2) |
TopoDS_Shape | OCC_Cuttub (Double_t rmin, Double_t rmax, Double_t dz, Double_t phi1, Double_t Dphi, const Double_t *Nlow, const Double_t *Nhigh) |
TopoDS_Shape | OCC_EllTube (Double_t Dx, Double_t Dy, Double_t Dz) |
TopoDS_Shape | OCC_Hype (Double_t rmin, Double_t rmax, Double_t stin, Double_t stout, Double_t dz) |
TopoDS_Shape | OCC_ParaTrap (Double_t *vertex) |
TopoDS_Shape | OCC_Pcon (Double_t startPhi, Double_t deltaPhi, Int_t zNum, Double_t *rMin, Double_t *rMax, Double_t *z) |
TopoDS_Shape | OCC_Pgon (Int_t np, Int_t nz, Double_t *p, Double_t phi1, Double_t DPhi, Int_t numpoint) |
TopoDS_Shape | OCC_Sphere (Double_t rmin, Double_t rmax, Double_t phi1, Double_t Dphi, Double_t theta1, Double_t Dtheta) |
TopoDS_Shape | OCC_Torus (Double_t Rmin, Double_t Rmax, Double_t Rtor, Double_t SPhi, Double_t DPhi) |
TopoDS_Shape | OCC_Trd (Double_t dx1, Double_t dx2, Double_t dy1, Double_t dy2, Double_t dz) |
TopoDS_Shape | OCC_Tube (Double_t rmin, Double_t rmax, Double_t dz, Double_t phi1, Double_t phi2) |
TopoDS_Shape | OCC_Xtru (TGeoXtru *TG_Xtru) |
void | OCCDocCreation () |
TopoDS_Wire | Polygon (Double_t *x, Double_t *y, Double_t z, Int_t num) |
Private Attributes | |
TopoDS_Shape | fOccShape |
ofstream | out |
#include <TGeoToOCC.h>
TGeoToOCC::TGeoToOCC | ( | ) |
Definition at line 119 of file TGeoToOCC.cxx.
|
virtual |
Definition at line 124 of file TGeoToOCC.cxx.
|
private |
Definition at line 705 of file TGeoToOCC.cxx.
|
private |
Definition at line 836 of file TGeoToOCC.cxx.
TopoDS_Shape TGeoToOCC::OCC_CompositeShape | ( | TGeoCompositeShape * | cs, |
TGeoHMatrix | matrix | ||
) |
Definition at line 225 of file TGeoToOCC.cxx.
|
private |
Definition at line 460 of file TGeoToOCC.cxx.
|
private |
Definition at line 491 of file TGeoToOCC.cxx.
Definition at line 322 of file TGeoToOCC.cxx.
|
private |
Definition at line 613 of file TGeoToOCC.cxx.
|
private |
Definition at line 670 of file TGeoToOCC.cxx.
|
private |
Definition at line 901 of file TGeoToOCC.cxx.
|
private |
Definition at line 940 of file TGeoToOCC.cxx.
TopoDS_Shape TGeoToOCC::OCC_SimpleShape | ( | TGeoShape * | TG_Shape | ) |
Definition at line 129 of file TGeoToOCC.cxx.
|
private |
Definition at line 374 of file TGeoToOCC.cxx.
|
private |
Definition at line 347 of file TGeoToOCC.cxx.
|
private |
Definition at line 846 of file TGeoToOCC.cxx.
|
private |
Definition at line 422 of file TGeoToOCC.cxx.
|
private |
Definition at line 588 of file TGeoToOCC.cxx.
|
private |
Definition at line 886 of file TGeoToOCC.cxx.
TopoDS_Shape TGeoToOCC::Reverse | ( | TopoDS_Shape | Shape | ) |
Definition at line 1038 of file TGeoToOCC.cxx.
|
private |
Definition at line 51 of file TGeoToOCC.h.
|
private |
Definition at line 50 of file TGeoToOCC.h.