Code Search for Developers
 
 
  

IRenderPluginABC.h from osgDesigner at Krugle


Show IRenderPluginABC.h syntax highlighted

#ifndef __IRENDERPLUGINABC_H__
#define __IRENDERPLUGINABC_H__ 1


#include <osg/Referenced>
#include <osg/Node>

class QWidget;

namespace osgDesigner
{

    class IRenderPluginABC : public osg::Referenced
    {
        public:
            IRenderPluginABC() : osg::Referenced() {};
            virtual ~IRenderPluginABC(){};
            
            ////////////////////////
            // ** Manipulation ** //
            ////////////////////////
            
            // ** give the root node to the plugin
            virtual void                root(osg::Node *root) = 0;
            // ** initialize the plugin, run once at start
            virtual void                init() = 0;
            
            ///////////////////
            // ** control ** //
            ///////////////////
            
            virtual void                run() = 0;
            virtual void                stop() = 0;
            virtual void                pause() = 0;
            virtual void                unpause() = 0;
            
            virtual bool                isRunning() const = 0;
            virtual bool                isPause() const = 0;

            /////////////////////////////
            // ** Qt4 Compatibility ** //
            /////////////////////////////
			/**
			 *  Qt4 
			 *  /@return  QWidget to be integrated into mainWindow else return NULL to use own thread/window
			 *
			 */
			virtual	QWidget*            getQt4Widget() { return (NULL); }
    };
}

#endif // ** __IRENDERPLUGINABC_H__ ** //




See more files for this project here

osgDesigner

osgDesigner is a graphical tool used to modify an OpenSceneGraph (OSG) scene using the osgIntrospection framework. OpenSceneGraph developpers will be able to extend osgDesigner at need using (editor | render | osgIntrospection wrapper) plugin system.

Project homepage: http://sourceforge.net/projects/osgdesigner
Programming language(s): C++,Shell Script
License: other

  CModulePrefixSuffix.h
  DynamicLibrary.h
  IEditorPluginABC.h
  IEditorPluginDescABC.h
  IEditorPluginWidgetABC.h
  IPluginDescABC.h
  IRenderPluginABC.h
  IRenderPluginDescABC.h
  SEditorPluginManager.h
  SEditorPluginRegistry.h
  SRenderPluginManager.h
  SRenderPluginRegistry.h
  TPluginManagerProxy.h