Public Member Functions | Protected Member Functions | List of all members
mirtk::NearOptimalIntrinsicSurfaceMapper Class Referenceabstract

#include <NearOptimalIntrinsicSurfaceMapper.h>

Inheritance diagram for mirtk::NearOptimalIntrinsicSurfaceMapper:
Inheritance graph
Collaboration diagram for mirtk::NearOptimalIntrinsicSurfaceMapper:
Collaboration graph

Public Member Functions

virtual void ComputeMap ()
 Compute map values at interior points.
 
virtual ~NearOptimalIntrinsicSurfaceMapper ()
 Destructor.
 
- Public Member Functions inherited from mirtk::IntrinsicSurfaceMapper
 IntrinsicSurfaceMapper (double lambda=.5)
 
 IntrinsicSurfaceMapper (const IntrinsicSurfaceMapper &)
 Copy constructor.
 
IntrinsicSurfaceMapperoperator= (const IntrinsicSurfaceMapper &)
 Assignment operator.
 
virtual ~IntrinsicSurfaceMapper ()
 Destructor.
 
- Public Member Functions inherited from mirtk::NonSymmetricWeightsSurfaceMapper
 NonSymmetricWeightsSurfaceMapper ()
 Default constructor.
 
 NonSymmetricWeightsSurfaceMapper (const NonSymmetricWeightsSurfaceMapper &)
 Copy constructor.
 
NonSymmetricWeightsSurfaceMapperoperator= (const NonSymmetricWeightsSurfaceMapper &)
 Assignment operator.
 
virtual ~NonSymmetricWeightsSurfaceMapper ()
 Destructor.
 
- Public Member Functions inherited from mirtk::LinearFixedBoundarySurfaceMapper
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.
 
- Public Member Functions inherited from mirtk::FixedBoundarySurfaceMapper
virtual ~FixedBoundarySurfaceMapper ()
 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 double ComputeLambda (vtkDataArray *u0, vtkDataArray *u1) const =0
 
 NearOptimalIntrinsicSurfaceMapper ()
 Default constructor.
 
 NearOptimalIntrinsicSurfaceMapper (const NearOptimalIntrinsicSurfaceMapper &)
 Copy constructor.
 
NearOptimalIntrinsicSurfaceMapperoperator= (const NearOptimalIntrinsicSurfaceMapper &)
 Assignment operator.
 
double Scale (vtkPolyData *) const
 Determine scale of surface mesh.
 
double Scale (vtkDataArray *, vtkDataArray *=nullptr) const
 Determine scale of intrinsic parameterization.
 
- Protected Member Functions inherited from mirtk::IntrinsicSurfaceMapper
virtual double Weight (int i, int j) const
 
- Protected Member Functions inherited from mirtk::NonSymmetricWeightsSurfaceMapper
virtual void Weights (int i, const int *j, double *w, int d) const
 
- Protected Member Functions inherited from mirtk::LinearFixedBoundarySurfaceMapper
 LinearFixedBoundarySurfaceMapper ()
 Default constructor.
 
 LinearFixedBoundarySurfaceMapper (const LinearFixedBoundarySurfaceMapper &)
 Copy constructor.
 
LinearFixedBoundarySurfaceMapperoperator= (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)
 
- Protected Member Functions inherited from mirtk::FixedBoundarySurfaceMapper
 FixedBoundarySurfaceMapper ()
 Default constructor.
 
 FixedBoundarySurfaceMapper (const FixedBoundarySurfaceMapper &)
 Copy constructor.
 
int NumberOfComponents () const
 Number of boundary/surface map components.
 
FixedBoundarySurfaceMapperoperator= (const FixedBoundarySurfaceMapper &)
 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.
 
SurfaceMapperoperator= (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)
 

Detailed Description

Base class of filters that compute a near-optimal intrinsic surface map

Surface map filters of this type find the optimal affine combination weights of independently computed conformal and authalic surface maps with given fixed boundary values which minimize a certain non-linear distortion criterion.

Definition at line 42 of file NearOptimalIntrinsicSurfaceMapper.h.

Member Function Documentation

§ ComputeLambda()

virtual double mirtk::NearOptimalIntrinsicSurfaceMapper::ComputeLambda ( vtkDataArray *  u0,
vtkDataArray *  u1 
) const
protectedpure virtual

Compute affine combination weight that minimizes a given distortion measure

Parameters
[in]u0Discrete authalic surface map values, i.e., lambda=0.
[in]u1Discrete conformal surface map values, i.e., lambda=1.
Returns
Affine combination weight \(\lambda\), where final surface map values are computed as \(\lambda u1 + (1 - \lambda) * u0\).

Implemented in mirtk::IntrinsicLeastAreaDistortionSurfaceMapper, and mirtk::IntrinsicLeastEdgeLengthDistortionSurfaceMapper.


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