Medical Imaging Interaction Toolkit
2024.06.00
Medical Imaging Interaction Toolkit
mitkConstraintCheckerInterface.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 mitkConstraintCheckerInterface_h
14
#define mitkConstraintCheckerInterface_h
15
16
#include "
mitkModelBase.h
"
17
18
#include "
MitkModelFitExports.h
"
19
20
namespace
mitk
21
{
26
class
MITKMODELFIT_EXPORT
ConstraintCheckerInterface
27
{
28
public
:
29
30
typedef
ConstraintCheckerInterface
Self
;
31
32
typedef
double
PenaltyValueType
;
33
typedef
itk::Array<PenaltyValueType>
PenaltyArrayType
;
34
typedef
itk::Array<double>
SignalType
;
35
typedef
ModelBase::ParametersType
ParametersType
;
36
41
virtual
PenaltyArrayType
GetPenalties(
const
ParametersType
¶meters)
const
= 0;
42
46
virtual
PenaltyValueType
GetPenaltySum(
const
ParametersType
¶meters)
const
= 0;
47
49
virtual
unsigned
int
GetNumberOfConstraints()
const
= 0;
50
52
virtual
PenaltyValueType
GetFailedConstraintValue()
const
= 0;
53
54
protected
:
55
56
ConstraintCheckerInterface
()
57
{}
58
59
virtual
~ConstraintCheckerInterface
()
60
{}
61
62
private
:
63
ConstraintCheckerInterface
(
const
ConstraintCheckerInterface
& source);
64
void
operator=(
const
ConstraintCheckerInterface
&);
//purposely not implemented
65
};
66
67
}
68
69
#endif
mitk::ConstraintCheckerInterface::Self
ConstraintCheckerInterface Self
Definition:
mitkConstraintCheckerInterface.h:30
mitk::ConstraintCheckerInterface::PenaltyValueType
double PenaltyValueType
Definition:
mitkConstraintCheckerInterface.h:32
MitkModelFitExports.h
mitk::ConstraintCheckerInterface::ConstraintCheckerInterface
ConstraintCheckerInterface()
Definition:
mitkConstraintCheckerInterface.h:56
mitk::ModelBase::ParametersType
ModelTraitsInterface::ParametersType ParametersType
Definition:
mitkModelBase.h:59
mitk::ConstraintCheckerInterface::~ConstraintCheckerInterface
virtual ~ConstraintCheckerInterface()
Definition:
mitkConstraintCheckerInterface.h:59
mitk::ConstraintCheckerInterface
Definition:
mitkConstraintCheckerInterface.h:26
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::ConstraintCheckerInterface::SignalType
itk::Array< double > SignalType
Definition:
mitkConstraintCheckerInterface.h:34
mitk::ConstraintCheckerInterface::ParametersType
ModelBase::ParametersType ParametersType
Definition:
mitkConstraintCheckerInterface.h:35
mitk::ConstraintCheckerInterface::PenaltyArrayType
itk::Array< PenaltyValueType > PenaltyArrayType
Definition:
mitkConstraintCheckerInterface.h:33
src
MITK
Modules
ModelFit
include
mitkConstraintCheckerInterface.h
Generated on Mon Jun 17 2024 12:43:23 for Medical Imaging Interaction Toolkit by
1.8.17