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

#include <Modules/Loadable/Transforms/qSlicerTransformsModuleWidget.h>

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

Public Types

typedef qSlicerAbstractModuleWidget Superclass
 
- Public Types inherited from qSlicerAbstractModuleRepresentation
typedef qSlicerObject Superclass
 

Public Slots

void identity ()
 
void invert ()
 Invert the transform. More...
 
void split ()
 Split composite transform to its components. More...
 
- Public Slots inherited from qSlicerWidget
void setMRMLScene (vtkMRMLScene *scene) override
 

Public Member Functions

 qSlicerTransformsModuleWidget (QWidget *parent=nullptr)
 
bool setEditedNode (vtkMRMLNode *node, QString role=QString(), QString context=QString()) override
 Node editing. More...
 
void setMRMLScene (vtkMRMLScene *scene) override
 Reimplemented for internal reasons. More...
 
 ~qSlicerTransformsModuleWidget () override
 
- Public Member Functions inherited from qSlicerAbstractModuleWidget
virtual Q_INVOKABLE void enter ()
 
virtual Q_INVOKABLE void exit ()
 
bool isEntered () const
 
Q_INVOKABLE double nodeEditable (vtkMRMLNode *node) override
 
 qSlicerAbstractModuleWidget (QWidget *parent=nullptr)
 
 ~qSlicerAbstractModuleWidget () override
 
- Public Member Functions inherited from qSlicerWidget
vtkSlicerApplicationLogicappLogic () const
 
vtkMRMLAbstractLogicmoduleLogic (const QString &moduleName) const
 
 qSlicerWidget (QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags())
 
 ~qSlicerWidget () override
 
- Public Member Functions inherited from qSlicerObject
vtkMRMLScenemrmlScene () const
 Return a pointer on the MRML scene. More...
 
 qSlicerObject ()
 
virtual ~qSlicerObject ()
 
- Public Member Functions inherited from qSlicerAbstractModuleRepresentation
qSlicerAbstractCoreModulemodule () const
 
QString moduleName () const
 Set/Get module name. More...
 
 qSlicerAbstractModuleRepresentation ()
 
 ~qSlicerAbstractModuleRepresentation () override
 

Protected Slots

void convert ()
 
void copyTransform ()
 
void hardenSelectedNodes ()
 
void onDisplaySectionClicked (bool)
 
void onMRMLTransformNodeModified (vtkObject *caller)
 
void onNodeSelected (vtkMRMLNode *node)
 
void onTransformableSectionClicked (bool)
 
void onTranslateFirstButtonPressed (bool checked)
 
void pasteTransform ()
 
void transformSelectedNodes ()
 
void untransformSelectedNodes ()
 
void updateConvertButtonState ()
 

Protected Member Functions

int coordinateReference () const
 
Convenient method to return the coordinate system currently selected More...
 
void setup () override
 
- Protected Member Functions inherited from qSlicerAbstractModuleRepresentation
vtkMRMLAbstractLogiclogic () const
 

Protected Attributes

QScopedPointer< qSlicerTransformsModuleWidgetPrivate > d_ptr
 
- Protected Attributes inherited from qSlicerAbstractModuleWidget
QScopedPointer< qSlicerAbstractModuleWidgetPrivate > d_ptr
 
- Protected Attributes inherited from qSlicerWidget
QScopedPointer< qSlicerWidgetPrivate > d_ptr
 
- Protected Attributes inherited from qSlicerObject
QScopedPointer< qSlicerObjectPrivate > d_ptr
 
- Protected Attributes inherited from qSlicerAbstractModuleRepresentation
QScopedPointer< qSlicerAbstractModuleRepresentationPrivate > d_ptr
 

Additional Inherited Members

- Properties inherited from qSlicerAbstractModuleWidget
bool isEntered
 
- Signals inherited from qSlicerWidget
void mrmlSceneChanged (vtkMRMLScene *)
 

Detailed Description

Definition at line 34 of file qSlicerTransformsModuleWidget.h.

Member Typedef Documentation

◆ Superclass

Definition at line 41 of file qSlicerTransformsModuleWidget.h.

Constructor & Destructor Documentation

◆ qSlicerTransformsModuleWidget()

qSlicerTransformsModuleWidget::qSlicerTransformsModuleWidget ( QWidget *  parent = nullptr)

◆ ~qSlicerTransformsModuleWidget()

qSlicerTransformsModuleWidget::~qSlicerTransformsModuleWidget ( )
override

Member Function Documentation

◆ convert

void qSlicerTransformsModuleWidget::convert ( )
protectedslot

◆ coordinateReference()

int qSlicerTransformsModuleWidget::coordinateReference ( ) const
protected


Convenient method to return the coordinate system currently selected

◆ copyTransform

void qSlicerTransformsModuleWidget::copyTransform ( )
protectedslot

◆ hardenSelectedNodes

void qSlicerTransformsModuleWidget::hardenSelectedNodes ( )
protectedslot

◆ identity

void qSlicerTransformsModuleWidget::identity ( )
slot

Set the transform to identity. Only for linear transforms. The sliders are reset to the position 0.

◆ invert

void qSlicerTransformsModuleWidget::invert ( )
slot

Invert the transform.

◆ onDisplaySectionClicked

void qSlicerTransformsModuleWidget::onDisplaySectionClicked ( bool  )
protectedslot

◆ onMRMLTransformNodeModified

void qSlicerTransformsModuleWidget::onMRMLTransformNodeModified ( vtkObject *  caller)
protectedslot

◆ onNodeSelected

void qSlicerTransformsModuleWidget::onNodeSelected ( vtkMRMLNode node)
protectedslot

◆ onTransformableSectionClicked

void qSlicerTransformsModuleWidget::onTransformableSectionClicked ( bool  )
protectedslot

◆ onTranslateFirstButtonPressed

void qSlicerTransformsModuleWidget::onTranslateFirstButtonPressed ( bool  checked)
protectedslot

◆ pasteTransform

void qSlicerTransformsModuleWidget::pasteTransform ( )
protectedslot

◆ setEditedNode()

bool qSlicerTransformsModuleWidget::setEditedNode ( vtkMRMLNode node,
QString  role = QString(),
QString  context = QString() 
)
overridevirtual

Node editing.

Reimplemented from qSlicerAbstractModuleWidget.

◆ setMRMLScene()

void qSlicerTransformsModuleWidget::setMRMLScene ( vtkMRMLScene scene)
overridevirtual

Reimplemented for internal reasons.

Reimplemented from qSlicerObject.

◆ setup()

void qSlicerTransformsModuleWidget::setup ( )
overrideprotectedvirtual

All initialization code (typically setupUi()) must be done in setup() The module and the logic are accessible.

Reimplemented from qSlicerAbstractModuleWidget.

◆ split

void qSlicerTransformsModuleWidget::split ( )
slot

Split composite transform to its components.

◆ transformSelectedNodes

void qSlicerTransformsModuleWidget::transformSelectedNodes ( )
protectedslot

◆ untransformSelectedNodes

void qSlicerTransformsModuleWidget::untransformSelectedNodes ( )
protectedslot

◆ updateConvertButtonState

void qSlicerTransformsModuleWidget::updateConvertButtonState ( )
protectedslot

Member Data Documentation

◆ d_ptr

QScopedPointer<qSlicerTransformsModuleWidgetPrivate> qSlicerTransformsModuleWidget::d_ptr
protected

Definition at line 91 of file qSlicerTransformsModuleWidget.h.


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