CASToR
1.1
Tomographic Reconstruction (PET/SPECT)
Main Page
Modules
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Macros
Groups
Pages
include
image
iDeformationTemplate.hh
Go to the documentation of this file.
1
8
#ifndef IDEFORMATIONTEMPLATE_HH
9
#define IDEFORMATIONTEMPLATE_HH 1
10
11
// (Optional) may be required if one want access to the image matrices
12
#include "
oImageSpace.hh
"
13
// Required to automatically add the class in the CASToR code
14
#include "
sAddonManager.hh
"
15
// Mother class of deformation model
16
#include "
vDeformation.hh
"
17
18
24
class
iDeformationTemplate
:
public
vDeformation
25
{
26
// -----------------------------------------------------------------------------------------
27
// Constructor & Destructor
28
public
:
33
iDeformationTemplate
();
38
~iDeformationTemplate
();
39
40
41
// -----------------------------------------------------------------------------------------
42
// Public member functions
43
public
:
44
// Function for automatic insertion (put the class name as the parameters and do not add semi-colon at the end of the line)
45
FUNCTION_DEFORMATION
(
iDeformationTemplate
)
52
int
ReadAndCheckConfigurationFile
(
const
string
& a_fileOptions);
59
int
ReadAndCheckOptionsList
(
const
string
& a_listOptions);
66
int
CheckSpecificParameters
();
73
int
Initialize
();
78
void
ShowHelp
();
88
int
ApplyDeformations
(
FLTNB
* ap_inputImage,
FLTNB
* ap_outputImage,
int
a_direction,
int
a_defIdx);
89
90
91
// -----------------------------------------------------------------------------------------
92
// Private member functions
93
private
:
94
95
96
// -----------------------------------------------------------------------------------------
97
// Data members
98
private
:
99
100
};
101
102
// Class for automatic insertion (set here the visible image deformation's name, put the class name as the parameters and do not add semi-colon at the end of the line)
103
CLASS_DEFORMATION
(
template
,
iDeformationTemplate
)
104
105
#endif
FLTNB
#define FLTNB
Definition:
gVariables.hh:55
iDeformationTemplate::CheckSpecificParameters
int CheckSpecificParameters()
This function is an implementation of the pure virtual mother function. It is used to check parameter...
Definition:
iDeformationTemplate.cc:134
CLASS_DEFORMATION
#define CLASS_DEFORMATION(NAME, CLASS)
Definition:
vDeformation.hh:233
iDeformationTemplate::~iDeformationTemplate
~iDeformationTemplate()
Destructor of iDeformationTemplate. Free memory from all allocated tabs.
Definition:
iDeformationTemplate.cc:44
iDeformationTemplate::Initialize
int Initialize()
This function is an implementation of the pure virtual mother function. It is used to initialize spec...
Definition:
iDeformationTemplate.cc:161
FUNCTION_DEFORMATION
#define FUNCTION_DEFORMATION(CLASS)
Definition:
vDeformation.hh:229
vDeformation
This is the mother class of image-based transformation class.
Definition:
vDeformation.hh:44
iDeformationTemplate::ReadAndCheckConfigurationFile
int ReadAndCheckConfigurationFile(const string &a_fileOptions)
This function is an implementation of the pure virtual mother function. It is used to read options fr...
Definition:
iDeformationTemplate.cc:81
vDeformation.hh
Declaration of class vDeformation.
iDeformationTemplate::ShowHelp
void ShowHelp()
This function is used to print out specific help about the deformation model and its options...
Definition:
iDeformationTemplate.cc:59
oImageSpace.hh
Declaration of class oImageSpace.
iDeformationTemplate::ReadAndCheckOptionsList
int ReadAndCheckOptionsList(const string &a_listOptions)
This function is an implementation of the pure virtual mother function. It is used to read options fr...
Definition:
iDeformationTemplate.cc:108
iDeformationTemplate
This class is a child of the vDeformation class implementing a template squeleton.
Definition:
iDeformationTemplate.hh:24
iDeformationTemplate::iDeformationTemplate
iDeformationTemplate()
Constructor of iDeformationTemplate. Simply set all data members to default values.
Definition:
iDeformationTemplate.cc:29
iDeformationTemplate::ApplyDeformations
int ApplyDeformations(FLTNB *ap_inputImage, FLTNB *ap_outputImage, int a_direction, int a_defIdx)
This function is an implementation of the pure virtual mother function. The actual deformation should...
Definition:
iDeformationTemplate.cc:196
sAddonManager.hh
Declaration of class sAddonManager.
Generated on Wed Jul 19 2017 17:02:31 for CASToR by
1.8.6