Slicer 5.6
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Loading...
Searching...
No Matches
vtkMRMLLogic.h
Go to the documentation of this file.
1/*=auto=========================================================================
2
3 Portions (c) Copyright 2005 Brigham and Women's Hospital (BWH) All Rights Reserved.
4
5 See COPYRIGHT.txt
6 or http://www.slicer.org/copyright/copyright.txt for details.
7
8 Program: 3D Slicer
9 Module: $RCSfile: vtkMRMLLogic.h,v $
10 Date: $Date: 2006/01/08 04:48:05 $
11 Version: $Revision: 1.45 $
12
13=========================================================================auto=*/
14
15#ifndef __vtkMRMLLogic_h
16#define __vtkMRMLLogic_h
17
18// MRML includes
19#include "vtkMRML.h"
20class vtkMRMLScene;
21
22// VTK includes
23#include <vtkObject.h>
24
30class VTK_MRML_EXPORT vtkMRMLLogic : public vtkObject
31{
32public:
34 static vtkMRMLLogic *New();
35 vtkTypeMacro(vtkMRMLLogic,vtkObject);
36 void PrintSelf(ostream& os, vtkIndent indent) override { this->Superclass::PrintSelf(os, indent); }
37
38 vtkMRMLScene* GetScene() {return this->Scene;};
39 void SetScene(vtkMRMLScene* scene) {this->Scene = scene;};
40
42
44
47 static std::string GetApplicationHomeDirectory();
48
51 static std::string GetApplicationShareDirectory();
52
53protected:
55 ~vtkMRMLLogic() override;
57 void operator=(const vtkMRMLLogic&);
58
60};
61
62#endif
Class that manages adding and deleting of observers with events.
vtkMRMLLogic(const vtkMRMLLogic &)
vtkMRMLScene * GetScene()
~vtkMRMLLogic() override
static std::string GetApplicationShareDirectory()
void RemoveUnreferencedDisplayNodes()
static vtkMRMLLogic * New()
The Usual vtk class functions.
void RemoveUnreferencedStorageNodes()
static std::string GetApplicationHomeDirectory()
vtkMRMLScene * Scene
void operator=(const vtkMRMLLogic &)
void SetScene(vtkMRMLScene *scene)
void PrintSelf(ostream &os, vtkIndent indent) override
A set of MRML Nodes that supports serialization and undo/redo.