CMS 3D CMS Logo

OptOScreen.h
Go to the documentation of this file.
1 // COCOA class header file
2 //Id: OptOScreen.h
3 //CAT: Model
4 //
5 // Base class to describe Optical Objects of type sensor 2D
6 //
7 // History: v1.0
8 // Pedro Arce
9 
10 #ifndef _OPTOSCREEN_HH
11 #define _OPTOSCREEN_HH
12 
15 class Measurement;
16 class LightRay;
17 
18 class OptOScreen : public OpticalObject {
19 public:
20  //---------- Constructors / Destructor
22  OptOScreen(OpticalObject* parent, const ALIstring& type, const ALIstring& name, const ALIbool copy_data)
23  : OpticalObject(parent, type, name, copy_data){};
24  ~OptOScreen() override{};
25 
26  //---------- defaultBehaviour: do nothing
27  void defaultBehaviour(LightRay& lightray, Measurement& meas) override;
28 #ifdef COCOA_VIS
29  virtual void fillVRML();
30  virtual void fillIguana();
31 #endif
32  void constructSolidShape() override;
33 };
34 
35 #endif
OpticalObject::meas
Measurement * meas()
Definition: OpticalObject.h:200
ALIbool
bool ALIbool
Definition: CocoaGlobals.h:19
OpticalObject.h
OpticalObject::name
const ALIstring & name() const
Definition: OpticalObject.h:58
OptOScreen::~OptOScreen
~OptOScreen() override
Definition: OptOScreen.h:24
ALIstring
std::string ALIstring
Definition: CocoaGlobals.h:9
OpticalObject
Definition: OpticalObject.h:35
OptOScreen::OptOScreen
OptOScreen(OpticalObject *parent, const ALIstring &type, const ALIstring &name, const ALIbool copy_data)
Definition: OptOScreen.h:22
OptOScreen
Definition: OptOScreen.h:18
OptOScreen::constructSolidShape
void constructSolidShape() override
Definition: OptOScreen.cc:48
Measurement
Definition: Measurement.h:27
OpticalObject::fillIguana
virtual void fillIguana()
Definition: OpticalObject.h:55
OptOScreen::OptOScreen
OptOScreen()
Definition: OptOScreen.h:21
LightRay
Definition: LightRay.h:20
OpticalObject::parent
const OpticalObject * parent() const
Definition: OpticalObject.h:60
type
type
Definition: HCALResponse.h:21
OpticalObject::fillVRML
virtual void fillVRML()
Definition: OpticalObject.h:54
CocoaGlobals.h
OptOScreen::defaultBehaviour
void defaultBehaviour(LightRay &lightray, Measurement &meas) override
Definition: OptOScreen.cc:23