Slicer  5.0
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Static Protected Member Functions | Protected Attributes
vtkAnnotationROIWidget Class Reference

#include <Modules/Loadable/Annotations/VTKWidgets/vtkAnnotationROIWidget.h>

Inheritance diagram for vtkAnnotationROIWidget:
Inheritance graph
[legend]
Collaboration diagram for vtkAnnotationROIWidget:
Collaboration graph
[legend]

Public Types

typedef vtkAbstractWidget Superclass
 
Standard class methods for type information and printing. More...
 

Public Member Functions

void CreateDefaultRepresentation () override
 
virtual const char * GetClassName ()
 
virtual int GetRotationEnabled ()
 
virtual int GetScalingEnabled ()
 
virtual int GetTranslationEnabled ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
virtual void RotationEnabledOff ()
 
virtual void RotationEnabledOn ()
 
virtual void ScalingEnabledOff ()
 
virtual void ScalingEnabledOn ()
 
virtual void SetRepresentation (vtkAnnotationROIRepresentation *r)
 
virtual void SetRotationEnabled (int)
 
virtual void SetScalingEnabled (int)
 
virtual void SetTranslationEnabled (int)
 
virtual void TranslationEnabledOff ()
 
virtual void TranslationEnabledOn ()
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkAnnotationROIWidgetNew ()
 
Instantiate the object. More...
 
static vtkAnnotationROIWidgetSafeDownCast (vtkObject *o)
 

Protected Types

enum  _WidgetState { Start =0, Active }
 

Protected Member Functions

 vtkAnnotationROIWidget ()
 
 ~vtkAnnotationROIWidget () override
 

Static Protected Member Functions

static void EndSelectAction (vtkAbstractWidget *)
 
static void MoveAction (vtkAbstractWidget *)
 
static void ScaleAction (vtkAbstractWidget *)
 
static void SelectAction (vtkAbstractWidget *)
 These methods handle events. More...
 
static void TranslateAction (vtkAbstractWidget *)
 

Protected Attributes

int RotationEnabled
 
int ScalingEnabled
 
int TranslationEnabled
 Control whether scaling, rotation, and translation are supported. More...
 
int WidgetState
 

Detailed Description

Definition at line 102 of file vtkAnnotationROIWidget.h.

Member Typedef Documentation

◆ Superclass

typedef vtkAbstractWidget vtkAnnotationROIWidget::Superclass


Standard class methods for type information and printing.

Definition at line 112 of file vtkAnnotationROIWidget.h.

Member Enumeration Documentation

◆ _WidgetState

Enumerator
Start 
Active 

Definition at line 148 of file vtkAnnotationROIWidget.h.

Constructor & Destructor Documentation

◆ vtkAnnotationROIWidget()

vtkAnnotationROIWidget::vtkAnnotationROIWidget ( )
protected

◆ ~vtkAnnotationROIWidget()

vtkAnnotationROIWidget::~vtkAnnotationROIWidget ( )
overrideprotected

Member Function Documentation

◆ CreateDefaultRepresentation()

void vtkAnnotationROIWidget::CreateDefaultRepresentation ( )
override

Create the default widget representation if one is not set. By default, this is an instance of the vtkAnnotationROIRepresentation class.

◆ EndSelectAction()

static void vtkAnnotationROIWidget::EndSelectAction ( vtkAbstractWidget *  )
staticprotected

◆ GetClassName()

virtual const char* vtkAnnotationROIWidget::GetClassName ( )
virtual

Reimplemented in vtkAnnotationROIWidget2D.

◆ GetRotationEnabled()

virtual int vtkAnnotationROIWidget::GetRotationEnabled ( )
virtual

◆ GetScalingEnabled()

virtual int vtkAnnotationROIWidget::GetScalingEnabled ( )
virtual

◆ GetTranslationEnabled()

virtual int vtkAnnotationROIWidget::GetTranslationEnabled ( )
virtual

◆ IsA()

virtual int vtkAnnotationROIWidget::IsA ( const char *  type)
virtual

Reimplemented in vtkAnnotationROIWidget2D.

◆ IsTypeOf()

static int vtkAnnotationROIWidget::IsTypeOf ( const char *  type)
static

◆ MoveAction()

static void vtkAnnotationROIWidget::MoveAction ( vtkAbstractWidget *  )
staticprotected

◆ New()

static vtkAnnotationROIWidget* vtkAnnotationROIWidget::New ( )
static


Instantiate the object.

◆ PrintSelf()

void vtkAnnotationROIWidget::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
override

◆ RotationEnabledOff()

virtual void vtkAnnotationROIWidget::RotationEnabledOff ( )
virtual

◆ RotationEnabledOn()

virtual void vtkAnnotationROIWidget::RotationEnabledOn ( )
virtual

◆ SafeDownCast()

static vtkAnnotationROIWidget* vtkAnnotationROIWidget::SafeDownCast ( vtkObject *  o)
static

◆ ScaleAction()

static void vtkAnnotationROIWidget::ScaleAction ( vtkAbstractWidget *  )
staticprotected

◆ ScalingEnabledOff()

virtual void vtkAnnotationROIWidget::ScalingEnabledOff ( )
virtual

◆ ScalingEnabledOn()

virtual void vtkAnnotationROIWidget::ScalingEnabledOn ( )
virtual

◆ SelectAction()

static void vtkAnnotationROIWidget::SelectAction ( vtkAbstractWidget *  )
staticprotected

These methods handle events.

◆ SetRepresentation()

virtual void vtkAnnotationROIWidget::SetRepresentation ( vtkAnnotationROIRepresentation r)
inlinevirtual

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.

Reimplemented in vtkAnnotationROIWidget2D.

Definition at line 119 of file vtkAnnotationROIWidget.h.

◆ SetRotationEnabled()

virtual void vtkAnnotationROIWidget::SetRotationEnabled ( int  )
virtual

◆ SetScalingEnabled()

virtual void vtkAnnotationROIWidget::SetScalingEnabled ( int  )
virtual

◆ SetTranslationEnabled()

virtual void vtkAnnotationROIWidget::SetTranslationEnabled ( int  )
virtual

Control the behavior of the widget (i.e., how it processes events). Translation, rotation, and scaling can all be enabled and disabled.

◆ TranslateAction()

static void vtkAnnotationROIWidget::TranslateAction ( vtkAbstractWidget *  )
staticprotected

◆ TranslationEnabledOff()

virtual void vtkAnnotationROIWidget::TranslationEnabledOff ( )
virtual

◆ TranslationEnabledOn()

virtual void vtkAnnotationROIWidget::TranslationEnabledOn ( )
virtual

Member Data Documentation

◆ RotationEnabled

int vtkAnnotationROIWidget::RotationEnabled
protected

Definition at line 160 of file vtkAnnotationROIWidget.h.

◆ ScalingEnabled

int vtkAnnotationROIWidget::ScalingEnabled
protected

Definition at line 159 of file vtkAnnotationROIWidget.h.

◆ TranslationEnabled

int vtkAnnotationROIWidget::TranslationEnabled
protected

Control whether scaling, rotation, and translation are supported.

Definition at line 158 of file vtkAnnotationROIWidget.h.

◆ WidgetState

int vtkAnnotationROIWidget::WidgetState
protected

Definition at line 147 of file vtkAnnotationROIWidget.h.


The documentation for this class was generated from the following file: