21#ifndef __qMRMLSliceView_h
22#define __qMRMLSliceView_h
25#include <ctkVTKSliceView.h>
28#include "qMRMLWidgetsExport.h"
31class qMRMLSliceViewPrivate;
43 :
public ctkVTKSliceView
~qMRMLSliceView() override
Q_INVOKABLE void getDisplayableManagers(vtkCollection *displayableManagers)
Q_INVOKABLE QList< double > convertXYZToRAS(const QList< double > &xyz) const
void setMRMLSliceNode(vtkMRMLSliceNode *newSliceNode)
Set the current viewNode to observe.
Q_INVOKABLE vtkMRMLSliceViewInteractorStyle * sliceViewInteractorStyle() const
qMRMLSliceView(QWidget *parent=nullptr)
Constructors.
Q_INVOKABLE void setViewCursor(const QCursor &)
Set cursor in the view area.
Q_INVOKABLE vtkMRMLAbstractDisplayableManager * displayableManagerByClassName(const char *className)
Return a DisplayableManager given its class name.
Q_INVOKABLE void unsetViewCursor()
Restore default cursor in the view area.
void dropEvent(QDropEvent *event) override
Q_INVOKABLE void addDisplayableManager(const QString &displayableManager)
ctkVTKSliceView Superclass
Superclass typedef.
void setInteractor(vtkRenderWindowInteractor *interactor) override
Sets the interactor of the view.
void dragEnterEvent(QDragEnterEvent *event) override
Q_INVOKABLE QList< double > convertDeviceToXYZ(const QList< int > &xy) const
void setMRMLScene(vtkMRMLScene *newScene)
Q_INVOKABLE QList< double > convertRASToXYZ(const QList< double > &ras) const
Q_INVOKABLE vtkMRMLSliceNode * mrmlSliceNode() const
Get the 3D View node observed by view.
Q_INVOKABLE vtkMRMLSliceViewInteractorStyle * interactorObserver() const
Returns the interactor observer of the view.
Q_INVOKABLE void setDefaultViewCursor(const QCursor &cursor)
Set default cursor in the view area.
Superclass for displayable manager classes.
A set of MRML Nodes that supports serialization and undo/redo.
MRML node for storing a slice through RAS space.
Provides customizable interaction routines.