#include <SpectralConformalSurfaceMapper.h>
Public Member Functions | |
void | AddFixedPoint (int i, double u, double v) |
int | FixedPointId (int i) const |
int | FixedPointIndex (int i) const |
int | FreePointId (int i) const |
int | FreePointIndex (int i) const |
double | GetFixedValue (int i, int j=0) const |
double | GetFreeValue (int i, int j=0) const |
double | GetValue (int i, int j=0) const |
bool | IsFixedPoint (int i) const |
Whether the map value of the specified surface point is fixed. | |
bool | IsFreePoint (int i) const |
Whether the map value of the specified surface point is free. | |
int | NumberOfFixedPoints () const |
Number of surface points with fixed map value. | |
int | NumberOfFreePoints () const |
Number of surface points with free map value. | |
SpectralConformalSurfaceMapper & | operator= (const SpectralConformalSurfaceMapper &) |
Assignment operator. | |
SpectralConformalSurfaceMapper () | |
Default constructor. | |
SpectralConformalSurfaceMapper (const SpectralConformalSurfaceMapper &) | |
Copy constructor. | |
virtual | ~SpectralConformalSurfaceMapper () |
Destructor. | |
Public Member Functions inherited from mirtk::FreeBoundarySurfaceMapper | |
int | NumberOfComponents () const |
Dimension of map codomain. | |
virtual | ~FreeBoundarySurfaceMapper () |
Destructor. | |
Public Member Functions inherited from mirtk::SurfaceMapper | |
void | Run () |
Compute surface map. | |
virtual | ~SurfaceMapper () |
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 | ComputeMap () |
Compute surface map. | |
virtual void | Finalize () |
Finalize filter execution. | |
virtual void | Initialize () |
Initialize filter after input and parameters are set. | |
void | SetFreeValue (int i, double v) |
void | SetFreeValue (int i, int j, double v) |
void | SetValue (int i, double v) |
void | SetValue (int i, int j, double v) |
virtual double | Weight (int i, int j) const |
Protected Member Functions inherited from mirtk::FreeBoundarySurfaceMapper | |
FreeBoundarySurfaceMapper () | |
Default constructor. | |
FreeBoundarySurfaceMapper (const FreeBoundarySurfaceMapper &) | |
Copy constructor. | |
FreeBoundarySurfaceMapper & | operator= (const FreeBoundarySurfaceMapper &) |
Assignment operator. | |
Protected Member Functions inherited from mirtk::SurfaceMapper | |
int | GetEdgeNeighborPoints (int i, int j, int &k, int &l) const |
void | GetPoint (int ptId, double p[3]) const |
int | NumberOfInteriorPoints () const |
Number of surface points minus the number of boundary points. | |
int | NumberOfPoints () const |
Number of surface points. | |
SurfaceMapper & | operator= (const SurfaceMapper &) |
Assignment operator. | |
class Point | Point (int ptId) const |
SurfaceMapper () | |
Default constructor. | |
SurfaceMapper (const SurfaceMapper &) | |
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) |
Least squares conformal map without boundary constraints
Definition at line 43 of file SpectralConformalSurfaceMapper.h.
void mirtk::SpectralConformalSurfaceMapper::AddFixedPoint | ( | int | i, |
double | u, | ||
double | v | ||
) |
Add hard point constraint
[in] | i | Surface point index. |
[in] | u | First constraint value component. |
[in] | v | Second constraint value component. |
|
inline |
Get surface point ID of i-th point with fixed map value
[in] | i | Index of point in set of points with fixed map value. |
Definition at line 273 of file SpectralConformalSurfaceMapper.h.
|
inline |
Get index of i-th point with fixed map value or -1 if map value of point is free
[in] | i | Surface point index. |
Definition at line 266 of file SpectralConformalSurfaceMapper.h.
|
inline |
Get surface point ID of i-th point with free map value
[in] | i | Index of point in set of points with free map value. |
Definition at line 254 of file SpectralConformalSurfaceMapper.h.
|
inline |
Get index of i-th point with free map value or -1 if map value of point is fixed
[in] | i | Surface point index. |
Definition at line 247 of file SpectralConformalSurfaceMapper.h.
|
inline |
Get component of map value at i-th fixed point
[in] | i | Index of point in set of points with fixed map value. |
[in] | j | Map value component index. |
Definition at line 297 of file SpectralConformalSurfaceMapper.h.
|
inline |
Get component of map value at i-th free point
[in] | i | Index of point in set of points with free map value. |
[in] | j | Map value component index. |
Definition at line 291 of file SpectralConformalSurfaceMapper.h.
|
inline |
Get component of map value at surface vertex
[in] | i | Surface point index. |
[in] | j | Map value component index. |
Definition at line 285 of file SpectralConformalSurfaceMapper.h.
|
inlineprotected |
Set scalar map value at i-th free point
[in] | i | Index of point in set of points with free map value. |
[in] | v | Map value. |
Definition at line 315 of file SpectralConformalSurfaceMapper.h.
|
inlineprotected |
Set component of map value at i-th free point
[in] | i | Index of point in set of points with free map value. |
[in] | j | Map component index. |
[in] | v | Map component value. |
Definition at line 321 of file SpectralConformalSurfaceMapper.h.
|
inlineprotected |
Set scalar map value at surface vertex
[in] | i | Surface point index. |
[in] | v | Map value. |
Definition at line 303 of file SpectralConformalSurfaceMapper.h.
|
inlineprotected |
Set component of map value at surface vertex
[in] | i | Surface point index. |
[in] | j | Map component index. |
[in] | v | Map component value. |
Definition at line 309 of file SpectralConformalSurfaceMapper.h.
|
protectedvirtual |
Weight of undirected edge (i, j)
[in] | i | First end point. |
[in] | j | Second end point. |