Medical Imaging Interaction Toolkit  2025.12.02
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 
51 
55  virtual void SetRepresentationToPoints();
56 
61 
66 
71 
72  protected:
77 
79 
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
#define MITKDATATYPESEXT_EXPORT
mitkNewMacro1Param(GridRepresentationProperty, const IdType &)
bool AddEnum(const std::string &name, const IdType &id) override
mitkClassMacro(GridRepresentationProperty, EnumerationProperty)
virtual void SetRepresentationToPoints()
GridRepresentationProperty(const IdType &value)
virtual void SetRepresentationToSurface()
GridRepresentationProperty(const std::string &value)
GridRepresentationProperty(const GridRepresentationProperty &other)
virtual void SetRepresentationToWireframeSurface()
virtual void SetRepresentationToWireframe()
mitkNewMacro1Param(GridRepresentationProperty, const std::string &)
Find image slices visible on a given plane.