Medical Imaging Interaction Toolkit  2023.12.99-ed252ae7
Medical Imaging Interaction Toolkit
mitkExampleDataStructure.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 mitkExampleDataStructure_h
14 #define mitkExampleDataStructure_h
15 
16 #include <MitkNewModuleExports.h>
17 
18 #include "mitkBaseData.h"
19 
20 namespace mitk
21 {
28  {
29  public:
30  // virtual methods that need to be implemented
31  void UpdateOutputInformation() override;
32  void SetRequestedRegionToLargestPossibleRegion() override;
33  bool RequestedRegionIsOutsideOfTheBufferedRegion() override;
34  bool VerifyRequestedRegion() override;
35  void SetRequestedRegion(const itk::DataObject *) override;
36 
37  // Macros
39  itkFactorylessNewMacro(Self);
40  itkCloneMacro(Self);
41 
43 
44  // Get macros
45  itkGetMacro(Data, std::string);
46  itkGetConstMacro(Data, std::string);
47 
48  // Set macros
49  itkSetMacro(Data, std::string);
50 
58  void AppendAString(const std::string input);
59 
60  protected:
62  ~ExampleDataStructure() override;
63 
64  // this string is the data stored in this example data structure
65  std::string m_Data;
66 
67  private:
68  };
69 
77  mitk::ExampleDataStructure *rightHandSide,
79  bool verbose);
80 
81 } // namespace mitk
82 
83 #endif
mitk::ExampleDataStructure
Example Data Structure.
Definition: mitkExampleDataStructure.h:27
mitk::eps
const MITKCORE_EXPORT ScalarType eps
MITKNEWMODULE_EXPORT
#define MITKNEWMODULE_EXPORT
Definition: MitkNewModuleExports.h:15
mitk::Equal
MITKNEWMODULE_EXPORT bool Equal(mitk::ExampleDataStructure *leftHandSide, mitk::ExampleDataStructure *rightHandSide, mitk::ScalarType eps, bool verbose)
Returns true if the example data structures are considered equal.
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::ExampleDataStructure::m_Data
std::string m_Data
Definition: mitkExampleDataStructure.h:65
mitk::BaseData
Base of all data objects.
Definition: mitkBaseData.h:42
mitkBaseData.h
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
MitkNewModuleExports.h
mitk::ScalarType
double ScalarType
Definition: mitkNumericConstants.h:20