OpenWalnut  1.4.0
Public Member Functions | Private Attributes
WGEPropertyTransformationCallback< ParentType, TargetType > Class Template Reference

TODO(ebaum): write. More...

#include <WGEPropertyTransformationCallback.h>

+ Inheritance diagram for WGEPropertyTransformationCallback< ParentType, TargetType >:

List of all members.

Public Member Functions

 WGEPropertyTransformationCallback (WPropMatrix4X4 prop)
 Default constructor.
virtual ~WGEPropertyTransformationCallback ()
 Destructor.
virtual void operator() (typename WGECallbackTraits< ParentType >::HandledType *handled, osg::NodeVisitor *nv)
 This operator gets called by OSG every update cycle.

Private Attributes

WPropMatrix4X4 m_prop
 The property controlling the callback.

Detailed Description

template<typename ParentType = osg::Node, typename TargetType = osg::MatrixTransform>
class WGEPropertyTransformationCallback< ParentType, TargetType >

TODO(ebaum): write.

Definition at line 41 of file WGEPropertyTransformationCallback.h.


Constructor & Destructor Documentation

template<typename ParentType , typename TargetType >
WGEPropertyTransformationCallback< ParentType, TargetType >::WGEPropertyTransformationCallback ( WPropMatrix4X4  prop) [explicit]

Default constructor.

Parameters:
propthe property holding the matrix to use.

Definition at line 73 of file WGEPropertyTransformationCallback.h.

template<typename ParentType , typename TargetType >
WGEPropertyTransformationCallback< ParentType, TargetType >::~WGEPropertyTransformationCallback ( ) [virtual]

Destructor.

Definition at line 81 of file WGEPropertyTransformationCallback.h.


Member Function Documentation

template<typename ParentType , typename TargetType >
void WGEPropertyTransformationCallback< ParentType, TargetType >::operator() ( typename WGECallbackTraits< ParentType >::HandledType *  handled,
osg::NodeVisitor *  nv 
) [virtual]

This operator gets called by OSG every update cycle.

It calls the specified functor.

Parameters:
handledthe osg node, stateset or whatever
nvthe node visitor

Definition at line 87 of file WGEPropertyTransformationCallback.h.

References WGECallbackTraits< Type >::traverse().


Member Data Documentation

template<typename ParentType = osg::Node, typename TargetType = osg::MatrixTransform>
WPropMatrix4X4 WGEPropertyTransformationCallback< ParentType, TargetType >::m_prop [private]

The property controlling the callback.

Definition at line 69 of file WGEPropertyTransformationCallback.h.


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