open_iA 2024.7
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
iARulerWidget Class Reference

Widget for visualizing a ruler in the slicer. More...

#include <iARulerWidget.h>

Inheritance diagram for iARulerWidget:
[legend]
Collaboration diagram for iARulerWidget:
[legend]

Public Member Functions

void CreateDefaultRepresentation () override
 Create the default widget representation if one is not set.
 
virtual iARulerActorGetRulerActor ()
 
iARulerRepresentationGetScalarBarRepresentation ()
 
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 iARulerWidgetNew ()
 

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
 

Detailed Description

Widget for visualizing a ruler in the slicer.

Constructor & Destructor Documentation

◆ iARulerWidget()

iARulerWidget::iARulerWidget ( )
protected

Member Function Documentation

◆ CreateDefaultRepresentation()

void iARulerWidget::CreateDefaultRepresentation ( )
override

Create the default widget representation if one is not set.

◆ GetRulerActor()

iARulerActor * iARulerWidget::GetRulerActor ( )
virtual

◆ GetScalarBarRepresentation()

iARulerRepresentation * iARulerWidget::GetScalarBarRepresentation ( )
inline

◆ MoveAction()

void iARulerWidget::MoveAction ( vtkAbstractWidget * w)
staticprotected

Handle the case of Repositionable == 0.

◆ New()

static iARulerWidget * iARulerWidget::New ( )
static

◆ PrintSelf()

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

◆ SetCursor()

void iARulerWidget::SetCursor ( int State)
overrideprotected

Set the cursor to the correct shape based on State argument.

◆ SetRepresentation()

void iARulerWidget::SetRepresentation ( iARulerRepresentation * rep)
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.

◆ SetRulerActor()

void iARulerWidget::SetRulerActor ( iARulerActor * actor)
virtual

Get the ScalarBar used by this Widget. One is created automatically.

◆ vtkBooleanMacro()

iARulerWidget::vtkBooleanMacro ( Repositionable ,
int  )

◆ vtkGetMacro()

iARulerWidget::vtkGetMacro ( Repositionable ,
int  )

◆ vtkSetMacro()

iARulerWidget::vtkSetMacro ( Repositionable ,
int  )

Can the widget be moved. On by default. If off, the widget cannot be moved around.

◆ vtkTypeMacro()

iARulerWidget::vtkTypeMacro ( iARulerWidget ,
vtkBorderWidget  )

Member Data Documentation

◆ Repositionable

int iARulerWidget::Repositionable
protected

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