|
open_iA 2024.9
|
Widget for visualizing a ruler in the slicer. More...
#include <iARulerWidget.h>
Public Member Functions | |
| void | CreateDefaultRepresentation () override |
| Create the default widget representation if one is not set. | |
| virtual iARulerActor * | GetRulerActor () |
| iARulerRepresentation * | GetScalarBarRepresentation () |
| void | PrintSelf (std::ostream &os, vtkIndent indent) override |
| virtual void | SetRepresentation (iARulerRepresentation *rep) |
| Specify an instance of vtkWidgetRepresentation used to represent this widget in the scene. | |
| virtual void | SetRulerActor (iARulerActor *actor) |
| Get the ScalarBar used by this Widget. One is created automatically. | |
| vtkBooleanMacro (Repositionable, int) | |
| vtkGetMacro (Repositionable, int) | |
| vtkSetMacro (Repositionable, int) | |
| Can the widget be moved. On by default. If off, the widget cannot be moved around. | |
| vtkTypeMacro (iARulerWidget, vtkBorderWidget) | |
Static Public Member Functions | |
| static iARulerWidget * | New () |
Protected Member Functions | |
| iARulerWidget () | |
| void | SetCursor (int State) override |
| Set the cursor to the correct shape based on State argument. | |
Static Protected Member Functions | |
| static void | MoveAction (vtkAbstractWidget *) |
| Handle the case of Repositionable == 0. | |
Protected Attributes | |
| int | Repositionable |
Widget for visualizing a ruler in the slicer.
|
protected |
|
override |
Create the default widget representation if one is not set.
|
virtual |
|
inline |
|
staticprotected |
Handle the case of Repositionable == 0.
|
static |
|
override |
|
overrideprotected |
Set the cursor to the correct shape based on State argument.
|
virtual |
Specify an instance of vtkWidgetRepresentation used to represent this widget in the scene.
Note that the representation is a subclass of vtkProp so it can be added to the renderer independent of the widget.
|
virtual |
Get the ScalarBar used by this Widget. One is created automatically.
| iARulerWidget::vtkBooleanMacro | ( | Repositionable | , |
| int | ) |
| iARulerWidget::vtkGetMacro | ( | Repositionable | , |
| int | ) |
| iARulerWidget::vtkSetMacro | ( | Repositionable | , |
| int | ) |
Can the widget be moved. On by default. If off, the widget cannot be moved around.
| iARulerWidget::vtkTypeMacro | ( | iARulerWidget | , |
| vtkBorderWidget | ) |
|
protected |