#include <BoundaryToPolygonMapper.h>
Public Member Functions | |
BoundaryToPolygonMapper () | |
Default constructor. | |
BoundaryToPolygonMapper (const BoundaryToPolygonMapper &) | |
Copy constructor. | |
virtual void | Initialize () |
Initialize filter after input and parameters are set. | |
virtual BoundaryMapper * | NewCopy () const |
Create new copy of this instance. | |
BoundaryToPolygonMapper & | operator= (const BoundaryToPolygonMapper &) |
Assignment operator. | |
virtual | ~BoundaryToPolygonMapper () |
Destructor. | |
Public Member Functions inherited from mirtk::BoundarySegmentMapper | |
virtual void | Finalize () |
Finalize boundary map. | |
void | MapLargest () |
Process boundary segment with the most number of points. | |
void | MapLongest () |
Process longest boundary segment. | |
void | MapSegment (int n) |
virtual | ~BoundarySegmentMapper () |
Destructor. | |
Public Member Functions inherited from mirtk::BoundaryMapper | |
double | GetBoundaryValue (int i, int j=0) const |
double | GetSurfaceValue (int ptId, int j=0) const |
bool | HasBoundaryValue (int i) const |
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 | |
virtual void | MapBoundarySegment (int n, const Array< int > &indices, const Array< double > &tvalues, const Array< int > &selection) |
Protected Member Functions inherited from mirtk::BoundarySegmentMapper | |
BoundarySegmentMapper () | |
Default constructor. | |
BoundarySegmentMapper (const BoundarySegmentMapper &) | |
Copy constructor. | |
virtual void | ComputeMap () |
BoundarySegmentMapper & | operator= (const BoundarySegmentMapper &) |
Assignment operator. | |
Protected Member Functions inherited from mirtk::BoundaryMapper | |
BoundaryMapper () | |
Default constructor. | |
BoundaryMapper (const BoundaryMapper &) | |
Copy constructor. | |
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) |
Map corners of surface boundary to circumcircle of polygon and other points to the edges of the polygon
Definition at line 33 of file BoundaryToPolygonMapper.h.
|
protectedvirtual |
Map boundary segment
[in] | n | Index of boundary segment. |
[in] | indices | Indices of boundary points forming a closed line strip that discretizes the current surface boundary segment. |
[in] | tvalues | Curve parameter in [0, 1) for each boundary segment point, where the first point has value t=0 and the parameter value for consecutive points is proportional to the distance of the point from the first point along the boundary curve. |
[in] | selection | Indices in i and t arrays corresponding to selected boundary points. |
Implements mirtk::BoundarySegmentMapper.