vizkit3d
Protected Member Functions | Protected Attributes | List of all members
vizkit3d::VizPluginAdapter< T > Class Template Referenceabstract

#include <Vizkit3DPlugin.hpp>

Inheritance diagram for vizkit3d::VizPluginAdapter< T >:
vizkit3d::Vizkit3DPlugin< T > vizkit3d::VizPluginBase vizkit3d::VizPluginAddType< T >

Protected Member Functions

virtual void operatorIntern (osg::Node *node, osg::NodeVisitor *nv)=0
 
 VizPluginAdapter ()
 
osg::ref_ptr< osg::Node > createMainNode ()
 
void updateMainNode (osg::Node *node)
 
void setMainNode (osg::Node *node)
 
- Protected Member Functions inherited from vizkit3d::VizPluginBase
virtual void createDockWidgets ()
 
virtual osg::ref_ptr< osg::Node > cloneCurrentViz ()
 
- Protected Member Functions inherited from vizkit3d::VizPluginAddType< T >
virtual void updateDataIntern (const T &data)=0
 

Protected Attributes

osg::ref_ptr< osg::Group > groupNode
 
osg::ref_ptr< osg::Node > ownNode
 
- Protected Attributes inherited from vizkit3d::VizPluginBase
boost::mutex updateMutex
 
std::vector< QDockWidget * > dockWidgets
 
VizPluginRubyAdapterCollection adapterCollection
 

Additional Inherited Members

- Public Slots inherited from vizkit3d::VizPluginBase
virtual bool isPluginEnabled ()
 
virtual void setPluginEnabled (bool enabled)
 
virtual const QString getPluginName () const
 
virtual void setPluginName (const QString &name)
 
virtual void click (float x, float y)
 
QObject * getRubyAdapterCollection ()
 
void setKeepOldData (bool value)
 
bool isKeepOldDataEnabled ()
 
virtual void clearVisualization ()
 
void deleteOldData ()
 
int getMaxOldData () const
 
- Signals inherited from vizkit3d::VizPluginBase
void propertyChanged (QString property_name)
 
void childrenChanged ()
 
void pluginActivityChanged (bool)
 
void clicked (float x, float y)
 
void picked (float x, float y, float z)
 
- Public Member Functions inherited from vizkit3d::Vizkit3DPlugin< T >
 Vizkit3DPlugin (QObject *parent=NULL)
 
virtual ~Vizkit3DPlugin ()
 
template<typename Type >
void updateData (const Type &data)
 
- Public Member Functions inherited from vizkit3d::VizPluginBase
 VizPluginBase (QObject *parent=NULL)
 
virtual ~VizPluginBase ()
 
Vizkit3DWidgetgetWidget () const
 
virtual bool isDirty () const
 
void setDirty ()
 
osg::ref_ptr< osg::Group > getVizNode () const
 
osg::ref_ptr< osg::Group > getRootNode () const
 
std::vector< QDockWidget * > getDockWidgets ()
 
void setMaxOldData (int value)
 
void setPose (const QVector3D &position, const QQuaternion &orientation)
 
QStringList getVisualizationFrames () const
 
QString getVisualizationFrame () const
 
void setVisualizationFrameFromList (const QStringList &frames)
 
void setVisualizationFrame (const QString &frame)
 
double getScale () const
 
void setScale (double scale)
 
- Public Member Functions inherited from vizkit3d::VizPluginAddType< T >
virtual ~VizPluginAddType ()
 
- Properties inherited from vizkit3d::VizPluginBase
QString vizkit3d_plugin_name
 
bool enabled
 
bool KeepOldData
 
int MaxOldData
 
QStringList frame
 
double scale
 

Detailed Description

template<class T>
class vizkit3d::VizPluginAdapter< T >

Deprecated:
adapter item for legacy visualizations. Do not derive from this class for new designs. Use VizPlugin directly instead.

Constructor & Destructor Documentation

template<class T >
vizkit3d::VizPluginAdapter< T >::VizPluginAdapter ( )
inlineprotected

Member Function Documentation

template<class T >
osg::ref_ptr<osg::Node> vizkit3d::VizPluginAdapter< T >::createMainNode ( )
inlineprotectedvirtual

override this method to provide your own main node.

Returns
node derived from osg::Group

Reimplemented from vizkit3d::VizPluginBase.

template<class T >
virtual void vizkit3d::VizPluginAdapter< T >::operatorIntern ( osg::Node *  node,
osg::NodeVisitor *  nv 
)
protectedpure virtual
template<class T >
void vizkit3d::VizPluginAdapter< T >::setMainNode ( osg::Node *  node)
inlineprotected
template<class T >
void vizkit3d::VizPluginAdapter< T >::updateMainNode ( osg::Node *  node)
inlineprotectedvirtual

override this function to update the visualisation.

Parameters
nodecontains a point to the node which can be modified.

Implements vizkit3d::VizPluginBase.

Member Data Documentation

template<class T >
osg::ref_ptr<osg::Group> vizkit3d::VizPluginAdapter< T >::groupNode
protected
template<class T >
osg::ref_ptr<osg::Node> vizkit3d::VizPluginAdapter< T >::ownNode
protected

The documentation for this class was generated from the following file: