STIR  6.2.0
Public Types | Public Member Functions | List of all members
stir::ObjectTransformation< num_dimensions, elemT > Class Template Referenceabstract

Base-class for performing (potentially non-rigid) object transformations. More...

#include "stir_experimental/motion/ObjectTransformation.h"

Inheritance diagram for stir::ObjectTransformation< num_dimensions, elemT >:
Inheritance graph
[legend]

Public Types

typedef ObjectTransformation hierarchy_base_type
 typedef used by read_from_file
 

Public Member Functions

virtual BasicCoordinate< num_dimensions, elemT > transform_point (const BasicCoordinate< num_dimensions, elemT > &point) const =0
 Transform point.
 
virtual float jacobian (const BasicCoordinate< num_dimensions, elemT > &point) const =0
 Returns the determinant of the Jacobian matrix. More...
 
- Public Member Functions inherited from stir::RegisteredObjectBase
virtual std::string get_registered_name () const =0
 Returns the name of the type of the object. More...
 
- Public Member Functions inherited from stir::ParsingObject
 ParsingObject (const ParsingObject &)
 
ParsingObjectoperator= (const ParsingObject &)
 
void ask_parameters ()
 
virtual std::string parameter_info ()
 
bool parse (std::istream &f)
 
bool parse (const char *const filename)
 

Additional Inherited Members

- Static Public Member Functions inherited from stir::RegisteredObject< ObjectTransformation< num_dimensions, elemT > >
static ObjectTransformation< num_dimensions, elemT > * read_registered_object (std::istream *in, const std::string &registered_name)
 Construct a new object (of a type derived from Root, its actual type determined by the registered_name parameter) by parsing the istream. More...
 
static ObjectTransformation< num_dimensions, elemT > * ask_type_and_parameters ()
 ask the user for the type, and then calls read_registered_object(0, type) More...
 
static void list_registered_names (std::ostream &stream)
 List all possible registered names to the stream. More...
 
- Protected Types inherited from stir::RegisteredObject< ObjectTransformation< num_dimensions, elemT > >
typedef ObjectTransformation< num_dimensions, elemT > *(* RootFactory) (std::istream *)
 The type of a root factory is a function, taking an istream* as argument, and returning a Root*.
 
typedef FactoryRegistry< std::string, RootFactory, interfile_lessRegistryType
 The type of the registry.
 
- Protected Member Functions inherited from stir::ParsingObject
virtual void set_defaults ()
 Set defaults before parsing.
 
virtual void initialise_keymap ()
 Initialise all keywords.
 
virtual bool post_processing ()
 This will be called at the end of the parsing. More...
 
virtual void set_key_values ()
 This will be called before parsing or parameter_info is called. More...
 
- Static Protected Member Functions inherited from stir::RegisteredObject< ObjectTransformation< num_dimensions, elemT > >
static RegistryTyperegistry ()
 Static function returning the registry. More...
 
- Protected Attributes inherited from stir::ParsingObject
KeyParser parser
 

Detailed Description

template<int num_dimensions, class elemT>
class stir::ObjectTransformation< num_dimensions, elemT >

Base-class for performing (potentially non-rigid) object transformations.

Member Function Documentation

◆ jacobian()

template<int num_dimensions, class elemT>
virtual float stir::ObjectTransformation< num_dimensions, elemT >::jacobian ( const BasicCoordinate< num_dimensions, elemT > &  point) const
pure virtual

Returns the determinant of the Jacobian matrix.

This is related to the volume-element change due to the transformation.

Implemented in stir::NonRigidObjectTransformationUsingBSplines< num_dimensions, elemT >.


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