Slicer  5.1
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
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 
40 class VTK_SLICER_TERMINOLOGIES_LOGIC_EXPORT vtkSlicerTerminologyType : public vtkCodedEntry
41 {
42 public:
43  static int INVALID_COLOR[3];
44 
45 public:
46  static vtkSlicerTerminologyType *New();
48  void PrintSelf(ostream& os, vtkIndent indent) override;
49 
51  void Initialize() override;
52 
54  void Copy(vtkCodedEntry* aType) override;
55 
56 public:
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 
74 protected:
76  ~vtkSlicerTerminologyType() override;
79 
80 protected:
82  unsigned char RecommendedDisplayRGBValue[3];
84  char* SlicerLabel;
90  char* Cid;
93 
99 };
100 
101 #endif
char * SlicerLabel
'3dSlicerLabel' member of the type object. Value example "artery"
char * UMLSConceptUID
'UMLSConceptUID' member of the type object. Value example "C0555806"
virtual void Copy(vtkCodedEntry *aEntry)
Copy one type into another.
void operator=(const vtkCodedEntry &)
Terminology property type object.
Simple class for storing standard coded entries (coding scheme, value, meaning triplets) ...
Definition: vtkCodedEntry.h:26
char * SNOMEDCTConceptID
'SNOMEDCTConceptID' member of the type object. Value example "275989006"
char * Cid
'cid' member of the type object. Value example "7166"
char * ContextGroupName
'contextGroupName' member of the type object. Value example "Common Tissue Segmentation Types" ...
virtual void Initialize()
Reset state of object.
static vtkCodedEntry * New()
void PrintSelf(ostream &os, vtkIndent indent) override