90 #ifndef __vtkAnnotationROIWidget_h 91 #define __vtkAnnotationROIWidget_h 94 #include "vtkSlicerAnnotationsModuleVTKWidgetsExport.h" 97 #include <vtkAbstractWidget.h> 100 class vtkHandleWidget;
103 :
public vtkAbstractWidget
113 void PrintSelf(ostream& os, vtkIndent indent)
override;
121 this->Superclass::SetWidgetRepresentation(reinterpret_cast<vtkWidgetRepresentation*>(r));
128 vtkSetMacro(TranslationEnabled,
int);
129 vtkGetMacro(TranslationEnabled,
int);
130 vtkBooleanMacro(TranslationEnabled,
int);
131 vtkSetMacro(ScalingEnabled,
int);
132 vtkGetMacro(ScalingEnabled,
int);
133 vtkBooleanMacro(ScalingEnabled,
int);
134 vtkSetMacro(RotationEnabled,
int);
135 vtkGetMacro(RotationEnabled,
int);
136 vtkBooleanMacro(RotationEnabled,
int);
141 void CreateDefaultRepresentation()
override;
151 static void SelectAction(vtkAbstractWidget*);
152 static void EndSelectAction(vtkAbstractWidget*);
153 static void TranslateAction(vtkAbstractWidget*);
154 static void ScaleAction(vtkAbstractWidget*);
155 static void MoveAction(vtkAbstractWidget*);