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,
63 WidgetStateMarkups_Last
69 WidgetEventControlPointPlace = WidgetEventUser,
79 WidgetEventMarkups_Last
150 double* refWorldPos =
nullptr);
173 double LastEventPosition[2];
174 double StartEventOffsetPosition[2];
184#ifdef VTK_HAS_INITIALIZE_OBJECT_BASE
185#define vtkSlicerMarkupsWidgetCreateInstanceMacro(type) \
186vtkSlicerMarkupsWidget* CreateInstance() const override\
188 vtkObject* ret = vtkObjectFactory::CreateInstance(#type); \
191 return static_cast<type *>(ret); \
193 type* result = new type; \
194 result->InitializeObjectBase(); \
198#define vtkSlicerMarkupsWidgetCreateInstanceMacro(type) \
199vtkSlicerMarkupsWidget* CreateInstance() const override\
201 vtkObject* ret = vtkObjectFactory::CreateInstance(#type); \
204 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.