Public Member Functions | Protected Member Functions | List of all members
mirtk::AsConformalAsPossibleMapper Class Reference

#include <AsConformalAsPossibleMapper.h>

Inheritance diagram for mirtk::AsConformalAsPossibleMapper:
Inheritance graph
Collaboration diagram for mirtk::AsConformalAsPossibleMapper:
Collaboration graph

Public Member Functions

 AsConformalAsPossibleMapper ()
 Default constructor.
 
 AsConformalAsPossibleMapper (const AsConformalAsPossibleMapper &)
 Copy constructor.
 
AsConformalAsPossibleMapperoperator= (const AsConformalAsPossibleMapper &)
 Assignment operator.
 
virtual ~AsConformalAsPossibleMapper ()
 Destructor.
 
- Public Member Functions inherited from mirtk::LinearTetrahedralMeshMapper
virtual ~LinearTetrahedralMeshMapper ()
 Destructor.
 
- Public Member Functions inherited from mirtk::TetrahedralMeshMapper
bool IsBoundaryPoint (vtkIdType) const
 Whether a given point is on the boundary.
 
virtual ~TetrahedralMeshMapper ()
 Destructor.
 
- Public Member Functions inherited from mirtk::VolumeMapper
int NumberOfComponents () const
 Dimension of codomain of volumetric map.
 
void Run ()
 Parameterize interior of input data set.
 
virtual ~VolumeMapper ()
 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

void Finalize ()
 Finalize filter execution.
 
virtual Matrix3x3 GetWeight (vtkIdType cellId, const double v0[3], const double v1[3], const double v2[3], const double v3[3], double volume) const
 
void Initialize ()
 Initialize filter after input and parameters are set.
 
- Protected Member Functions inherited from mirtk::LinearTetrahedralMeshMapper
 LinearTetrahedralMeshMapper ()
 Default constructor.
 
 LinearTetrahedralMeshMapper (const LinearTetrahedralMeshMapper &)
 Copy constructor.
 
LinearTetrahedralMeshMapperoperator= (const LinearTetrahedralMeshMapper &)
 Assignment operator.
 
virtual void Solve ()
 Parameterize interior points.
 
void Solve (const LinearTetrahedralMeshMapper *)
 Solve linear system with operator weights computed using the passed object.
 
- Protected Member Functions inherited from mirtk::TetrahedralMeshMapper
void CopyAttributes (const TetrahedralMeshMapper &)
 Copy attributes of this class from another instance.
 
 mirtkPublicAttributeMacro (vtkSmartPointer< vtkDataArray >, InputMask)
 Boolean array indicating which points are on the boundary, i.e., fixed.
 
 mirtkReadOnlyAttributeMacro (vtkSmartPointer< vtkPointSet >, Volume)
 Discretized input domain, i.e., tetrahedral mesh.
 
 mirtkReadOnlyAttributeMacro (vtkSmartPointer< vtkDataArray >, Coords)
 Output coordinates of volume mesh points.
 
 mirtkReadOnlyAttributeMacro (vtkSmartPointer< vtkDataArray >, BoundaryMask)
 Boolean array indicating which points are on the boundary, i.e., fixed.
 
 mirtkReadOnlyAttributeMacro (int, NumberOfPoints)
 Number of points.
 
 mirtkReadOnlyAttributeMacro (int, NumberOfBoundaryPoints)
 Number of boundary points.
 
 mirtkReadOnlyAttributeMacro (int, NumberOfInteriorPoints)
 Number of interior points.
 
TetrahedralMeshMapperoperator= (const TetrahedralMeshMapper &)
 Assignment operator.
 
 TetrahedralMeshMapper ()
 Default constructor.
 
 TetrahedralMeshMapper (const TetrahedralMeshMapper &)
 Copy constructor.
 
- Protected Member Functions inherited from mirtk::VolumeMapper
virtual void InitializeBoundary (vtkPointSet *, vtkDataArray *)
 Initialize boundary surface with corresponding boundary map as point data.
 
VolumeMapperoperator= (const VolumeMapper &)
 Assignment operator.
 
 VolumeMapper ()
 Default constructor.
 
 VolumeMapper (const VolumeMapper &)
 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

Compute as-conformal-as-possible (ACAP) piecewise linear volumetric map

Paillé & Poulin (2012), As-conformal-as-possible discrete volumetric mapping, Computers and Graphics, 36(5), 427–433.

Definition at line 38 of file AsConformalAsPossibleMapper.h.

Member Function Documentation

§ GetWeight()

virtual Matrix3x3 mirtk::AsConformalAsPossibleMapper::GetWeight ( vtkIdType  cellId,
const double  v0[3],
const double  v1[3],
const double  v2[3],
const double  v3[3],
double  volume 
) const
protectedvirtual

Calculate operator weight for given tetrahadron

Parameters
[in]cellIdID of tetrahedron.
[in]v0First vertex/point of tetrahedron.
[in]v1Second vertex/point of tetrahedron.
[in]v2Third vertex/point of tetrahedron.
[in]v3Fourth vertex/point of tetrahedron.
[in]volumeVolume of tetrahedron.
Returns
Operator weight contribution of tetrahedron.

Implements mirtk::LinearTetrahedralMeshMapper.


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