14 #include "Alignment/CocoaVisMgr/interface/ALIVRMLMgr.h"
15 #include "Alignment/IgCocoaFileWriter/interface/IgCocoaFileMgr.h"
17 #include "CLHEP/Units/GlobalSystemOfUnits.h"
43 ALIVRMLMgr& vrmlmgr = ALIVRMLMgr::getInstance();
44 ALIColour*
col =
new ALIColour( 1., 0., 0., 0. );
45 vrmlmgr.AddBox( *
this, 0.1, 0.1, 0.2,col);
46 vrmlmgr.SendReferenceFrame( *
this, 0.12);
47 vrmlmgr.SendName( *
this, 0.1 );
54 ALIColour* col =
new ALIColour( 1., 0., 0., 0. );
55 std::vector<ALIdouble> spar;
58 CLHEP::HepRotation
rm;
60 IgCocoaFileMgr::getInstance().addSolid( *
this,
"CYLINDER", spar, col, CLHEP::Hep3Vector(), rm);
virtual void defaultBehaviour(LightRay &lightray, Measurement &meas)
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 constructSolidShape()
virtual void fillIguana()
void startLightRay(OpticalObject *opto)
void setRmGlobal(const CLHEP::HepRotation &rm)