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