19#ifndef FG_VIEWER_QUICK_DRAWABLE_HXX
20#define FG_VIEWER_QUICK_DRAWABLE_HXX
23#include <osg/Drawable>
25#include <osgViewer/GraphicsWindow>
40 virtual osg::Object*
cloneType()
const {
return 0; }
41 virtual osg::Object*
clone(
const osg::CopyOp& copyop)
const {
return 0; }
45 void setup(osgViewer::GraphicsWindow* gw, osgViewer::Viewer* viewer);
50 void reload(
const QUrl& url);
52 void resize(
int width,
int height);
55 std::unique_ptr<QQuickDrawablePrivate> d;
void setSource(const QUrl &url)
virtual ~QQuickDrawable()
virtual osg::Object * clone(const osg::CopyOp ©op) const
void reload(const QUrl &url)
void drawImplementation(osg::RenderInfo &renderInfo) const override
void setSourcePath(const std::string &path)
void resize(int width, int height)
virtual osg::Object * cloneType() const
void setup(osgViewer::GraphicsWindow *gw, osgViewer::Viewer *viewer)