Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
mitkGridRepresentationProperty.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef mitkGridRepresentationProperty_h
14 #define mitkGridRepresentationProperty_h
15 
18 
19 namespace mitk
20 {
33  {
34  public:
36  {
37  POINTS = 0,
38  WIREFRAME = 1,
39  SURFACE = 2
40  }; //, WIREFRAME_SURFACE = 3};
41 
43 
44  itkFactorylessNewMacro(Self);
45 
46  itkCloneMacro(Self);
47 
49 
50  mitkNewMacro1Param(GridRepresentationProperty, const std::string &);
51 
55  virtual void SetRepresentationToPoints();
56 
60  virtual void SetRepresentationToWireframe();
61 
65  virtual void SetRepresentationToSurface();
66 
70  virtual void SetRepresentationToWireframeSurface();
71 
72  protected:
77 
79 
85  GridRepresentationProperty(const IdType &value);
86 
92  GridRepresentationProperty(const std::string &value);
93 
98  bool AddEnum(const std::string &name, const IdType &id) override;
99 
104  virtual void AddRepresentationTypes();
105 
106  private:
107  itk::LightObject::Pointer InternalClone() const override;
108  };
109 } // end of namespace mitk
110 #endif
mitk::GridRepresentationProperty
Definition: mitkGridRepresentationProperty.h:32
mitk::EnumerationProperty
Definition: mitkEnumerationProperty.h:43
MitkDataTypesExtExports.h
mitkNewMacro1Param
#define mitkNewMacro1Param(classname, type)
Definition: mitkCommon.h:68
MITKDATATYPESEXT_EXPORT
#define MITKDATATYPESEXT_EXPORT
Definition: MitkDataTypesExtExports.h:15
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::GridRepresentationProperty::RepresentationType
RepresentationType
Definition: mitkGridRepresentationProperty.h:35
mitkEnumerationProperty.h
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36