This class mocks a transformation by implementing all the pure virtual methods of the C2DTransformation interface. More...
#include <mia/2d/transformmock.hh>
Additional Inherited Members | |
![]() | |
typedef C2DImage | Data |
generic name for the data used by this transformation More... | |
typedef C2DInterpolatorFactory | InterpolatorFactory |
generic name for the interpolation factory used by this transformation More... | |
typedef std::shared_ptr < C2DTransformation > | Pointer |
pointer type of this transformation More... | |
typedef C2DBounds | Size |
generic name for the size type used by this transformation More... | |
typedef C2DTransformation | type |
generic name for this transformation type More... | |
typedef C2DFVector | Vector |
generic name for the vector type used by this transformation More... | |
![]() | |
virtual C2DFVector | apply (const C2DFVector &x) const =0 |
virtual const_iterator | begin () const =0 |
C2DTransformation (const C2DInterpolatorFactory &ipf) | |
virtual C2DTransformation * | clone () const __attribute__((warn_unused_result)) |
virtual size_t | degrees_of_freedom () const =0 |
virtual C2DFMatrix | derivative_at (const C2DFVector &x) const =0 |
virtual C2DFMatrix | derivative_at (int x, int y) const =0 |
virtual const_iterator | end () const =0 |
const std::string & | get_creator_string () const |
virtual double | get_divcurl_cost (double wd, double wr, CDoubleVector &gradient) const =0 |
virtual double | get_divcurl_cost (double wd, double wr) const =0 |
virtual float | get_jacobian (const C2DFVectorfield &v, float delta) const =0 |
virtual float | get_max_transform () const =0 |
virtual CDoubleVector | get_parameters () const =0 |
virtual const C2DBounds & | get_size () const =0 |
virtual C2DTransformation * | invert () const __attribute__((warn_unused_result))=0 |
virtual C2DFVector | operator() (const C2DFVector &x) const =0 |
virtual float | pertuberate (C2DFVectorfield &v) const =0 |
virtual bool | refine () |
void | set_creator_string (const std::string &s) |
virtual void | set_identity ()=0 |
virtual void | set_parameters (const CDoubleVector ¶ms)=0 |
virtual void | translate (const C2DFVectorfield &gradient, CDoubleVector ¶ms) const =0 |
virtual void | update (float step, const C2DFVectorfield &a)=0 |
Pointer | upscale (const C2DBounds &size) const |
![]() | |
static const char * | data_descr |
plug-in search path element "type" More... | |
static const char * | dim_descr |
plug-in search path element "data" More... | |
![]() | |
const C2DInterpolatorFactory & | get_interpolator_factory () const |
This class mocks a transformation by implementing all the pure virtual methods of the C2DTransformation interface.
This class is only used for testing purpouses.
Definition at line 35 of file 2d/transformmock.hh.