Slicer  4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
vtkSlicerTerminologyCategory.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 __vtkSlicerTerminologyCategory_h
24 #define __vtkSlicerTerminologyCategory_h
25 
26 // MRML includes
27 #include "vtkCodedEntry.h"
28 
29 #include "vtkSlicerTerminologiesModuleLogicExport.h"
30 
39 class VTK_SLICER_TERMINOLOGIES_LOGIC_EXPORT vtkSlicerTerminologyCategory : public vtkCodedEntry
40 {
41 public:
44  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
45 
47  virtual void Initialize() VTK_OVERRIDE;
48 
50  virtual void Copy(vtkCodedEntry* aCategory) VTK_OVERRIDE;
51 
52 public:
53  vtkGetStringMacro(SNOMEDCTConceptID);
54  vtkSetStringMacro(SNOMEDCTConceptID);
55  vtkGetStringMacro(UMLSConceptUID);
56  vtkSetStringMacro(UMLSConceptUID);
57  vtkGetStringMacro(Cid);
58  vtkSetStringMacro(Cid);
59  vtkGetStringMacro(ContextGroupName);
60  vtkSetStringMacro(ContextGroupName);
61 
62  vtkGetMacro(ShowAnatomy, bool);
63  vtkSetMacro(ShowAnatomy, bool);
64  vtkBooleanMacro(ShowAnatomy, bool);
65 
66 protected:
68  ~vtkSlicerTerminologyCategory();
69  vtkSlicerTerminologyCategory(const vtkSlicerTerminologyCategory&);
70  void operator=(const vtkSlicerTerminologyCategory&);
71 
72 protected:
74  char* SNOMEDCTConceptID;
76  char* UMLSConceptUID;
78  char* Cid;
80  char* ContextGroupName;
81 
83  bool ShowAnatomy;
84 };
85 
86 #endif
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
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()
Terminology property category object.