20#ifndef __vtkMRMLViewLogic_h
21#define __vtkMRMLViewLogic_h
38class vtkAlgorithmOutput;
61 void PrintSelf(ostream& os, vtkIndent indent)
override;
95 const char* layoutName);
100 const char* layoutName);
MRML node to represent camera node.
Abstract class that contains graphical display properties for displayable nodes.
MRML node to represent a display property of 3D surface model.
MRML node to represent a 3D surface model.
Abstract Superclass for all specific types of MRML nodes.
A set of MRML Nodes that supports serialization and undo/redo.
void SetMRMLSceneInternal(vtkMRMLScene *newScene) override
void EndCameraNodeInteraction()
Indicate an interaction with the slice node has been completed.
static vtkMRMLCameraNode * GetCameraNode(vtkMRMLScene *scene, const char *layoutName)
virtual const char * GetName() const
void PrintSelf(ostream &os, vtkIndent indent) override
vtkMRMLViewNode * AddViewNode(const char *layoutName)
Convenience function for adding a view node and setting it in this logic.
virtual void SetName(const char *name)
Set/Get layout name. This is used for finding the camera and view node in the scene.
vtkMRMLCameraNode * CameraNode
void SetViewNode(vtkMRMLViewNode *newViewNode)
void OnMRMLSceneNodeAdded(vtkMRMLNode *node) override
void StartViewNodeInteraction(unsigned int parameters)
void EndViewNodeInteraction()
Indicate an interaction with the view node has been completed.
void StartCameraNodeInteraction(unsigned int parameters)
~vtkMRMLViewLogic() override
static vtkMRMLViewNode * GetViewNode(vtkMRMLScene *scene, const char *layoutName)
void SetCameraNode(vtkMRMLCameraNode *newCameraNode)
void OnMRMLSceneNodeRemoved(vtkMRMLNode *node) override
vtkMRMLViewNode * ViewNode
void UpdateFromMRMLScene() override
static vtkMRMLViewLogic * New()
The Usual VTK class functions.
MRML node to represent a 3D view.
MRML node for representing a volume (image stack).