1 #ifndef R2C2_3D_OBJECT_H_
2 #define R2C2_3D_OBJECT_H_
4 #include <sigc++/trackable.h>
5 #include <msp/gl/matrix.h>
6 #include "libr2c2/geometry.h"
7 #include "libr2c2/object.h"
13 class Object3D: public sigc::trackable
18 Msp::GL::Matrix matrix;
20 Object3D(Layout3D &, Object &);
24 Layout3D &get_layout() const { return layout; }
25 Object &get_object() const { return object; }
27 const Msp::GL::Matrix &get_matrix() const { return matrix; }
28 virtual Vector get_node() const = 0;
29 virtual bool is_visible() const = 0;