/* * GLMoleculeObject_shape.hpp * * Created on: Aug 3, 2012 * Author: ankele */ #ifndef GLMOLECULEOBJECT_SHAPE_HPP_ #define GLMOLECULEOBJECT_SHAPE_HPP_ // include config.h #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include "GLMoleculeObject.hpp" class Shape; /** This class represents a triangulated Shape. * */ class GLMoleculeObject_shape : public GLMoleculeObject { Q_OBJECT public: explicit GLMoleculeObject_shape(const Shape &shape, QObject *parent=0); virtual ~GLMoleculeObject_shape(); virtual void draw(QGLPainter *painter, const QVector4D &cameraPlane); private: const Shape &m_shape; }; #endif /* GLMOLECULEOBJECT_SHAPE_HPP_ */