Medical Imaging Interaction Toolkit  2016.11.0
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,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef _MITK_GRID_VOLUME_MAPPER_PROPERTY__H_
18 #define _MITK_GRID_VOLUME_MAPPER_PROPERTY__H_
19 
22 
23 namespace mitk
24 {
32  {
33  public:
35  {
36  RAYCAST = 0,
37  PT = 1,
38  ZSWEEP = 2
39  };
40 
42 
43  itkFactorylessNewMacro(Self) itkCloneMacro(Self)
44 
46 
47  mitkNewMacro1Param(GridVolumeMapperProperty, const std::string &);
48 
52  virtual void SetVolumeMapperToPT();
53 
57  virtual void SetVolumeMapperToZSweep();
58 
62  virtual void SetVolumeMapperToRayCast();
63 
64  protected:
68  GridVolumeMapperProperty();
69 
75  GridVolumeMapperProperty(const IdType &value);
76 
82  GridVolumeMapperProperty(const std::string &value);
83 
88  virtual bool AddEnum(const std::string &name, const IdType &id) override;
89 
94  virtual void AddRepresentationTypes();
95 
96  private:
97  virtual itk::LightObject::Pointer InternalClone() const override;
98  };
99 } // end of namespace mitk
100 #endif // _MITK_GRID_VOLUME_MAPPER_PROPERTY__H_
#define mitkNewMacro1Param(classname, type)
Definition: mitkCommon.h:76
#define MITKDATATYPESEXT_EXPORT
STL namespace.
DataCollection - Class to facilitate loading/accessing structured data.
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44