Medical Imaging Interaction Toolkit
2024.06.00
Medical Imaging Interaction Toolkit
mitkIndexedValueFunctorBase.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 mitkIndexedValueFunctorBase_h
14
#define mitkIndexedValueFunctorBase_h
15
16
#include <itkObject.h>
17
#include <itkIndex.h>
18
#include <
mitkVector.h
>
19
20
#include "
mitkModelBase.h
"
21
22
#include "
MitkModelFitExports.h
"
23
24
namespace
mitk
25
{
26
31
class
MITKMODELFIT_EXPORT
IndexedValueFunctorBase
:
public
::itk::Object
32
{
33
public
:
34
typedef
IndexedValueFunctorBase
Self
;
35
typedef
itk::Object
Superclass
;
36
typedef
itk::SmartPointer< Self >
Pointer
;
37
typedef
itk::SmartPointer< const Self >
ConstPointer
;
38
39
itkTypeMacro(
IndexedValueFunctorBase
, itk::Object);
40
41
typedef
ScalarType
InputImagePixelType
;
42
typedef
std::vector<InputImagePixelType>
InputPixelVectorType
;
43
typedef
std::vector<InputImagePixelType>
OutputPixelVectorType
;
44
45
typedef
itk::Array<double>
GridArrayType
;
46
typedef
itk::Index<3>
IndexType
;
47
48
virtual
OutputPixelVectorType
Compute(
const
InputPixelVectorType
& value,
const
IndexType
& currentIndex)
const
= 0;
49
50
virtual
unsigned
int
GetNumberOfOutputs()
const
= 0;
51
52
protected
:
53
54
IndexedValueFunctorBase
()
55
{};
56
57
~IndexedValueFunctorBase
()
override
58
{};
59
60
};
61
62
}
63
64
65
#endif
mitk::IndexedValueFunctorBase::IndexedValueFunctorBase
IndexedValueFunctorBase()
Definition:
mitkIndexedValueFunctorBase.h:54
mitk::IndexedValueFunctorBase::Superclass
itk::Object Superclass
Definition:
mitkIndexedValueFunctorBase.h:35
MitkModelFitExports.h
mitk::IndexedValueFunctorBase
Definition:
mitkIndexedValueFunctorBase.h:31
mitk::IndexedValueFunctorBase::GridArrayType
itk::Array< double > GridArrayType
Definition:
mitkIndexedValueFunctorBase.h:45
mitk::IndexedValueFunctorBase::InputPixelVectorType
std::vector< InputImagePixelType > InputPixelVectorType
Definition:
mitkIndexedValueFunctorBase.h:42
itk::SmartPointer< Self >
mitk::IndexedValueFunctorBase::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition:
mitkIndexedValueFunctorBase.h:37
MITKMODELFIT_EXPORT
#define MITKMODELFIT_EXPORT
Definition:
MitkModelFitExports.h:15
mitkModelBase.h
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
mitk::IndexedValueFunctorBase::Self
IndexedValueFunctorBase Self
Definition:
mitkIndexedValueFunctorBase.h:34
mitk::IndexedValueFunctorBase::InputImagePixelType
ScalarType InputImagePixelType
Definition:
mitkIndexedValueFunctorBase.h:39
mitk::IndexedValueFunctorBase::Pointer
itk::SmartPointer< Self > Pointer
Definition:
mitkIndexedValueFunctorBase.h:36
mitk::IndexedValueFunctorBase::OutputPixelVectorType
std::vector< InputImagePixelType > OutputPixelVectorType
Definition:
mitkIndexedValueFunctorBase.h:43
mitk::IndexedValueFunctorBase::IndexType
itk::Index< 3 > IndexType
Definition:
mitkIndexedValueFunctorBase.h:46
mitkVector.h
mitk::IndexedValueFunctorBase::~IndexedValueFunctorBase
~IndexedValueFunctorBase() override
Definition:
mitkIndexedValueFunctorBase.h:57
mitk::ScalarType
double ScalarType
Definition:
mitkNumericConstants.h:20
src
MITK
Modules
ModelFit
include
mitkIndexedValueFunctorBase.h
Generated on Mon Jun 17 2024 12:43:27 for Medical Imaging Interaction Toolkit by
1.8.17