Slicer
5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Loading...
Searching...
No Matches
Modules
Loadable
Tables
Logic
vtkSlicerTablesLogic.h
Go to the documentation of this file.
1
/*==============================================================================
2
3
Program: 3D Slicer
4
5
Portions (c) Copyright 2015 Brigham and Women's Hospital (BWH) All Rights Reserved.
6
7
See COPYRIGHT.txt
8
or http://www.slicer.org/copyright/copyright.txt for details.
9
10
Unless required by applicable law or agreed to in writing, software
11
distributed under the License is distributed on an "AS IS" BASIS,
12
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
See the License for the specific language governing permissions and
14
limitations under the License.
15
16
This file was originally developed by Andras Lasso (PerkLab, Queen's
17
University) and Kevin Wang (Princess Margaret Hospital, Toronto) and was
18
supported through OCAIRO and the Applied Cancer Research Unit program of
19
Cancer Care Ontario.
20
21
==============================================================================*/
22
23
#ifndef __vtkSlicerTablesLogic_h
24
#define __vtkSlicerTablesLogic_h
25
26
// Slicer includes
27
#include "
vtkSlicerModuleLogic.h
"
28
29
// MRML includes
30
31
// Tables includes
32
#include "vtkSlicerTablesModuleLogicExport.h"
33
34
class
vtkAbstractArray;
35
class
vtkMRMLMessageCollection
;
36
class
vtkMRMLTableNode
;
37
41
class
VTK_SLICER_TABLES_MODULE_LOGIC_EXPORT
vtkSlicerTablesLogic
:
public
vtkSlicerModuleLogic
42
{
43
public
:
44
static
vtkSlicerTablesLogic
*
New
();
45
vtkTypeMacro(
vtkSlicerTablesLogic
,
vtkSlicerModuleLogic
);
46
void
PrintSelf
(ostream& os, vtkIndent indent)
override
;
47
53
vtkMRMLTableNode
*
AddTable
(
const
char
* fileName,
54
const
char
* name =
nullptr
,
55
bool
findSchema =
true
,
56
const
char
* password =
nullptr
,
57
vtkMRMLMessageCollection
* userMessages =
nullptr
);
58
60
static
int
GetLayoutWithTable
(
int
currentLayout);
61
62
protected
:
63
vtkSlicerTablesLogic
();
64
~vtkSlicerTablesLogic
()
override
;
65
66
private
:
67
vtkSlicerTablesLogic
(
const
vtkSlicerTablesLogic
&) =
delete
;
68
void
operator=(
const
vtkSlicerTablesLogic
&) =
delete
;
69
};
70
71
#endif
vtkMRMLMessageCollection
Definition
vtkMRMLMessageCollection.h:86
vtkMRMLTableNode
MRML node to represent a table object.
Definition
vtkMRMLTableNode.h:45
vtkSlicerModuleLogic::vtkSlicerModuleLogic
vtkSlicerModuleLogic()
vtkSlicerTablesLogic::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
vtkSlicerTablesLogic::vtkSlicerTablesLogic
vtkSlicerTablesLogic()
vtkSlicerTablesLogic::~vtkSlicerTablesLogic
~vtkSlicerTablesLogic() override
vtkSlicerTablesLogic::New
static vtkSlicerTablesLogic * New()
vtkSlicerTablesLogic::GetLayoutWithTable
static int GetLayoutWithTable(int currentLayout)
Returns ID of the layout that is similar to current layout but also contains a table view.
vtkSlicerTablesLogic::AddTable
vtkMRMLTableNode * AddTable(const char *fileName, const char *name=nullptr, bool findSchema=true, const char *password=nullptr, vtkMRMLMessageCollection *userMessages=nullptr)
vtkSlicerModuleLogic.h
Generated on Fri Aug 29 2025 19:01:40 for Slicer by
1.13.0