Public Member Functions | Protected Member Functions | List of all members
mirtk::RegistrationFilter Class Referenceabstract

#include <RegistrationFilter.h>

Inheritance diagram for mirtk::RegistrationFilter:
Inheritance graph
Collaboration diagram for mirtk::RegistrationFilter:
Collaboration graph

Public Member Functions

void Output (Transformation **)
 Set pointer to output transformation.
 
TransformationOutput ()
 Get output transformation.
 
virtual bool Read (const char *, bool=false)
 Read registration parameters from input stream.
 
virtual bool Read (istream &, bool=false)=0
 Read registration parameters from input stream.
 
virtual void Run ()=0
 Runs the registration filter.
 
virtual void Write (const char *) const =0
 Write registration parameters to file.
 
virtual ~RegistrationFilter ()=0
 Destructor.
 
- Public Member Functions inherited from mirtk::Observable
void AddObserver (Observer &)
 Add observer.
 
void Broadcast (Event, const void *=NULL)
 Broadcast event to observers.
 
void ClearObservers ()
 Delete all observers.
 
void DeleteObserver (Observer &)
 Delete observer.
 
void NotifyObservers (Event, const void *=NULL)
 Notify all observers about given event if this object has changed.
 
int NumberOfObservers () const
 Number of current observers.
 
virtual ~Observable ()
 Destructor.
 
- Public Member Functions inherited from mirtk::Object
virtual const char * NameOfClass () const =0
 Get name of class, which this object is an instance of.
 
virtual ParameterList Parameter () const
 Get parameter name/value pairs.
 
bool Parameter (const ParameterList &)
 Set parameters from name/value pairs.
 
virtual bool Set (const char *name, const char *value)
 
virtual ~Object ()
 Destructor.
 

Protected Member Functions

bool Output (Transformation *)
 Set current output transformation.
 
 RegistrationFilter ()
 Constructor.
 
- Protected Member Functions inherited from mirtk::Observable
 Observable ()
 Default constructor.
 
 Observable (const Observable &)
 Copy constructor.
 
Observableoperator= (const Observable &)
 Assignment operator.
 
- Protected Member Functions inherited from mirtk::Object
template<typename... Args>
void Throw (ErrorType err, const char *func, Args... args) const
 

Additional Inherited Members

- Static Public Member Functions inherited from mirtk::Object
static const char * NameOfType ()
 Get name of this class type.
 
- Static Protected Member Functions inherited from mirtk::Object
template<typename... Args>
static void ThrowStatic (ErrorType err, const char *cls, const char *func, Args... args)
 

Detailed Description

Base class for registration filters

MyRegistrationFilter registration;
Transformation *transformation = NULL;
registration.Input(...);
registration.Output(&transformation);
registration.Read(config_file);
registration.Run();

Definition at line 45 of file RegistrationFilter.h.


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