Function class for reformating of a Jacobian map. More...
#include <cmtkReformatVolume.h>
Public Member Functions | |
Jacobian (const ScalarDataType dataType=TYPE_FLOAT, const bool correctGlobalScale=true) | |
Constructor. | |
template<class TInterpolatorInstantiationPtr > | |
bool | operator() (Types::DataItem &value, const Vector3D &inRef, const cmtk::XformList &refToFloat, TInterpolatorInstantiationPtr &interpolator) |
Query operator. | |
ScalarDataType | GetDataType (const UniformVolume &) const |
Return preferred data type for reformatted data. | |
template<class TInterpolator > | |
bool | operator() (Types::DataItem &value, const Vector3D &inRef, const XformList &refToFloat, TInterpolator &) |
Private Attributes | |
bool | CorrectGlobalScale |
Flag for correction of global scale. |
Function class for reformating of a Jacobian map.
Definition at line 229 of file cmtkReformatVolume.h.
cmtk::ReformatVolume::Jacobian::Jacobian | ( | const ScalarDataType | dataType = TYPE_FLOAT , |
const bool | correctGlobalScale = true |
||
) | [inline] |
Constructor.
Definition at line 235 of file cmtkReformatVolume.h.
ScalarDataType cmtk::ReformatVolume::Jacobian::GetDataType | ( | const UniformVolume & | ) | const [inline] |
Return preferred data type for reformatted data.
Reimplemented from cmtk::ReformatVolume::Plain.
Definition at line 243 of file cmtkReformatVolume.h.
References cmtk::TYPE_FLOAT, and cmtk::TYPE_NONE.
bool cmtk::ReformatVolume::Jacobian::operator() | ( | Types::DataItem & | value, |
const Vector3D & | inRef, | ||
const cmtk::XformList & | refToFloat, | ||
TInterpolatorInstantiationPtr & | interpolator | ||
) |
Query operator.
Reimplemented from cmtk::ReformatVolume::Plain.
bool cmtk::ReformatVolume::Jacobian::CorrectGlobalScale [private] |
Flag for correction of global scale.
If this is true, all Jacobian determinants are divided (forward transformation) or multiplied (inverse transformation) by the global affine scale factor of the transformation.
Definition at line 257 of file cmtkReformatVolume.h.