fw4spl
fwVtkIO::helper::vtkLambdaCommand Class Reference

Allows use of vtkCommand with lambdas. More...

#include <vtkLambdaCommand.hpp>

+ Inheritance diagram for fwVtkIO::helper::vtkLambdaCommand:
+ Collaboration diagram for fwVtkIO::helper::vtkLambdaCommand:

Public Types

typedef std::function< void(vtkObject *, unsigned long, void *) > Callback
 

Public Member Functions

 vtkTypeMacro (vtkLambdaCommand, vtkCommand) static vtkLambdaCommand *New()
 returns a new vtkLambdaCommand
 
virtual FWVTKIO_API void Execute (vtkObject *caller, unsigned long eid, void *callData) override
 vtkCommand::Execute implementation
 
virtual void SetCallback (Callback callback)
 Sets callback.
 

Protected Attributes

Callback m_callback
 

Detailed Description

Allows use of vtkCommand with lambdas.

Definition at line 25 of file vtkLambdaCommand.hpp.


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