Slicer  5.0
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) override;
45 
47  void Initialize() override;
48 
50  void Copy(vtkCodedEntry* aCategory) 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() override;
71 
72 protected:
78  char* Cid;
81 
84 };
85 
86 #endif
virtual void Copy(vtkCodedEntry *aEntry)
Copy one type into another.
void operator=(const vtkCodedEntry &)
char * Cid
'cid' member of the category object. Value example "7051"
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()
bool ShowAnatomy
'showAnatomy' member of the category object
char * SNOMEDCTConceptID
'SNOMEDCTConceptID' member of the category object. Value example "85756007"
char * ContextGroupName
'contextGroupName' member of the category object. Value example "Segmentation Property Categories" ...
void PrintSelf(ostream &os, vtkIndent indent) override
Terminology property category object.
char * UMLSConceptUID
'UMLSConceptUID' member of the category object. Value example "C0040300"