|
VMTK
|
Construct a harmonic function over each vascular surface segment used during mapping order to stretch the longitudinal metric to correctly account for the presence of insertion regions at bifurcations. More...
#include <vtkvmtkPolyDataHarmonicMappingFilter.h>
Public Types | |
| enum | { VTK_VMTK_ASSEMBLY_STENCILS , VTK_VMTK_ASSEMBLY_FINITEELEMENTS } |
| typedef vtkPolyDataAlgorithm | Superclass |
Public Member Functions | |
| virtual int | IsA (const char *type) |
| vtkvmtkPolyDataHarmonicMappingFilter * | NewInstance () const |
| virtual void | SetBoundaryPointIds (vtkIdList *) |
| virtual vtkIdList * | GetBoundaryPointIds () |
| virtual void | SetBoundaryValues (vtkDoubleArray *) |
| virtual vtkDoubleArray * | GetBoundaryValues () |
| virtual void | SetHarmonicMappingArrayName (const char *) |
| virtual char * | GetHarmonicMappingArrayName () |
| virtual void | SetConvergenceTolerance (double) |
| virtual double | GetConvergenceTolerance () |
| virtual void | SetAssemblyMode (int) |
| virtual int | GetAssemblyMode () |
| void | SetAssemblyModeToStencils () |
| void | SetAssemblyModeToFiniteElements () |
| virtual void | SetQuadratureOrder (int) |
| virtual int | GetQuadratureOrder () |
Static Public Member Functions | |
| static vtkvmtkPolyDataHarmonicMappingFilter * | New () |
| static int | IsTypeOf (const char *type) |
| static vtkvmtkPolyDataHarmonicMappingFilter * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
| virtual vtkObjectBase * | NewInstanceInternal () const |
| vtkvmtkPolyDataHarmonicMappingFilter () | |
| ~vtkvmtkPolyDataHarmonicMappingFilter () | |
| virtual int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) override |
Protected Attributes | |
| vtkIdList * | BoundaryPointIds |
| vtkDoubleArray * | BoundaryValues |
| char * | HarmonicMappingArrayName |
| double | ConvergenceTolerance |
| int | AssemblyMode |
| int | QuadratureOrder |
Construct a harmonic function over each vascular surface segment used during mapping order to stretch the longitudinal metric to correctly account for the presence of insertion regions at bifurcations.
vtkvmtkPolyDataHarmonicMappingFilter solves a discrete Laplace (harmonic) boundary value problem on the input surface: the linear system (either assembled with stencils, via vtkvmtkStencils using the finite-element Laplace-Beltrami stencil, or with true piecewise-linear finite elements, via vtkvmtkPolyDataFELaplaceAssembler, according to AssemblyMode) is subjected to Dirichlet boundary conditions (vtkvmtkDirichletBoundaryConditions) that pin the points listed in BoundaryPointIds to the corresponding values in BoundaryValues, then solved with vtkvmtkOpenNLLinearSystemSolver (conjugate gradient, tolerance ConvergenceTolerance). The resulting harmonic scalar field is written to the output as a point data array named HarmonicMappingArrayName. This is the core computation behind vtkvmtkPolyDataCylinderHarmonicMappingFilter, and more generally is used to build smooth surface parameterizations (e.g. longitudinal position along a vessel segment) that remain well behaved near non-planar boundaries such as bifurcation insertion regions.
Definition at line 47 of file vtkvmtkPolyDataHarmonicMappingFilter.h.
| typedef vtkPolyDataAlgorithm vtkvmtkPolyDataHarmonicMappingFilter::Superclass |
Definition at line 51 of file vtkvmtkPolyDataHarmonicMappingFilter.h.
| anonymous enum |
| Enumerator | |
|---|---|
| VTK_VMTK_ASSEMBLY_STENCILS | |
| VTK_VMTK_ASSEMBLY_FINITEELEMENTS | |
Definition at line 117 of file vtkvmtkPolyDataHarmonicMappingFilter.h.
|
protected |
Definition at line 42 of file vtkvmtkPolyDataHarmonicMappingFilter.cxx.
|
protected |
Definition at line 53 of file vtkvmtkPolyDataHarmonicMappingFilter.cxx.
|
static |
|
static |
|
virtual |
Reimplemented in vtkvmtkPolyDataCylinderHarmonicMappingFilter.
|
static |
|
protectedvirtual |
Reimplemented in vtkvmtkPolyDataCylinderHarmonicMappingFilter.
| vtkvmtkPolyDataHarmonicMappingFilter * vtkvmtkPolyDataHarmonicMappingFilter::NewInstance | ( | ) | const |
|
virtual |
Set/get the ids, into the input poly data, of the points on which a Dirichlet boundary condition is imposed (the corresponding values are taken from BoundaryValues, matched by index). Must be set, together with BoundaryValues, before Update() is called.
|
virtual |
Set/get the ids, into the input poly data, of the points on which a Dirichlet boundary condition is imposed (the corresponding values are taken from BoundaryValues, matched by index). Must be set, together with BoundaryValues, before Update() is called.
|
virtual |
Set/get the harmonic function value imposed at each point listed in BoundaryPointIds (matched by index). Must be set, together with BoundaryPointIds, before Update() is called.
|
virtual |
Set/get the harmonic function value imposed at each point listed in BoundaryPointIds (matched by index). Must be set, together with BoundaryPointIds, before Update() is called.
|
virtual |
Set/get the name of the point data array where the computed harmonic scalar field is stored on the output. Must be set before Update() is called. Commonly named "HarmonicMapping".
|
virtual |
Set/get the name of the point data array where the computed harmonic scalar field is stored on the output. Must be set before Update() is called. Commonly named "HarmonicMapping".
|
virtual |
Set/get the convergence tolerance of the iterative linear solver (see vtkvmtkOpenNLLinearSystemSolver) used to solve the harmonic problem. Default: 1E-6.
|
virtual |
Set/get the convergence tolerance of the iterative linear solver (see vtkvmtkOpenNLLinearSystemSolver) used to solve the harmonic problem. Default: 1E-6.
|
virtual |
Set/get how the discrete Laplace system is assembled: VTK_VMTK_ASSEMBLY_STENCILS uses the finite-element Laplace-Beltrami stencil (via vtkvmtkStencils); VTK_VMTK_ASSEMBLY_FINITEELEMENTS (the default) uses true piecewise-linear finite elements (via vtkvmtkPolyDataFELaplaceAssembler, with quadrature order QuadratureOrder).
|
virtual |
Set/get how the discrete Laplace system is assembled: VTK_VMTK_ASSEMBLY_STENCILS uses the finite-element Laplace-Beltrami stencil (via vtkvmtkStencils); VTK_VMTK_ASSEMBLY_FINITEELEMENTS (the default) uses true piecewise-linear finite elements (via vtkvmtkPolyDataFELaplaceAssembler, with quadrature order QuadratureOrder).
|
inline |
Set/get how the discrete Laplace system is assembled: VTK_VMTK_ASSEMBLY_STENCILS uses the finite-element Laplace-Beltrami stencil (via vtkvmtkStencils); VTK_VMTK_ASSEMBLY_FINITEELEMENTS (the default) uses true piecewise-linear finite elements (via vtkvmtkPolyDataFELaplaceAssembler, with quadrature order QuadratureOrder).
Definition at line 100 of file vtkvmtkPolyDataHarmonicMappingFilter.h.
|
inline |
Set/get how the discrete Laplace system is assembled: VTK_VMTK_ASSEMBLY_STENCILS uses the finite-element Laplace-Beltrami stencil (via vtkvmtkStencils); VTK_VMTK_ASSEMBLY_FINITEELEMENTS (the default) uses true piecewise-linear finite elements (via vtkvmtkPolyDataFELaplaceAssembler, with quadrature order QuadratureOrder).
Definition at line 102 of file vtkvmtkPolyDataHarmonicMappingFilter.h.
|
virtual |
Set/get the order of the Gauss quadrature rule used to integrate the finite-element matrix when AssemblyMode is VTK_VMTK_ASSEMBLY_FINITEELEMENTS. Default: 1.
|
virtual |
Set/get the order of the Gauss quadrature rule used to integrate the finite-element matrix when AssemblyMode is VTK_VMTK_ASSEMBLY_FINITEELEMENTS. Default: 1.
|
overrideprotectedvirtual |
Reimplemented in vtkvmtkPolyDataCylinderHarmonicMappingFilter.
Definition at line 74 of file vtkvmtkPolyDataHarmonicMappingFilter.cxx.
|
protected |
Definition at line 130 of file vtkvmtkPolyDataHarmonicMappingFilter.h.
|
protected |
Definition at line 131 of file vtkvmtkPolyDataHarmonicMappingFilter.h.
|
protected |
Definition at line 133 of file vtkvmtkPolyDataHarmonicMappingFilter.h.
|
protected |
Definition at line 134 of file vtkvmtkPolyDataHarmonicMappingFilter.h.
|
protected |
Definition at line 135 of file vtkvmtkPolyDataHarmonicMappingFilter.h.
|
protected |
Definition at line 136 of file vtkvmtkPolyDataHarmonicMappingFilter.h.