Medical Imaging Interaction Toolkit  2026.06.00
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 mitkGridVolumeMapperProperty_h
14 #define mitkGridVolumeMapperProperty_h
15 
18 
19 namespace mitk
20 {
33  {
34  public:
39  {
40  RAYCAST = 0,
41  PT = 1,
42  ZSWEEP = 2
43  };
44 
46 
47  itkFactorylessNewMacro(Self);
48 
49  itkCloneMacro(Self);
50 
52 
54 
56  virtual void SetVolumeMapperToPT();
57 
59  virtual void SetVolumeMapperToZSweep();
60 
62  virtual void SetVolumeMapperToRayCast();
63 
64  protected:
69 
71 
78 
84  GridVolumeMapperProperty(const std::string &value);
85 
90  bool AddEnum(const std::string &name, const IdType &id) override;
91 
96  virtual void AddRepresentationTypes();
97 
99  };
100 } // end of namespace mitk
101 #endif
#define MITKDATATYPESEXT_EXPORT
Property for storing enumeration-like values identified by id and name.
unsigned int IdType
Unsigned integer type used as unique enumeration value identifier.
Enumeration property for volume mapper types used with unstructured grids.
bool AddEnum(const std::string &name, const IdType &id) override
GridVolumeMapperProperty(const IdType &value)
mitkNewMacro1Param(GridVolumeMapperProperty, const std::string &)
GridVolumeMapperProperty(const GridVolumeMapperProperty &other)
mitkNewMacro1Param(GridVolumeMapperProperty, const IdType &)
GridVolumeMapperProperty(const std::string &value)
virtual void SetVolumeMapperToRayCast()
Set the volume mapper to ray casting.
virtual void SetVolumeMapperToZSweep()
Set the volume mapper to ZSweep.
mitkCloneMacro(GridVolumeMapperProperty)
virtual void SetVolumeMapperToPT()
Set the volume mapper to projected tetrahedra.
virtual void AddRepresentationTypes()
MapperType
Available volume mapper types.
mitkClassMacro(GridVolumeMapperProperty, EnumerationProperty)
Find image slices visible on a given plane.