]> git.tdb.fi Git - r2c2.git/blob - source/3d/beamgate.h
Basic support for beam gate sensors
[r2c2.git] / source / 3d / beamgate.h
1 #ifndef R2C2_3D_BEAMGATE_H_
2 #define R2C2_3D_BEAMGATE_H_
3
4 #include <msp/gl/objectinstance.h>
5 #include "libr2c2/beamgate.h"
6 #include "object.h"
7
8 namespace R2C2 {
9
10 class BeamGate3D: public Object3D, public Msp::GL::ObjectInstance
11 {
12 public:
13         BeamGate3D(Layout3D &, BeamGate &);
14         ~BeamGate3D();
15
16         virtual Vector get_node() const;
17         virtual bool is_visible() const { return true; }
18
19         virtual void setup_render(Msp::GL::Renderer &, const Msp::GL::Tag &) const;
20 };
21
22 } // namespace R2C2
23
24 #endif