12 #include "Alignment/CocoaVisMgr/interface/ALIVRMLMgr.h"
13 #include "Alignment/IgCocoaFileWriter/interface/IgCocoaFileMgr.h"
15 #include "CLHEP/Units/GlobalSystemOfUnits.h"
35 ALIVRMLMgr& vrmlmgr = ALIVRMLMgr::getInstance();
36 ALIColour*
col =
new ALIColour( 1., 0., 0., 0. );
37 vrmlmgr.AddBox( *
this, 0.2, 0.2, 0.5,col);
38 vrmlmgr.SendReferenceFrame( *
this, 0.12);
39 vrmlmgr.SendName( *
this, 0.1 );
47 ALIColour* col =
new ALIColour( 1., 0., 0., 0. );
48 std::vector<ALIdouble> spar;
51 CLHEP::HepRotation
rm;
53 IgCocoaFileMgr::getInstance().addSolid( *
this,
"CYLINDER", spar, col, CLHEP::Hep3Vector(), rm);
CocoaSolidShape * theSolidShape
void constructSolidShape()
static GlobalOptionMgr * getInstance()
int getGlobalOptionValue(const ALIstring &sstr, ALIdouble &val)
--— Search a string in theGlobalOptions and return 1 if found
virtual void fillIguana()
virtual void defaultBehaviour(LightRay &lightray, Measurement &meas)
void startLightRay(OpticalObject *opto)