Go to the documentation of this file.
13 #include "Alignment/CocoaVisMgr/interface/ALIVRMLMgr.h"
14 #include "Alignment/IgCocoaFileWriter/interface/IgCocoaFileMgr.h"
16 #include "CLHEP/Units/GlobalSystemOfUnits.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);
76 "Tubs", go * 0. * cm /
m, go * 2. * cm /
m, go * 5. * cm /
m);
const ALIstring & name() const
static GlobalOptionMgr * getInstance()
int getGlobalOptionValue(const ALIstring &sstr, ALIdouble &val)
--— Search a string in theGlobalOptions and return 1 if found
CocoaSolidShape * theSolidShape
void setValueSimulated(ALIint coor, ALIdouble value)
const CLHEP::Hep3Vector & centreGlob() const
virtual void fillIguana()
void constructSolidShape() override
void defaultBehaviour(LightRay &lightray, Measurement &meas) override
void makeMeasurement(LightRay &lightray, Measurement &meas) override
const ALIdouble valueSimulated(ALIuint ii) const
static void dump3v(const CLHEP::Hep3Vector &vec, const std::string &msg)
const ALIdouble * value() const
const OpticalObject * getPreviousOptO(const OpticalObject *Popto) const