vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
osgQ_QShapeDrawable.h
Go to the documentation of this file.
1 #ifndef OSGQ_QSHAPEDRAWABLE_H
2 #define OSGQ_QSHAPEDRAWABLE_H
3 
4 #include <osg/ShapeDrawable>
5 #include <osg/RenderInfo>
6 
7 namespace osgQ {
8 
9  class QShapeDrawable : public osg::ShapeDrawable {
10  public:
11  QShapeDrawable(osg::Shape* shape, osg::TessellationHints* hints=0) : osg::ShapeDrawable(shape, hints) {}
12 
13  virtual void drawImplementation(osg::RenderInfo& renderInfo) const;
14  virtual void accept(osg::PrimitiveFunctor& pf) const;
15  virtual osg::BoundingBox computeBound() const;
16  };
17 
18 }
19 #endif