Public Member Functions | Static Public Member Functions | List of all members
mirtk::MeshlessHarmonicMap Class Reference

#include <MeshlessHarmonicMap.h>

Inheritance diagram for mirtk::MeshlessHarmonicMap:
Inheritance graph
Collaboration diagram for mirtk::MeshlessHarmonicMap:
Collaboration graph

Public Member Functions

virtual bool Evaluate (double *v, double x, double y, double z=.0) const
 
virtual double Evaluate (double x, double y, double z=.0, int l=0) const
 
 MeshlessHarmonicMap ()
 Default constructor.
 
 MeshlessHarmonicMap (const MeshlessHarmonicMap &)
 Copy constructor.
 
virtual MappingNewCopy () const
 Make deep copy of this volumetric map.
 
MeshlessHarmonicMapoperator= (const MeshlessHarmonicMap &)
 Assignment operator.
 
virtual ~MeshlessHarmonicMap ()
 Destructor.
 
- Public Member Functions inherited from mirtk::MeshlessMap
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
 
bool Evaluate (double *v, const double p[3]) const
 
bool Evaluate (double *v, const Point &p) 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 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.
 

Static Public Member Functions

static double H (double d)
 
- Static Public Member Functions inherited from mirtk::Mapping
static MappingNew (const char *)
 Read mapping from file.
 
- Static Public Member Functions inherited from mirtk::Object
static const char * NameOfType ()
 Get name of this class type.
 

Additional Inherited Members

- Protected Member Functions inherited from mirtk::MeshlessMap
virtual void Initialize ()
 Initialize map after inputs and parameters are set.
 
 MeshlessMap ()
 Default constructor.
 
 MeshlessMap (const MeshlessMap &)
 Copy constructor.
 
MeshlessMapoperator= (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.
 
Mappingoperator= (const Mapping &)
 Assignment operator.
 
- Protected Member Functions inherited from mirtk::Object
template<typename... Args>
void Throw (ErrorType err, const char *func, Args... args) const
 
- 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

Harmonic map computed with the method of fundamental solutions (MFS)

Li et al. (2009). Meshless harmonic volumetric mapping using fundamental solution methods. IEEE Transactions on Automation Science and Engineering, 6(3), 409–422.

Definition at line 39 of file MeshlessHarmonicMap.h.

Member Function Documentation

§ Evaluate() [1/2]

virtual bool mirtk::MeshlessHarmonicMap::Evaluate ( double *  v,
double  x,
double  y,
double  z = .0 
) const
virtual

Evaluate map at a given point

Parameters
[out]vMap value.
[in]xCoordinate of point along x axis at which to evaluate map.
[in]yCoordinate of point along y axis at which to evaluate map.
[in]zCoordinate of point along z axis at which to evaluate map.
Returns
Whether input point is inside map domain.

Implements mirtk::Mapping.

Reimplemented in mirtk::MeshlessBiharmonicMap.

§ Evaluate() [2/2]

virtual double mirtk::MeshlessHarmonicMap::Evaluate ( double  x,
double  y,
double  z = .0,
int  l = 0 
) const
virtual

Evaluate map at a given point

Parameters
[in]xCoordinate of point along x axis at which to evaluate map.
[in]yCoordinate of point along y axis at which to evaluate map.
[in]zCoordinate of point along z axis at which to evaluate map.
[in]lIndex of map value component.
Returns
The l-th component of the map value evaluated at the given point or the OutsideValue when input point is outside the map domain.

Reimplemented from mirtk::Mapping.

Reimplemented in mirtk::MeshlessBiharmonicMap.

§ H()

double mirtk::MeshlessHarmonicMap::H ( double  d)
inlinestatic

Harmonic kernel function

Parameters
[in]dDistance of point to source point.
Returns
Harmonic kernel function value.

Definition at line 107 of file MeshlessHarmonicMap.h.


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