Medical Imaging Interaction Toolkit  2018.4.99-b7f3afaa
Medical Imaging Interaction Toolkit
mitkGridVolumeMapperProperty.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 _MITK_GRID_VOLUME_MAPPER_PROPERTY__H_
14 #define _MITK_GRID_VOLUME_MAPPER_PROPERTY__H_
15 
18 
19 namespace mitk
20 {
28  {
29  public:
31  {
32  RAYCAST = 0,
33  PT = 1,
34  ZSWEEP = 2
35  };
36 
38 
39  itkFactorylessNewMacro(Self);
40 
41  itkCloneMacro(Self);
42 
44 
45  mitkNewMacro1Param(GridVolumeMapperProperty, const std::string &);
46 
50  virtual void SetVolumeMapperToPT();
51 
55  virtual void SetVolumeMapperToZSweep();
56 
60  virtual void SetVolumeMapperToRayCast();
61 
62  protected:
67 
73  GridVolumeMapperProperty(const IdType &value);
74 
80  GridVolumeMapperProperty(const std::string &value);
81 
86  bool AddEnum(const std::string &name, const IdType &id) override;
87 
92  virtual void AddRepresentationTypes();
93 
94  private:
95  itk::LightObject::Pointer InternalClone() const override;
96  };
97 } // end of namespace mitk
98 #endif // _MITK_GRID_VOLUME_MAPPER_PROPERTY__H_
#define mitkNewMacro1Param(classname, type)
Definition: mitkCommon.h:72
#define MITKDATATYPESEXT_EXPORT
DataCollection - Class to facilitate loading/accessing structured data.
Abstract base class for properties.
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:40