13 #include "Alignment/CocoaVisMgr/interface/ALIVRMLMgr.h" 14 #include "Alignment/IgCocoaFileWriter/interface/IgCocoaFileMgr.h" 16 #include <CLHEP/Units/SystemOfUnits.h> 51 ALIVRMLMgr& vrmlmgr = ALIVRMLMgr::getInstance();
52 vrmlmgr.AddBox(*
this, 1., .2, .2);
53 vrmlmgr.SendReferenceFrame(*
this, 1.);
54 vrmlmgr.SendName(*
this, 0.01);
59 ALIColour*
col =
new ALIColour(1., 0., 1., 0.);
60 std::vector<ALIdouble> spar;
63 CLHEP::HepRotation
rm;
64 rm.rotateX(90. * deg);
65 IgCocoaFileMgr::getInstance().addSolid(*
this,
"CYLINDER", spar,
col, CLHEP::Hep3Vector(),
rm);
const CLHEP::Hep3Vector & centreGlob() const
void makeMeasurement(LightRay &lightray, Measurement &meas) override
CocoaSolidShape * theSolidShape
const ALIdouble * value() const
const OpticalObject * getPreviousOptO(const OpticalObject *Popto) const
const ALIstring & name() const
static GlobalOptionMgr * getInstance()
void defaultBehaviour(LightRay &lightray, Measurement &meas) override
int getGlobalOptionValue(const ALIstring &sstr, ALIdouble &val)
--— Search a string in theGlobalOptions and return 1 if found
const ALIdouble valueSimulated(ALIuint ii) const
void setValueSimulated(ALIint coor, ALIdouble value)
static void dump3v(const CLHEP::Hep3Vector &vec, const std::string &msg)
virtual void fillIguana()
void constructSolidShape() override