Medical Imaging Interaction Toolkit  2018.4.99-12ad79a3
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) itkCloneMacro(Self)
40 
42 
43  mitkNewMacro1Param(GridVolumeMapperProperty, const std::string &);
44 
48  virtual void SetVolumeMapperToPT();
49 
53  virtual void SetVolumeMapperToZSweep();
54 
58  virtual void SetVolumeMapperToRayCast();
59 
60  protected:
65 
71  GridVolumeMapperProperty(const IdType &value);
72 
78  GridVolumeMapperProperty(const std::string &value);
79 
84  bool AddEnum(const std::string &name, const IdType &id) override;
85 
90  virtual void AddRepresentationTypes();
91 
92  private:
93  itk::LightObject::Pointer InternalClone() const override;
94  };
95 } // end of namespace mitk
96 #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