Medical Imaging Interaction Toolkit  2018.4.99-3e3f1a6e
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 (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_VTK_VOLUME_RENDERING_PROPERTY__H_
14 #define _MITK_VTK_VOLUME_RENDERING_PROPERTY__H_
15 
17 
18 #define VTK_RAY_CAST_COMPOSITE_FUNCTION 1
19 #define VTK_VOLUME_RAY_CAST_MIP_FUNCTION 2
20 namespace mitk
21 {
22 #ifdef _MSC_VER
23 #pragma warning(push)
24 #pragma warning(disable : 4522)
25 #endif
26 
35  {
36  public:
38 
39  itkFactorylessNewMacro(Self);
40 
41  itkCloneMacro(Self);
42 
44 
46 
50  virtual int GetRenderingType();
51 
55  virtual void SetRenderingTypeToMIP();
56 
60  virtual void SetRenderingTypeToComposite();
61 
62  using BaseProperty::operator=;
63 
64  protected:
68 
72  VtkVolumeRenderingProperty(const IdType &value);
73 
77  VtkVolumeRenderingProperty(const std::string &value);
78 
83  bool AddEnum(const std::string &name, const IdType &id) override;
84 
89  virtual void AddRenderingTypes();
90 
91  private:
92  // purposely not implemented
94 
95  itk::LightObject::Pointer InternalClone() const override;
96  };
97 
98 #ifdef _MSC_VER
99 #pragma warning(pop)
100 #endif
101 
102 } // end of namespace mitk
103 
104 #endif
#define MITKCORE_EXPORT
#define mitkNewMacro1Param(classname, type)
Definition: mitkCommon.h:72
DataCollection - Class to facilitate loading/accessing structured data.
Abstract base class for properties.
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:40