Medical Imaging Interaction Toolkit  2023.12.99-b884b24c
Medical Imaging Interaction Toolkit
mitkIPropertyProvider.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 mitkIPropertyProvider_h
14 #define mitkIPropertyProvider_h
15 
16 #include <MitkCoreExports.h>
17 #include <mitkBaseProperty.h>
18 
19 namespace mitk
20 {
25  {
26  public:
27  virtual ~IPropertyProvider();
28 
41  virtual BaseProperty::ConstPointer GetConstProperty(const std::string &propertyKey,
42  const std::string &contextName = "",
43  bool fallBackOnDefaultContext = true) const = 0;
44 
55  virtual std::vector<std::string> GetPropertyKeys(const std::string &contextName = "",
56  bool includeDefaultContext = false) const = 0;
57 
63  virtual std::vector<std::string> GetPropertyContextNames() const = 0;
64  };
65 } // namespace mitk
66 
67 #endif
itk::SmartPointer< const Self >
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
MitkCoreExports.h
mitk::ROIMapperHelper::GetConstProperty
const T * GetConstProperty(const std::string &propertyKey, const ROI::Element &roi, TimeStepType t)
Syntactic sugar for getting ROI properties.
Definition: mitkROIMapperHelper.h:48
mitk::IPropertyProvider
Definition: mitkIPropertyProvider.h:24
mitkBaseProperty.h
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition: MitkCoreExports.h:15