#include <MeshlessMap.h>
Public Member Functions | |
bool | AddSourcePoint (double p[3], double tol=.0) |
virtual void | BoundingBox (double &x1, double &y1, double &z1, double &x2, double &y2, double &z2) const |
virtual int | NumberOfComponents () const |
Dimension of codomain, i.e., number of output values. | |
int | NumberOfSourcePoints () const |
Get number of source points. | |
virtual | ~MeshlessMap () |
Destructor. | |
Public Member Functions inherited from mirtk::Mapping | |
ImageAttributes | Attributes (int nx, int ny=0, int nz=0) const |
ImageAttributes | Attributes (double dx=.0, double dy=.0, double dz=.0) const |
void | BoundingBox (double &x1, double &y1, double &x2, double &y2) const |
void | BoundingBox (double bounds[6]) const |
void | BoundingBox (Point &p1, Point &p2) const |
virtual bool | Evaluate (double *v, double x, double y, double z=0) const =0 |
bool | Evaluate (double *v, const double p[3]) const |
bool | Evaluate (double *v, const Point &p) const |
virtual double | Evaluate (double x, double y, double z=0, int l=0) const |
double | Evaluate (const double p[3], int l=0) const |
double | Evaluate (const Point &, int l=0) const |
virtual void | Evaluate (GenericImage< float > &f, int l=0, vtkSmartPointer< vtkPointSet > m=nullptr) const |
virtual void | Evaluate (GenericImage< double > &f, int l=0, vtkSmartPointer< vtkPointSet > m=nullptr) const |
virtual Mapping * | NewCopy () const =0 |
Make deep copy of this map. | |
virtual int | NumberOfArguments () const |
Dimension of map domain. | |
virtual bool | Read (const char *) |
Read map from file. | |
virtual bool | Write (const char *) const |
Write map to file. | |
virtual | ~Mapping () |
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 | |
virtual void | Initialize () |
Initialize map after inputs and parameters are set. | |
MeshlessMap () | |
Default constructor. | |
MeshlessMap (const MeshlessMap &) | |
Copy constructor. | |
MeshlessMap & | operator= (const MeshlessMap &) |
Assignment operator. | |
virtual void | ReadMap (Cifstream &) |
Read map attributes and parameters from file stream. | |
virtual void | WriteMap (Cofstream &) const |
Write map attributes and parameters to file stream. | |
Protected Member Functions inherited from mirtk::Mapping | |
Mapping () | |
Default constructor. | |
Mapping (const Mapping &) | |
Copy constructor. | |
Mapping & | operator= (const Mapping &) |
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::Mapping | |
static Mapping * | New (const char *) |
Read mapping from file. | |
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) |
Meshless map defined as superposition of kernel functions
Definition at line 41 of file MeshlessMap.h.
|
inline |
Add source point with zero coefficient
Definition at line 135 of file MeshlessMap.h.
|
virtual |
Get minimum axes-aligned bounding box of map domain
[out] | x1 | Lower bound of map domain along x axis. |
[out] | y1 | Lower bound of map domain along y axis. |
[out] | z1 | Lower bound of map domain along z axis. |
[out] | x2 | Upper bound of map domain along x axis. |
[out] | y2 | Upper bound of map domain along y axis. |
[out] | z2 | Upper bound of map domain along z axis. |
Implements mirtk::Mapping.