21#ifndef __qMRMLThreeDView_h
22#define __qMRMLThreeDView_h
26#include <ctkVTKRenderView.h>
28#include "qMRMLWidgetsExport.h"
31class qMRMLThreeDViewPrivate;
104 bool resetTranslation = true,
105 bool resetDistance = true);
145 qWarning(
"This function is deprecated. Use lookFromAxis(const ctkAxesWidget::Axis& axis) instead.");
146 this->lookFromAxis(axis);
Q_INVOKABLE void getDisplayableManagers(vtkCollection *displayableManagers)
Q_INVOKABLE void unsetViewCursor()
Restore default cursor in the view area.
qMRMLThreeDView(QWidget *parent=nullptr)
Constructors.
Q_INVOKABLE vtkMRMLViewNode * mrmlViewNode() const
Get the 3D View node observed by view.
void setAmbientShadowsSizeScale(double)
void setMRMLScene(vtkMRMLScene *newScene)
void addDisplayableManager(const QString &displayableManager)
virtual void resetFocalPoint()
void lookFromViewAxis(const ctkAxesWidget::Axis &axis)
void setMRMLViewNode(vtkMRMLViewNode *newViewNode)
Set the current viewNode to observe.
void setInteractor(vtkRenderWindowInteractor *interactor) override
Sets the interactor of the view.
Q_INVOKABLE void rotateToViewAxis(unsigned int axisId)
Q_INVOKABLE vtkMRMLCameraNode * cameraNode()
Returns camera node of the 3D view.
void setAmbientShadowsVolumeOpacityThreshold(double)
Q_INVOKABLE void resetCamera(bool resetRotation=true, bool resetTranslation=true, bool resetDistance=true)
void setAmbientShadowsIntensityScale(double)
ctkVTKRenderView Superclass
Superclass typedef.
Q_INVOKABLE vtkMRMLThreeDViewInteractorStyle * interactorObserver() const
Returns the interactor observer of the view.
void setShadowsVisibility(bool)
Q_INVOKABLE void setDefaultViewCursor(const QCursor &cursor)
Set default cursor in the view area.
double ambientShadowsSizeScale
void dropEvent(QDropEvent *event) override
double ambientShadowsVolumeOpacityThreshold
Volume rendering opacity above this value will cast shadows.
Q_INVOKABLE vtkSSAOPass * ssaoPass() const
Q_INVOKABLE void setViewCursor(const QCursor &)
Set cursor in the view area.
double ambientShadowsIntensityScale
void setAmbientShadowsIntensityShift(double)
void dragEnterEvent(QDragEnterEvent *event) override
double ambientShadowsIntensityShift
Q_INVOKABLE vtkMRMLAbstractDisplayableManager * displayableManagerByClassName(const char *className)
Return a DisplayableManager given its class name.
Superclass for displayable manager classes.
MRML node to represent camera node.
A set of MRML Nodes that supports serialization and undo/redo.
Interactive manipulation of the camera.
MRML node to represent a 3D view.