C3DTransformMock Class Reference

A test class to enable running code that needs a transformation. More...

#include <mia/3d/transformmock.hh>

Inheritance diagram for C3DTransformMock:
[legend]
Collaboration diagram for C3DTransformMock:
[legend]

Additional Inherited Members

- Public Types inherited from Transformation< C3DImage, C3DInterpolatorFactory >
typedef C3DImage Data
 typedef for the data type to be transformed by this transformation More...
 
typedef C3DInterpolatorFactory InterpolatorFactory
 type of the interpolator used by this transformation More...
 
- Public Member Functions inherited from C3DTransformation
virtual C3DFVector apply (const C3DFVector &x) const __attribute__((deprecated))
 
virtual const_iterator begin () const =0
 
virtual const_iterator begin_range (const C3DBounds &begin, const C3DBounds &end) const =0
 
 C3DTransformation (const C3DInterpolatorFactory &ipf)
 
virtual C3DTransformationclone () const
 
virtual size_t degrees_of_freedom () const =0
 
virtual C3DFMatrix derivative_at (int x, int y, int z) const =0
 
virtual C3DFMatrix derivative_at (const C3DFVector &x) const =0
 
virtual const_iterator end () const =0
 
virtual const_iterator end_range (const C3DBounds &begin, const C3DBounds &end) const =0
 
const std::string & get_creator_string () const
 
virtual C3DFVector get_displacement_at (const C3DFVector &x) const =0
 
virtual float get_jacobian (const C3DFVectorfield &v, float delta) const =0
 
virtual float get_max_transform () const =0
 
virtual C3DBounds get_minimal_supported_image_size () const
 
virtual CDoubleVector get_parameters () const =0
 
virtual const C3DBoundsget_size () const =0
 
virtual C3DTransformationinvert () const =0
 
virtual C3DFVector operator() (const C3DFVector &x) const =0
 
virtual float pertuberate (C3DFVectorfield &v) const =0
 
virtual bool refine ()
 
virtual void reinit () const
 
void set_creator_string (const std::string &s)
 
void set_debug ()
 
virtual void set_identity ()=0
 
virtual void set_parameters (const CDoubleVector &params)=0
 
virtual void translate (const C3DFVectorfield &gradient, CDoubleVector &params) const =0
 
virtual void update (float step, const C3DFVectorfield &a)=0
 
P3DTransformation upscale (const C3DBounds &size) const
 
- Public Member Functions inherited from Transformation< C3DImage, C3DInterpolatorFactory >
double get_energy_penalty () const
 
double get_energy_penalty_and_gradient (CDoubleVector &gradient) const
 
bool has_energy_penalty () const
 
std::shared_ptr< C3DImageoperator() (const C3DImage &input) const
 
std::shared_ptr< C3DImageoperator() (const C3DImage &input, const C3DInterpolatorFactory &ipf_override) const
 
void set_interpolator_factory (const C3DInterpolatorFactory &ipf)
 
 Transformation (const C3DInterpolatorFactory &ipf)
 
virtual ~Transformation ()
 
- Public Member Functions inherited from CIOData
const std::string & get_source_format () const
 
void set_source_format (const std::string &format)
 
- Public Member Functions inherited from CAttributedData
CAttributeMap::const_iterator begin_attributes () const
 
void delete_attribute (const std::string &key)
 
CAttributeMap::const_iterator end_attributes () const
 
const PAttribute get_attribute (const std::string &key) const
 
template<typename T >
const T get_attribute_as (const std::string &key) const
 
template<typename T >
const T get_attribute_as (const std::string &key, T default_value) const
 
const std::string get_attribute_as_string (const std::string &key) const
 returns the requested attribute as string, returns an empty string if attribute doesn't exist More...
 
bool has_attribute (const std::string &key) const
 
CAttributedDataoperator= (const CAttributedData &org)
 Assignemt operator. More...
 
void print (std::ostream &os) const
 
void set_attribute (const std::string &key, PAttribute attr)
 
void set_attribute (const std::string &key, const std::string &value)
 
template<typename T >
void set_attribute (const std::string &key, const T &value)
 
void set_attribute (const std::string &key, const char *value)
 
void set_attributes (CAttributeMap::const_iterator begin, CAttributeMap::const_iterator end)
 
 CAttributedData ()
 
 CAttributedData (const CAttributedData &org)
 
 CAttributedData (PAttributeMap attr)
 
- Static Public Attributes inherited from C3DTransformation
static constexpr const char * input_spacing_attr = "in-voxel-spacing"
 
static constexpr const char * output_spacing_attr = "out-voxel-spacing"
 
- Static Public Attributes inherited from Transformation< C3DImage, C3DInterpolatorFactory >
static const char * type_descr
 interface type for plugin implementation and search More...
 
- Protected Member Functions inherited from C3DTransformation
bool get_debug () const
 
- Protected Member Functions inherited from Transformation< C3DImage, C3DInterpolatorFactory >
const C3DInterpolatorFactoryget_interpolator_factory () const
 

Detailed Description

A test class to enable running code that needs a transformation.

This class mocks a transformation by implementing all the pure virtual methods of the C3DTransformation interface. It is used only for testing purpouses.

Definition at line 37 of file 3d/transformmock.hh.


The documentation for this class was generated from the following file: