Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkBaseDataTestImplementation.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 mitkBaseDataTestImplementation_h
14 #define mitkBaseDataTestImplementation_h
15 
16 #include <mitkBaseData.h>
17 
18 namespace mitk
19 {
28  {
29  public:
31 
32  itkFactorylessNewMacro(Self);
33 
34  itkCloneMacro(Self);
35 
39  void InitializeTimeGeometry(unsigned int timeSteps /* = 1 */) override
40  {
41  Superclass::InitializeTimeGeometry(timeSteps);
42  }
43 
44  protected:
46 
49 
51  bool VerifyRequestedRegion() override { return false; };
53  bool RequestedRegionIsOutsideOfTheBufferedRegion() override { return false; };
57  void SetRequestedRegion(const itk::DataObject * /*data*/) override{};
58 
63  };
64 
65 } // namespace
66 
67 #endif
Implementation of BaseData (for testing).
bool RequestedRegionIsOutsideOfTheBufferedRegion() override
Check if the requested region is outside of the buffered region.
BaseDataTestImplementation(const BaseDataTestImplementation &other)
Copy constructor.
void InitializeTimeGeometry(unsigned int timeSteps) override
Initialize the time geometry with the given number of time steps.
void SetRequestedRegionToLargestPossibleRegion() override
Set the requested region to the largest possible region.
void SetRequestedRegion(const itk::DataObject *) override
Set the requested region from the given data object (no-op for testing).
mitkClassMacro(BaseDataTestImplementation, BaseData)
bool VerifyRequestedRegion() override
Verify the requested region.
Base class of all data objects.
Definition: mitkBaseData.h:60
Find image slices visible on a given plane.