Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
vtkSlicerTerminologyEntry.h
Go to the documentation of this file.
1/*==============================================================================
2
3 Program: 3D Slicer
4
5 Copyright (c) Laboratory for Percutaneous Surgery (PerkLab)
6 Queen's University, Kingston, ON, Canada. All Rights Reserved.
7
8 See COPYRIGHT.txt
9 or http://www.slicer.org/copyright/copyright.txt for details.
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16
17 This file was originally developed by Csaba Pinter, PerkLab, Queen's University
18 and was supported through the Applied Cancer Research Unit program of Cancer Care
19 Ontario with funds provided by the Ontario Ministry of Health and Long-Term Care
20
21==============================================================================*/
22
23#ifndef __vtkSlicerTerminologyEntry_h
24#define __vtkSlicerTerminologyEntry_h
25
26// VTK includes
27#include <vtkObject.h>
28
29// Terminology includes
30#include "vtkSlicerTerminologiesModuleLogicExport.h"
33
35class VTK_SLICER_TERMINOLOGIES_LOGIC_EXPORT vtkSlicerTerminologyEntry : public vtkObject
36{
37public:
39 vtkTypeMacro(vtkSlicerTerminologyEntry, vtkObject);
40 void PrintSelf(ostream& os, vtkIndent indent) override;
41
43 virtual void Copy(vtkSlicerTerminologyEntry* aEntry);
44
45public:
46 vtkGetStringMacro(TerminologyContextName);
47 vtkSetStringMacro(TerminologyContextName);
48
52
53 vtkGetStringMacro(RegionContextName);
54 vtkSetStringMacro(RegionContextName);
55
58
60 void Initialize();
61
64 bool IsValid();
65
67 bool IsEmpty();
68
69protected:
73
76
77protected:
82
83protected:
85 char* TerminologyContextName{nullptr};
92
94 char* RegionContextName{nullptr};
99};
100
101#endif
Terminology property category object.
void PrintSelf(ostream &os, vtkIndent indent) override
char * TerminologyContextName
Terminology context name (SegmentationCategoryTypeContextName in terminology Json)
bool IsEmpty()
Returns true if all fields are empty.
vtkSlicerTerminologyType * RegionModifierObject
Region modifier properties.
void Initialize()
Reset to initial state, setting all fields to empty.
~vtkSlicerTerminologyEntry() override
vtkSlicerTerminologyType * TypeModifierObject
Type modifier properties.
vtkSlicerTerminologyType * TypeObject
Type properties.
char * RegionContextName
Region context name (AnatomicContextName in anatomy Json) - optional.
vtkSlicerTerminologyCategory * CategoryObject
Category properties.
vtkSlicerTerminologyEntry(const vtkSlicerTerminologyEntry &)
vtkSlicerTerminologyType * RegionObject
Region properties.
static vtkSlicerTerminologyEntry * New()
void operator=(const vtkSlicerTerminologyEntry &)
virtual void Copy(vtkSlicerTerminologyEntry *aEntry)
Copy one entry into another.
Terminology property type object.