fw4spl
|
Allows use of vtkCommand with lambdas. More...
#include <vtkLambdaCommand.hpp>
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 |
Allows use of vtkCommand with lambdas.
Definition at line 25 of file vtkLambdaCommand.hpp.