#include <SurfaceMapper.h>
Public Member Functions | |
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 ()=0 |
Compute surface map. | |
virtual void | Finalize () |
Finalize filter execution. | |
int | GetEdgeNeighborPoints (int i, int j, int &k, int &l) const |
void | GetPoint (int ptId, double p[3]) const |
virtual void | Initialize () |
Initialize filter after input and parameters are set. | |
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) |
Base class of solvers for the computation of a surface map
Solvers of this type compute a map value for each point on the surface of the input mesh embedded in 3D Euclidean space. The properties of the output map depend on the boundary conditions and the specific solver used to compute the surface map. Examples of surface maps are the assignment of 2D texture coordinates and a bijective mapping of a surface mesh to a disk, square, or sphere, respectively.
Definition at line 49 of file SurfaceMapper.h.
|
protected |
Get IDs of surface points belong to the two triangles sharing an edge
[in] | i | Edge start point. |
[in] | j | Edge end point. |
[out] | k | Other point of first adjacent triangle. |
[out] | l | Other point of second adjacent triangle. When the edge is on the surface boundary and therefore has only as single adjacent triangle, -1 is returned. |
|
inlineprotected |
Get surface point coordinates
[in] | ptId | Surface point ID. |
[out] | p | Point coordinates. |
Definition at line 170 of file SurfaceMapper.h.
|
inlineprotected |
Get surface point coordinates
[in] | ptId | Surface point ID. |
Definition at line 176 of file SurfaceMapper.h.