Public Member Functions | Protected Member Functions | List of all members
mirtk::MeshlessHarmonicVolumeMapper Class Reference

#include <MeshlessHarmonicVolumeMapper.h>

Inheritance diagram for mirtk::MeshlessHarmonicVolumeMapper:
Inheritance graph
Collaboration diagram for mirtk::MeshlessHarmonicVolumeMapper:
Collaboration graph

Public Member Functions

 MeshlessHarmonicVolumeMapper ()
 Default constructor.
 
 MeshlessHarmonicVolumeMapper (const MeshlessHarmonicVolumeMapper &)
 Copy constructor.
 
MeshlessHarmonicVolumeMapperoperator= (const MeshlessHarmonicVolumeMapper &)
 Assignment operator.
 
virtual ~MeshlessHarmonicVolumeMapper ()
 Destructor.
 
- Public Member Functions inherited from mirtk::MeshlessVolumeMapper
virtual ~MeshlessVolumeMapper ()
 Destructor.
 
- Public Member Functions inherited from mirtk::VolumeMapper
int NumberOfComponents () const
 Dimension of codomain of volumetric map.
 
void Run ()
 Parameterize interior of input data set.
 
virtual ~VolumeMapper ()
 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 bool AddSourcePoint (double q[3])
 
virtual void AddWeights (int k, const Matrix &w)
 
virtual void GetCoefficients (int k, Matrix &coeff) const
 
virtual void GetConstraints (int k, Matrix &b) const
 
virtual void Initialize ()
 Initialize filter after input and parameters are set.
 
virtual void Solve ()
 Compute meshless map coefficients.
 
- Protected Member Functions inherited from mirtk::MeshlessVolumeMapper
void CopyAttributes (const MeshlessVolumeMapper &)
 Copy attributes of this class from another instance.
 
void GetClosestPointOnOffsetSurface (double x[3], double p[3])
 
virtual void InitializeResidualMap ()
 Initialize residual boundary map.
 
 MeshlessVolumeMapper ()
 Default constructor.
 
 MeshlessVolumeMapper (const MeshlessVolumeMapper &)
 Copy constructor.
 
int NumberOfBoundaryPoints () const
 Get total number of boundary / constraints points.
 
int NumberOfSourcePoints () const
 Get total number of source / singularity points.
 
int NumberOfSourcePoints (int) const
 Get number of source points in k-th subset.
 
int NumberOfSourcePointSets () const
 Get number of source points subsets.
 
MeshlessVolumeMapperoperator= (const MeshlessVolumeMapper &)
 Assignment operator.
 
virtual void PartitionSourcePoints ()
 Evenly partition source points into smaller subsets.
 
virtual void PlaceBoundaryPoints ()
 Sample boundary points from input surface.
 
virtual void PlaceSourcePoints ()
 Compute and sample offset surface for placement of source points.
 
int SourcePointIndex (int k, int i) const
 Get index of i-th point of k-th source points subset.
 
virtual void UpdateBoundary (vtkPolyData *)
 Update boundary surface with corresponding boundary map as point data.
 
virtual double UpdateResidualMap (double *=nullptr, double *=nullptr, double *=nullptr)
 
- Protected Member Functions inherited from mirtk::VolumeMapper
virtual void Finalize ()
 Finalize filter execution.
 
virtual void InitializeBoundary (vtkPointSet *, vtkDataArray *)
 Initialize boundary surface with corresponding boundary map as point data.
 
VolumeMapperoperator= (const VolumeMapper &)
 Assignment operator.
 
 VolumeMapper ()
 Default constructor.
 
 VolumeMapper (const VolumeMapper &)
 Copy constructor.
 
- 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

Harmonic volumetric map using the method of fundamental solutions (MFS)

This class finds a harmonic volumetric map which maps each point of the input volume to a point in the target domain using the method of fundamental solutions (MFS).

Definition at line 43 of file MeshlessHarmonicVolumeMapper.h.

Member Function Documentation

§ AddSourcePoint()

virtual bool mirtk::MeshlessHarmonicVolumeMapper::AddSourcePoint ( double  q[3])
protectedvirtual

Add source point after filter initialization

Parameters
[in]qSource point coordinates.
Returns
Whether source point was added or too close to existing point.

Reimplemented from mirtk::MeshlessVolumeMapper.

§ AddWeights()

virtual void mirtk::MeshlessHarmonicVolumeMapper::AddWeights ( int  k,
const Matrix w 
)
protectedvirtual

Add solution of linear system to weights of volumetric map

Parameters
[in]kIndex of source points subset.
[in]wSolution of linear system.

Implements mirtk::MeshlessVolumeMapper.

§ GetCoefficients()

virtual void mirtk::MeshlessHarmonicVolumeMapper::GetCoefficients ( int  k,
Matrix coeff 
) const
protectedvirtual

Get coefficients matrix corresponding to the least squares fitting term(s) of the quadratic energy function at constraints points

Parameters
[in]kIndex of source points subset.
[out]coeffCoefficients matrix.

Implements mirtk::MeshlessVolumeMapper.

§ GetConstraints()

virtual void mirtk::MeshlessHarmonicVolumeMapper::GetConstraints ( int  k,
Matrix b 
) const
protectedvirtual

Get right-hand side of linear system

Parameters
[in]kIndex of source points subset.
[out]bRight-hand side of linear system.

Implements mirtk::MeshlessVolumeMapper.


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