14 #include "Alignment/CocoaVisMgr/interface/ALIVRMLMgr.h" 15 #include "Alignment/IgCocoaFileWriter/interface/IgCocoaFileMgr.h" 17 #include <CLHEP/Units/SystemOfUnits.h> 32 std::cout <<
"create laser lightray " << std::endl;
39 ALIVRMLMgr& vrmlmgr = ALIVRMLMgr::getInstance();
40 ALIColour*
col =
new ALIColour(1., 0., 0., 0.);
41 vrmlmgr.AddBox(*
this, 0.1, 0.1, 0.2,
col);
42 vrmlmgr.SendReferenceFrame(*
this, 0.12);
43 vrmlmgr.SendName(*
this, 0.1);
48 ALIColour*
col =
new ALIColour(1., 0., 0., 0.);
49 std::vector<ALIdouble> spar;
52 CLHEP::HepRotation
rm;
53 rm.rotateX(90. * deg);
54 IgCocoaFileMgr::getInstance().addSolid(*
this,
"CYLINDER", spar,
col, CLHEP::Hep3Vector(),
rm);
CocoaSolidShape * theSolidShape
void setRmGlobalOriginal(const CLHEP::HepRotation &rm)
static GlobalOptionMgr * getInstance()
int getGlobalOptionValue(const ALIstring &sstr, ALIdouble &val)
--— Search a string in theGlobalOptions and return 1 if found
void defaultBehaviour(LightRay &lightray, Measurement &meas) override
virtual void fillIguana()
void startLightRay(OpticalObject *opto)
void constructSolidShape() override
void setRmGlobal(const CLHEP::HepRotation &rm)