14 #include "Alignment/CocoaVisMgr/interface/ALIVRMLMgr.h"
15 #include "Alignment/IgCocoaFileWriter/interface/IgCocoaFileMgr.h"
17 #include "CLHEP/Units/GlobalSystemOfUnits.h"
32 CLHEP::Hep3Vector ZAxis(0., 0., 1.);
33 CLHEP::HepRotation rmt =
rmGlob();
39 CLHEP::Hep3Vector ZAxisdt(0., 0., 1.);
40 const CLHEP::HepRotation& rmtdt = opto_prev->
rmGlob();
41 ZAxisdt = rmtdt * ZAxisdt;
51 CLHEP::Hep3Vector inters = dm_line.
intersect(dt_plane);
53 dm_centre = inters - dm_centre;
77 ALIVRMLMgr& vrmlmgr = ALIVRMLMgr::getInstance();
78 ALIColour*
col =
new ALIColour(1., 0., 1., 0.);
79 vrmlmgr.AddBox(*
this, .2, .2, 1.,
col);
80 vrmlmgr.SendReferenceFrame(*
this, 1.2);
81 vrmlmgr.SendName(*
this, 0.1);
86 ALIColour*
col =
new ALIColour(1., 0., 0.5, 0.);
87 std::vector<ALIdouble> spar;
90 CLHEP::HepRotation
rm;
91 rm.rotateX(90. * deg);
92 IgCocoaFileMgr::getInstance().addSolid(*
this,
"CYLINDER", spar,
col, CLHEP::Hep3Vector(),
rm);
103 "Tubs", go * 0. * cm /
m, go * 2. * cm /
m, go * 5. * cm /
m);