BrushSelectedVisitor< Functor > Class Template Reference

#include <brush.h>

Inheritance diagram for BrushSelectedVisitor< Functor >:
Inheritance graph
[legend]
Collaboration diagram for BrushSelectedVisitor< Functor >:
Collaboration graph
[legend]

Public Member Functions

 BrushSelectedVisitor (const Functor &functor)
void visit (scene::Instance &instance) const
 Called by the selection system for each visited node.

Private Attributes

const Functor & m_functor

Detailed Description

template<typename Functor>
class BrushSelectedVisitor< Functor >

Definition at line 3394 of file brush.h.


Constructor & Destructor Documentation

template<typename Functor >
BrushSelectedVisitor< Functor >::BrushSelectedVisitor ( const Functor &  functor  )  [inline]

Definition at line 3398 of file brush.h.


Member Function Documentation

template<typename Functor >
void BrushSelectedVisitor< Functor >::visit ( scene::Instance &  instance  )  const [inline, virtual]

Called by the selection system for each visited node.

Implements SelectionSystem::Visitor.

Definition at line 3402 of file brush.h.

References Instance_getBrush(), and BrushSelectedVisitor< Functor >::m_functor.


Field Documentation

template<typename Functor >
const Functor& BrushSelectedVisitor< Functor >::m_functor [private]

Definition at line 3396 of file brush.h.

Referenced by BrushSelectedVisitor< Functor >::visit().


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

Generated by  doxygen 1.6.2