SCIRun
5.0
|
#include <ApplyMappingMatrix.h>
Public Member Functions | |
ApplyMappingMatrixAlgo () | |
Algorithm defaults. More... | |
FieldHandle | run (FieldHandle &isrc, FieldHandle &idst, Datatypes::MatrixHandle &mapping) const |
Algorithm Functions. More... | |
virtual AlgorithmOutput | run_generic (const AlgorithmInput &) const |
![]() | |
virtual | ~AlgorithmBase () |
![]() | |
AlgorithmParameterList () | |
bool | set (const AlgorithmParameterName &key, const AlgorithmParameter::Value &value) |
const AlgorithmParameter & | get (const AlgorithmParameterName &key) const |
bool | set_option (const AlgorithmParameterName &key, const std::string &value) |
bool | get_option (const AlgorithmParameterName &key, std::string &value) const |
std::string | get_option (const AlgorithmParameterName &key) const |
bool | check_option (const AlgorithmParameterName &key, const std::string &value) const |
virtual bool | keyNotFoundPolicy (const AlgorithmParameterName &key) |
![]() | |
virtual | ~AlgorithmInterface () |
![]() | |
HasId () | |
IdType | id () const |
![]() | |
AlgorithmLogger () | |
~AlgorithmLogger () | |
void | setLogger (Core::Logging::LoggerHandle logger) |
virtual void | error (const std::string &error) const |
functions for the algorithm, so it can forward errors if needed More... | |
virtual void | warning (const std::string &warning) const |
virtual void | remark (const std::string &remark) const |
virtual void | status (const std::string &status) const |
![]() | |
virtual | ~LegacyLoggerInterface () |
![]() | |
AlgorithmStatusReporter () | |
~AlgorithmStatusReporter () | |
virtual void | report_start (const std::string &tag) const |
virtual void | report_end () const |
virtual void | update_progress (double percent) const |
void | setUpdaterFunc (UpdaterFunc func) |
UpdaterFunc | getUpdaterFunc () const |
![]() | |
virtual | ~ProgressReporter () |
template<typename T1 , typename T2 > | |
void | update_progress_max (T1 current, T2 max) const |
Static Public Attributes | |
static AlgorithmInputName | Source |
static AlgorithmInputName | Destination |
static AlgorithmInputName | Mapping |
static AlgorithmOutputName | Output |
Additional Inherited Members | |
![]() | |
typedef IdType | id_type |
![]() | |
typedef boost::function< void(double)> | UpdaterFunc |
![]() | |
void | dumpAlgoState () const |
void | addParameter (const AlgorithmParameterName &key, const AlgorithmParameter::Value &defaultValue) |
void | add_option (const AlgorithmParameterName &key, const std::string &defval, const std::string &options) |
Algorithm defaults.
Actual Algorithm class.
FieldHandle run | ( | FieldHandle & | isrc, |
FieldHandle & | idst, | ||
Datatypes::MatrixHandle & | mapping | ||
) | const |
Algorithm Functions.
safety check
safety check
Get information about field types
do nothing
Create output field
Simple table to deal with the various data type formats Note that not every data type is handled, all char, shorts etc, are automatically handled by the int, and unsigned int case, by casting the data on input (these should be the less frequently used datatypes and hence have no specific algorithm in place). Similarly floats are casted to doubles.
|
virtual |
Implements AlgorithmInterface.
|
static |
|
static |
|
static |
|
static |