CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
OptODistancemeter3dim.h
Go to the documentation of this file.
1 // COCOA class header file
2 //Id: OptODistancemeter3dim.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 _OPTODISTANCEMETER_HH
11 #define _OPTODISTANCEMETER_HH
12 
15 class Measurement;
16 class LightRay;
17 
19 public:
20  //---------- Constructors / Destructor
23  : OpticalObject(parent, type, name, copy_data){};
24  ~OptODistancemeter3dim() override{};
25 
26  //---------- defaultBehaviour: make measurement
27  void defaultBehaviour(LightRay& lightray, Measurement& meas) override;
28 
29  //---------- Make measurement
30  void makeMeasurement(LightRay& lightray, Measurement& meas) override;
31 
32 #ifdef COCOA_VIS
33  virtual void fillVRML();
34  virtual void fillIguana();
35 #endif
36  void constructSolidShape() override;
37 };
38 
39 #endif
void makeMeasurement(LightRay &lightray, Measurement &meas) override
virtual void fillVRML()
Definition: OpticalObject.h:54
OptODistancemeter3dim(OpticalObject *parent, const ALIstring &type, const ALIstring &name, const ALIbool copy_data)
void defaultBehaviour(LightRay &lightray, Measurement &meas) override
bool ALIbool
Definition: CocoaGlobals.h:19
const OpticalObject * parent() const
Definition: OpticalObject.h:60
virtual void fillIguana()
Definition: OpticalObject.h:55
void constructSolidShape() override
Measurement * meas()
std::string ALIstring
Definition: CocoaGlobals.h:9
const ALIstring & name() const
Definition: OpticalObject.h:58