Slicer  4.8
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) VTK_OVERRIDE;
49 
51  virtual void Initialize() VTK_OVERRIDE;
52 
54  virtual void Copy(vtkCodedEntry* aType) VTK_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();
77  vtkSlicerTerminologyType(const vtkSlicerTerminologyType&);
78  void operator=(const vtkSlicerTerminologyType&);
79 
80 protected:
82  unsigned char RecommendedDisplayRGBValue[3];
84  char* SlicerLabel;
86  char* SNOMEDCTConceptID;
88  char* UMLSConceptUID;
90  char* Cid;
92  char* ContextGroupName;
93 
98  bool HasModifiers;
99 };
100 
101 #endif
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
Terminology property type object.
Simple class for storing standard coded entries (coding scheme, value, meaning triplets) ...
Definition: vtkCodedEntry.h:26
virtual void Initialize()
Reset state of object.
static vtkCodedEntry * New()