]> git.tdb.fi Git - r2c2.git/blob - source/3d/object.h
Do not render unplaced vehicles
[r2c2.git] / source / 3d / object.h
1 /* $Id$
2
3 This file is part of the MSP Märklin suite
4 Copyright © 2010  Mikkosoft Productions, Mikko Rasa
5 Distributed under the GPL
6 */
7
8 #ifndef MARKLIN3D_OBJECT_H_
9 #define MARKLIN3D_OBJECT_H_
10
11 #include "libmarklin/geometry.h"
12
13 namespace Marklin {
14
15 class Object3D
16 {
17 protected:
18         Object3D() { }
19 public:
20         virtual ~Object3D() { }
21
22         virtual Point get_node() const = 0;
23         virtual bool is_visible() const = 0;
24 };
25
26 } // namespace Marklin
27
28 #endif