-#ifndef __CPEXTENSIONS__INTERACTION__SEEDWIDGET__H__
-#define __CPEXTENSIONS__INTERACTION__SEEDWIDGET__H__
+#ifndef __cpExtensions__Interaction__SeedWidget__h__
+#define __cpExtensions__Interaction__SeedWidget__h__
-#include <cpExtensions/cpExtensions_Export.h>
-#include <cpExtensions/Interaction/BaseInteractorStyle.h>
+#include <cpExtensions/Config.h>
+#include <cpExtensions/Interaction/BaseStyle.h>
#include <vtkSeedWidget.h>
namespace cpExtensions
typedef SeedWidget Self;
vtkTypeMacro( SeedWidget, vtkSeedWidget );
- typedef cpExtensions::Interaction::BaseInteractorStyle TBaseStyle;
- typedef TBaseStyle::TMouseCommand TMouseCommand;
+ typedef cpExtensions::Interaction::BaseStyle TBaseStyle;
public:
static Self* New( );
- virtual void SetInteractor( vtkRenderWindowInteractor* rwi );
+ virtual void SetInteractor(
+ vtkRenderWindowInteractor* rwi
+ ) cpExtensions_OVERRIDE;
protected:
SeedWidget( );
virtual ~SeedWidget( );
- static void _Click(
- void* data, const TBaseStyle::ButtonID& button,
- int* idx, double* pos, bool alt, bool ctr, bool sft
- );
- static void _DoubleClick(
- void* data, const TBaseStyle::ButtonID& button,
- int* idx, double* pos, bool alt, bool ctr, bool sft
- );
+ static void _AddPointAction( vtkAbstractWidget* wdg );
+ static void _CompletedAction( vtkAbstractWidget* wdg );
+ static void _MoveAction( vtkAbstractWidget* wdg );
+ static void _EndSelectAction( vtkAbstractWidget* wdg );
+ static void _DeleteAction( vtkAbstractWidget* wdg );
+
+ /* TODO
+ static void _Click(
+ void* data, const TBaseStyle::ButtonID& button,
+ int* idx, double* pos, bool alt, bool ctr, bool sft
+ );
+ static void _DoubleClick(
+ void* data, const TBaseStyle::ButtonID& button,
+ int* idx, double* pos, bool alt, bool ctr, bool sft
+ );
+ */
private:
// Purposely not implemented
} // ecapseman
-#endif // __CPEXTENSIONS__INTERACTION__SEEDWIDGET__H__
+#endif // __cpExtensions__Interaction__SeedWidget__h__
// eof - $RCSfile$