#include <ShapePreservingSurfaceMapper.h>
Public Member Functions | |
ShapePreservingSurfaceMapper & | operator= (const ShapePreservingSurfaceMapper &) |
Assignment operator. | |
ShapePreservingSurfaceMapper () | |
Default constructor. | |
ShapePreservingSurfaceMapper (const ShapePreservingSurfaceMapper &) | |
Copy constructor. | |
virtual | ~ShapePreservingSurfaceMapper () |
Destructor. | |
![]() | |
virtual void | ComputeMap () |
Construct and solve (non-symmetric) system of linear equations. | |
NonSymmetricWeightsSurfaceMapper () | |
Default constructor. | |
NonSymmetricWeightsSurfaceMapper (const NonSymmetricWeightsSurfaceMapper &) | |
Copy constructor. | |
NonSymmetricWeightsSurfaceMapper & | operator= (const NonSymmetricWeightsSurfaceMapper &) |
Assignment operator. | |
virtual | ~NonSymmetricWeightsSurfaceMapper () |
Destructor. | |
![]() | |
virtual void | Finalize () |
Assemble output surface map. | |
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 |
virtual void | Initialize () |
Initialize filter after input and parameters are set. | |
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. | |
virtual | ~LinearFixedBoundarySurfaceMapper () |
Destructor. | |
![]() | |
virtual | ~FixedBoundarySurfaceMapper () |
Destructor. | |
![]() | |
void | Run () |
Compute surface map. | |
virtual | ~SurfaceMapper () |
Destructor. | |
![]() | |
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 | Weights (int i, const int *j, double *w, int d) const |
![]() | |
virtual double | Weight (int i, int j) const |
![]() | |
LinearFixedBoundarySurfaceMapper () | |
Default constructor. | |
LinearFixedBoundarySurfaceMapper (const LinearFixedBoundarySurfaceMapper &) | |
Copy constructor. | |
LinearFixedBoundarySurfaceMapper & | operator= (const LinearFixedBoundarySurfaceMapper &) |
Assignment operator. | |
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) |
![]() | |
FixedBoundarySurfaceMapper () | |
Default constructor. | |
FixedBoundarySurfaceMapper (const FixedBoundarySurfaceMapper &) | |
Copy constructor. | |
int | NumberOfComponents () const |
Number of boundary/surface map components. | |
FixedBoundarySurfaceMapper & | operator= (const FixedBoundarySurfaceMapper &) |
Assignment operator. | |
![]() | |
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. | |
![]() | |
template<typename... Args> | |
void | Throw (ErrorType err, const char *func, Args... args) const |
Additional Inherited Members | |
![]() | |
static const char * | NameOfType () |
Get name of this class type. | |
![]() | |
template<typename... Args> | |
static void | ThrowStatic (ErrorType err, const char *cls, const char *func, Args... args) |
Linear surface mapper with Floater's shape preserving convex combination weights
The shape preserving convex combination weights are the average Barycentric coordinates of overlapping triangles containing the respective center node, where the Barycentric coordinates are the unique coordinates which satisfy the convex combination interpolation criteria for the case where the center node is adjacent to exactly three nodes.
Definition at line 42 of file ShapePreservingSurfaceMapper.h.
|
protectedvirtual |
Weights of edges adjacent to node i
[in] | i | Index of central node. |
[in] | j | Indices of adjacent nodes. |
[out] | w | Weights of d_i edges (i, j). |
[in] | d | Number of adjacent nodes, i.e., node degree. |
Reimplemented from mirtk::NonSymmetricWeightsSurfaceMapper.