Medical Imaging Interaction Toolkit  2023.12.99-f298153c
Medical Imaging Interaction Toolkit
ExampleImageFilter.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 ExampleImageFilter_h
14 #define ExampleImageFilter_h
15 
16 #include <mitkImageToImageFilter.h>
17 
18 // The following header file is generated by CMake and thus it's located in
19 // the build directory. It provides an export macro for classes and functions
20 // that you want to be part of the public interface of your module.
22 
23 // While you are free to derive directly from ITK filter base classes,
24 // MITK filter base classes provide typed accessor methods for the inputs
25 // and outputs, which will save you and your clients lots of manual casting.
27 {
28 public:
29  // All classes that derive from an ITK-based MITK class need at least the
30  // following two macros. Make sure you don't declare the constructor public
31  // to force clients of your class to follow the ITK convention for
32  // instantiating classes via the static New() method.
34  itkFactorylessNewMacro(Self)
35 
36  itkSetMacro(Offset, int)
37  itkGetMacro(Offset, int)
38 
39 private:
42 
43  void GenerateData() override;
44 
45  int m_Offset;
46 };
47 
48 #endif
mitkImageToImageFilter.h
MITKEXAMPLEMODULE_EXPORT
#define MITKEXAMPLEMODULE_EXPORT
Definition: MitkExampleModuleExports.h:15
perspective
The custom viewer plugin implements simple viewer functionality presented in a customized look and feel It was developed to demonstrate extensibility and customizability of the blueberry application framework As an example for the GUI customization capabilities provided by the BlueBerry application the custom viewer plugin was developed It features simple viewer functionality presented in a customized look and feel The custom viewer consists of two i e a viewer perspective and a DICOM perspective As part of the viewer perspective
Definition: CustomViewerExample.dox:312
ExampleImageFilter
Definition: ExampleImageFilter.h:26
mitk::BaseDataSource
Superclass of all classes generating some kind of mitk::BaseData.
Definition: mitkBaseDataSource.h:71
DocumentationExample
This is a class for showing how to document your code using doxygen.
Definition: DocumentationExample.h:21
mitk::ImageSource::GenerateData
void GenerateData() override
A version of GenerateData() specific for image processing filters.
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
itk::Image
class ITK_EXPORT Image
Definition: mitkGeometryClipImageFilter.h:25
MitkExampleModuleExports.h
mitk::ImageToImageFilter
Superclass of all classes having one or more Images as input and generating Images as output.
Definition: mitkImageToImageFilter.h:25