28#ifndef vtkSlicerMarkupsWidget_h
29#define vtkSlicerMarkupsWidget_h
31#include "vtkSlicerMarkupsModuleVTKWidgetsExport.h"
33#include "vtkWidgetCallbackMapper.h"
50 void PrintSelf(ostream& os, vtkIndent indent)
override;
61 WidgetStateDefine = WidgetStateUser,
66 WidgetStateMarkups_Last
72 WidgetEventControlPointPlace = WidgetEventUser,
82 WidgetEventMarkups_Last
155 double* refWorldPos =
nullptr);
188 double LastEventPosition[2];
189 double StartEventOffsetPosition[2];
199#ifdef VTK_HAS_INITIALIZE_OBJECT_BASE
200#define vtkSlicerMarkupsWidgetCreateInstanceMacro(type) \
201vtkSlicerMarkupsWidget* CreateInstance() const override\
203 vtkObject* ret = vtkObjectFactory::CreateInstance(#type); \
206 return static_cast<type *>(ret); \
208 type* result = new type; \
209 result->InitializeObjectBase(); \
213#define vtkSlicerMarkupsWidgetCreateInstanceMacro(type) \
214vtkSlicerMarkupsWidget* CreateInstance() const override\
216 vtkObject* ret = vtkObjectFactory::CreateInstance(#type); \
219 return static_cast<type *>(ret); \
Abstract MRML node to represent a view. The class holds the properties common to any view type (3D,...
MRML node for storing information about the active nodes in the scene.