Slicer  5.1
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
qSlicerCamerasModuleWidget Class Reference

#include <Modules/Loadable/Cameras/qSlicerCamerasModuleWidget.h>

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

Public Types

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

Public Slots

void setMRMLScene (vtkMRMLScene *) override
 
Inherited from qSlicerWidget. Reimplemented for refresh issues. More...
 
- Public Slots inherited from qSlicerWidget
void setMRMLScene (vtkMRMLScene *scene) override
 

Public Member Functions

 qSlicerCamerasModuleWidget (QWidget *parent=nullptr)
 
bool setEditedNode (vtkMRMLNode *node, QString role=QString(), QString context=QString()) override
 Node editing. More...
 
 ~qSlicerCamerasModuleWidget () 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 void setMRMLScene (vtkMRMLScene *)
 Set the current MRML scene to the widget. More...
 
virtual ~qSlicerObject ()
 
- Public Member Functions inherited from qSlicerAbstractModuleRepresentation
qSlicerAbstractCoreModulemodule () const
 
QString moduleName () const
 Set/Get module name. More...
 
 qSlicerAbstractModuleRepresentation ()
 
 ~qSlicerAbstractModuleRepresentation () override
 

Protected Slots

void onCameraNodeAdded (vtkMRMLNode *)
 
void onCameraNodeRemoved (vtkMRMLNode *)
 
void onCurrentViewNodeChanged (vtkMRMLNode *)
 
void setCameraToCurrentView (vtkMRMLNode *)
 
void synchronizeCameraWithView ()
 

Protected Member Functions

void setup () override
 
void synchronizeCameraWithView (vtkMRMLViewNode *currentViewNode)
 
- Protected Member Functions inherited from qSlicerAbstractModuleRepresentation
vtkMRMLAbstractLogiclogic () const
 

Protected Attributes

QScopedPointer< qSlicerCamerasModuleWidgetPrivate > 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 32 of file qSlicerCamerasModuleWidget.h.

Member Typedef Documentation

◆ Superclass

Definition at line 38 of file qSlicerCamerasModuleWidget.h.

Constructor & Destructor Documentation

◆ qSlicerCamerasModuleWidget()

qSlicerCamerasModuleWidget::qSlicerCamerasModuleWidget ( QWidget *  parent = nullptr)

◆ ~qSlicerCamerasModuleWidget()

qSlicerCamerasModuleWidget::~qSlicerCamerasModuleWidget ( )
override

Member Function Documentation

◆ onCameraNodeAdded

void qSlicerCamerasModuleWidget::onCameraNodeAdded ( vtkMRMLNode )
protectedslot

◆ onCameraNodeRemoved

void qSlicerCamerasModuleWidget::onCameraNodeRemoved ( vtkMRMLNode )
protectedslot

◆ onCurrentViewNodeChanged

void qSlicerCamerasModuleWidget::onCurrentViewNodeChanged ( vtkMRMLNode )
protectedslot

◆ setCameraToCurrentView

void qSlicerCamerasModuleWidget::setCameraToCurrentView ( vtkMRMLNode )
protectedslot

◆ setEditedNode()

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

Node editing.

Reimplemented from qSlicerAbstractModuleWidget.

◆ setMRMLScene

void qSlicerCamerasModuleWidget::setMRMLScene ( vtkMRMLScene )
overrideslot


Inherited from qSlicerWidget. Reimplemented for refresh issues.

◆ setup()

void qSlicerCamerasModuleWidget::setup ( )
overrideprotectedvirtual

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

Reimplemented from qSlicerAbstractModuleWidget.

◆ synchronizeCameraWithView() [1/2]

void qSlicerCamerasModuleWidget::synchronizeCameraWithView ( vtkMRMLViewNode currentViewNode)
protected

◆ synchronizeCameraWithView [2/2]

void qSlicerCamerasModuleWidget::synchronizeCameraWithView ( )
protectedslot

Member Data Documentation

◆ d_ptr

QScopedPointer<qSlicerCamerasModuleWidgetPrivate> qSlicerCamerasModuleWidget::d_ptr
protected

Definition at line 61 of file qSlicerCamerasModuleWidget.h.


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