#include <OptOScreen.h>
Public Member Functions | |
void | constructSolidShape () |
virtual void | defaultBehaviour (LightRay &lightray, Measurement &meas) |
OptOScreen (OpticalObject *parent, const ALIstring &type, const ALIstring &name, const ALIbool copy_data) | |
OptOScreen () | |
~OptOScreen () |
Definition at line 18 of file OptOScreen.h.
OptOScreen::OptOScreen | ( | ) | [inline] |
Definition at line 23 of file OptOScreen.h.
{ };
OptOScreen::OptOScreen | ( | OpticalObject * | parent, |
const ALIstring & | type, | ||
const ALIstring & | name, | ||
const ALIbool | copy_data | ||
) | [inline] |
Definition at line 24 of file OptOScreen.h.
: OpticalObject( parent, type, name, copy_data){ };
OptOScreen::~OptOScreen | ( | ) | [inline] |
Definition at line 26 of file OptOScreen.h.
{ };
void OptOScreen::constructSolidShape | ( | ) | [virtual] |
Reimplemented from OpticalObject.
Definition at line 54 of file OptOScreen.cc.
References GlobalOptionMgr::getGlobalOptionValue(), GlobalOptionMgr::getInstance(), and m.
{ ALIdouble go; GlobalOptionMgr* gomgr = GlobalOptionMgr::getInstance(); gomgr->getGlobalOptionValue("VisScale", go ); theSolidShape = new CocoaSolidShapeBox( "Box", go*8.*cm/m, go*8.*cm/m, go*1.*cm/m ); //COCOA internal units are meters }
void OptOScreen::defaultBehaviour | ( | LightRay & | lightray, |
Measurement & | meas | ||
) | [virtual] |