#include <BoundaryMapper.h>
Public Member Functions | |
double | GetBoundaryValue (int i, int j=0) const |
double | GetSurfaceValue (int ptId, int j=0) const |
bool | HasBoundaryValue (int i) const |
virtual BoundaryMapper * | NewCopy () const =0 |
Create new copy of this instance. | |
virtual int | NumberOfComponents () const |
Number of map value components. | |
virtual void | Run () |
Compute boundary map values. | |
virtual | ~BoundaryMapper () |
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 | |
BoundaryMapper () | |
Default constructor. | |
BoundaryMapper (const BoundaryMapper &) | |
Copy constructor. | |
virtual void | ComputeMap ()=0 |
Assign map values to boundary points of surface mesh. | |
virtual void | Finalize () |
Finalize boundary map. | |
virtual void | Initialize () |
Initialize filter after input and parameters are set. | |
BoundaryMapper & | operator= (const BoundaryMapper &) |
Assignment operator. | |
void | SetBoundaryValue (int i, double v) |
void | SetBoundaryValue (int i, int j, double v) |
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 filters which assign map values to surface boundary points
Filters of this type take a piecewice linear surface boundary segments extracted from a surface mesh as input and compute a map value for each point on the surface boundary. Such piecewise linear boundary map can be used as fixed boundary condition for a surface map.
Definition at line 44 of file BoundaryMapper.h.
|
inline |
Get map value at boundary point
[in] | i | Boundary point index. |
[in] | j | Index of map value component. |
Definition at line 182 of file BoundaryMapper.h.
|
inline |
Get map value at surface point
[in] | ptId | Surface point index. |
[in] | j | Index of map value component. |
Definition at line 188 of file BoundaryMapper.h.
|
inline |
Whether a given boundary point has a mapped value
[in] | i | Boundary point index. |
Definition at line 159 of file BoundaryMapper.h.
|
inlineprotected |
Set map value at boundary point
[in] | i | Boundary point index. |
[in] | v | Value of j-th map component. |
Definition at line 176 of file BoundaryMapper.h.
|
inlineprotected |
Set map value at boundary point
[in] | i | Boundary point index. |
[in] | j | Index of map value component. |
[in] | v | Value of j-th map component. |
Definition at line 170 of file BoundaryMapper.h.