Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkVtkVolumeRenderingProperty.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_VTK_VOLUME_RENDERING_PROPERTY__H_
18 #define _MITK_VTK_VOLUME_RENDERING_PROPERTY__H_
19 
21 
22 #define VTK_RAY_CAST_COMPOSITE_FUNCTION 1
23 #define VTK_VOLUME_RAY_CAST_MIP_FUNCTION 2
24 namespace mitk
25 {
26 #ifdef _MSC_VER
27 #pragma warning(push)
28 #pragma warning(disable : 4522)
29 #endif
30 
39  {
40  public:
42 
43  itkFactorylessNewMacro(Self) itkCloneMacro(Self)
44 
46 
47  mitkNewMacro1Param(VtkVolumeRenderingProperty, const std::string &);
48 
52  virtual int GetRenderingType();
53 
57  virtual void SetRenderingTypeToMIP();
58 
62  virtual void SetRenderingTypeToComposite();
63 
64  using BaseProperty::operator=;
65 
66  protected:
69  VtkVolumeRenderingProperty();
70 
74  VtkVolumeRenderingProperty(const IdType &value);
75 
79  VtkVolumeRenderingProperty(const std::string &value);
80 
85  virtual bool AddEnum(const std::string &name, const IdType &id) override;
86 
91  virtual void AddRenderingTypes();
92 
93  private:
94  // purposely not implemented
95  VtkVolumeRenderingProperty &operator=(const VtkVolumeRenderingProperty &);
96 
97  itk::LightObject::Pointer InternalClone() const override;
98  };
99 
100 #ifdef _MSC_VER
101 #pragma warning(pop)
102 #endif
103 
104 } // end of namespace mitk
105 
106 #endif
#define MITKCORE_EXPORT
#define mitkNewMacro1Param(classname, type)
Definition: mitkCommon.h:76
STL namespace.
DataCollection - Class to facilitate loading/accessing structured data.
Abstract base class for properties.
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44