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
vtkSlicerTerminologyType.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 __vtkSlicerTerminologyType_h
24#define __vtkSlicerTerminologyType_h
25
26// MRML includes
27#include "vtkCodedEntry.h"
28
29#include "vtkSlicerTerminologiesModuleLogicExport.h"
30
39
40class VTK_SLICER_TERMINOLOGIES_LOGIC_EXPORT vtkSlicerTerminologyType : public vtkCodedEntry
41{
42public:
43 static int INVALID_COLOR[3];
44
45public:
48 void PrintSelf(ostream& os, vtkIndent indent) override;
49
51 void Initialize() override;
52
54 void Copy(vtkCodedEntry* aType) override;
55
56public:
57 vtkGetVector3Macro(RecommendedDisplayRGBValue, unsigned char);
58 vtkSetVector3Macro(RecommendedDisplayRGBValue, unsigned char);
59 vtkGetStringMacro(SlicerLabel);
60 vtkSetStringMacro(SlicerLabel);
61 vtkGetStringMacro(SNOMEDCTConceptID);
62 vtkSetStringMacro(SNOMEDCTConceptID);
63 vtkGetStringMacro(UMLSConceptUID);
64 vtkSetStringMacro(UMLSConceptUID);
65 vtkGetStringMacro(Cid);
66 vtkSetStringMacro(Cid);
67 vtkGetStringMacro(ContextGroupName);
68 vtkSetStringMacro(ContextGroupName);
69
70 vtkGetMacro(HasModifiers, bool);
71 vtkSetMacro(HasModifiers, bool);
72 vtkBooleanMacro(HasModifiers, bool);
73
74protected:
79
80protected:
90 char* Cid;
93
99};
100
101#endif
char * ContextGroupName
'contextGroupName' member of the type object. Value example "Common Tissue Segmentation Types"
char * SNOMEDCTConceptID
'SNOMEDCTConceptID' member of the type object. Value example "275989006"
void operator=(const vtkSlicerTerminologyType &)
static vtkSlicerTerminologyType * New()
void Initialize() override
Reset state of object.
char * SlicerLabel
'3dSlicerLabel' member of the type object. Value example "artery"
~vtkSlicerTerminologyType() override
void PrintSelf(ostream &os, vtkIndent indent) override
char * UMLSConceptUID
'UMLSConceptUID' member of the type object. Value example "C0555806"
void Copy(vtkCodedEntry *aType) override
Copy one type into another.
char * Cid
'cid' member of the type object. Value example "7166"
unsigned char RecommendedDisplayRGBValue[3]
'recommendedDisplayRGBValue' member of the type object
vtkSlicerTerminologyType(const vtkSlicerTerminologyType &)