CMS 3D CMS Logo

Public Member Functions

OptOScreen Class Reference

#include <OptOScreen.h>

Inheritance diagram for OptOScreen:
OpticalObject

List of all members.

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 ()

Detailed Description

Definition at line 18 of file OptOScreen.h.


Constructor & Destructor Documentation

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.

{ };

Member Function Documentation

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]

Reimplemented from OpticalObject.

Definition at line 23 of file OptOScreen.cc.

{
 
}