|
VMTK
|
Computes the length, curvature, torsion, and tortuosity for each branch within a split centerline. More...
#include <vtkvmtkCenterlineBranchGeometry.h>
Public Types | |
| typedef vtkPolyDataAlgorithm | Superclass |
Public Member Functions | |
| virtual int | IsA (const char *type) |
| vtkvmtkCenterlineBranchGeometry * | NewInstance () const |
| void | PrintSelf (std::ostream &os, vtkIndent indent) override |
| virtual void | SetRadiusArrayName (const char *) |
| virtual char * | GetRadiusArrayName () |
| virtual void | SetGroupIdsArrayName (const char *) |
| virtual char * | GetGroupIdsArrayName () |
| virtual void | SetBlankingArrayName (const char *) |
| virtual char * | GetBlankingArrayName () |
| virtual void | SetLengthArrayName (const char *) |
| virtual char * | GetLengthArrayName () |
| virtual void | SetCurvatureArrayName (const char *) |
| virtual char * | GetCurvatureArrayName () |
| virtual void | SetTorsionArrayName (const char *) |
| virtual char * | GetTorsionArrayName () |
| virtual void | SetTortuosityArrayName (const char *) |
| virtual char * | GetTortuosityArrayName () |
| virtual void | SetMinSubsamplingSpacing (double) |
| virtual double | GetMinSubsamplingSpacing () |
| virtual void | SetSmoothingFactor (double) |
| virtual double | GetSmoothingFactor () |
| virtual void | SetNumberOfSmoothingIterations (int) |
| virtual int | GetNumberOfSmoothingIterations () |
| virtual void | SetLineSmoothing (int) |
| virtual int | GetLineSmoothing () |
| virtual void | LineSmoothingOn () |
| virtual void | LineSmoothingOff () |
| virtual void | SetLineSubsampling (int) |
| virtual int | GetLineSubsampling () |
| virtual void | LineSubsamplingOn () |
| virtual void | LineSubsamplingOff () |
| virtual void | SetSphereSubsampling (int) |
| virtual int | GetSphereSubsampling () |
| virtual void | SphereSubsamplingOn () |
| virtual void | SphereSubsamplingOff () |
Static Public Member Functions | |
| static int | IsTypeOf (const char *type) |
| static vtkvmtkCenterlineBranchGeometry * | SafeDownCast (vtkObjectBase *o) |
| static vtkvmtkCenterlineBranchGeometry * | New () |
Protected Member Functions | |
| virtual vtkObjectBase * | NewInstanceInternal () const |
| vtkvmtkCenterlineBranchGeometry () | |
| ~vtkvmtkCenterlineBranchGeometry () | |
| virtual int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) override |
| double | ComputeGroupLength (vtkPolyData *input, int branchGroupId) |
| double | ComputeGroupCurvature (vtkPolyData *input, int branchGroupId) |
| double | ComputeGroupTorsion (vtkPolyData *input, int branchGroupId) |
| double | ComputeGroupTortuosity (vtkPolyData *input, int branchGroupId, double groupLength) |
| void | SphereSubsampleLine (vtkPolyData *input, vtkIdType cellId, vtkPoints *subsampledLinePoints) |
Static Protected Member Functions | |
| static void | SubsampleLine (vtkPoints *linePoints, vtkPoints *subsampledLinePoints, double minSpacing=0.01) |
Protected Attributes | |
| char * | RadiusArrayName |
| char * | GroupIdsArrayName |
| char * | BlankingArrayName |
| char * | LengthArrayName |
| char * | CurvatureArrayName |
| char * | TorsionArrayName |
| char * | TortuosityArrayName |
| int | LineSubsampling |
| int | SphereSubsampling |
| int | LineSmoothing |
| double | MinSubsamplingSpacing |
| double | SmoothingFactor |
| int | NumberOfSmoothingIterations |
Computes the length, curvature, torsion, and tortuosity for each branch within a split centerline.
The length, curvature, torsion, and tortuosity metrics are scalar quantities which are identical for each point / tract that makes up a branch. They are cell data which are attached to all cells in the branch.
A laplacian smoothing filter can be applied to the line if the computation appears to be unstable (as we are using second derivatives and such here).
Unlike vtkvmtkCenterlineGeometry (which computes point-wise differential geometry for raw, unsplit centerlines), this class computes one aggregate value per branch (group of cells sharing a GroupIdsArrayName value), optionally subsampling each branch's line to a coarser, more robust point spacing before computing curvature/torsion. This is the filter behind the vmtkbranchgeometry pype script, run after splitting/grouping.
Definition at line 48 of file vtkvmtkCenterlineBranchGeometry.h.
| typedef vtkPolyDataAlgorithm vtkvmtkCenterlineBranchGeometry::Superclass |
Definition at line 51 of file vtkvmtkCenterlineBranchGeometry.h.
|
protected |
Definition at line 44 of file vtkvmtkCenterlineBranchGeometry.cxx.
|
protected |
Definition at line 64 of file vtkvmtkCenterlineBranchGeometry.cxx.
|
static |
|
virtual |
|
static |
|
protectedvirtual |
| vtkvmtkCenterlineBranchGeometry * vtkvmtkCenterlineBranchGeometry::NewInstance | ( | ) | const |
|
override |
Definition at line 584 of file vtkvmtkCenterlineBranchGeometry.cxx.
|
static |
|
virtual |
Set/Get the name of the point data array of the input centerlines holding the maximum inscribed sphere radius at each point. Required when SphereSubsampling is on. Commonly named "MaximumInscribedSphereRadius".
|
virtual |
Set/Get the name of the point data array of the input centerlines holding the maximum inscribed sphere radius at each point. Required when SphereSubsampling is on. Commonly named "MaximumInscribedSphereRadius".
|
virtual |
Set/Get the name of the cell data array of the input centerlines holding the branch group id of each cell. Required input; see vtkvmtkCenterlineSplittingAndGroupingFilter. Commonly named "GroupIds".
|
virtual |
Set/Get the name of the cell data array of the input centerlines holding the branch group id of each cell. Required input; see vtkvmtkCenterlineSplittingAndGroupingFilter. Commonly named "GroupIds".
|
virtual |
Set/Get the name of the cell data array of the input centerlines holding, for each cell, whether it is a "blanked" (redundant, overlapping) tract – blanked cells are excluded from the geometry computation for each branch. Commonly named "Blanking".
|
virtual |
Set/Get the name of the cell data array of the input centerlines holding, for each cell, whether it is a "blanked" (redundant, overlapping) tract – blanked cells are excluded from the geometry computation for each branch. Commonly named "Blanking".
|
virtual |
Set/Get the name of the output cell data array where the arc length of each branch is stored. Commonly named "Length".
|
virtual |
Set/Get the name of the output cell data array where the arc length of each branch is stored. Commonly named "Length".
|
virtual |
Set/Get the name of the output cell data array where the (length-weighted average) curvature of each branch is stored. Commonly named "Curvature".
|
virtual |
Set/Get the name of the output cell data array where the (length-weighted average) curvature of each branch is stored. Commonly named "Curvature".
|
virtual |
Set/Get the name of the output cell data array where the (length-weighted average) torsion of each branch is stored. Commonly named "Torsion".
|
virtual |
Set/Get the name of the output cell data array where the (length-weighted average) torsion of each branch is stored. Commonly named "Torsion".
|
virtual |
Set/Get the name of the output cell data array where the tortuosity of each branch is stored, computed as (branch length / chord length) - 1. Commonly named "Tortuosity".
|
virtual |
Set/Get the name of the output cell data array where the tortuosity of each branch is stored, computed as (branch length / chord length) - 1. Commonly named "Tortuosity".
|
virtual |
Set/Get the minimum point spacing enforced when LineSubsampling is on: points closer together than this along a branch are merged before computing curvature/torsion, to stabilize the second-derivative estimates. Default: 0.1.
|
virtual |
Set/Get the minimum point spacing enforced when LineSubsampling is on: points closer together than this along a branch are merged before computing curvature/torsion, to stabilize the second-derivative estimates. Default: 0.1.
|
virtual |
Set/Get the relaxation factor used by the optional Laplacian smoothing pass applied to each branch's points before curvature/torsion are computed (see LineSmoothing). Default: 0.01.
|
virtual |
Set/Get the relaxation factor used by the optional Laplacian smoothing pass applied to each branch's points before curvature/torsion are computed (see LineSmoothing). Default: 0.01.
|
virtual |
Set/Get the number of Laplacian smoothing iterations applied to each branch's points before curvature/torsion are computed (see LineSmoothing). Default: 100.
|
virtual |
Set/Get the number of Laplacian smoothing iterations applied to each branch's points before curvature/torsion are computed (see LineSmoothing). Default: 100.
|
virtual |
Toggle Laplacian smoothing of each branch's points prior to computing curvature and torsion, to stabilize the second-derivative estimates on noisy or piecewise-linear centerlines. Default: off.
|
virtual |
Toggle Laplacian smoothing of each branch's points prior to computing curvature and torsion, to stabilize the second-derivative estimates on noisy or piecewise-linear centerlines. Default: off.
|
virtual |
Toggle Laplacian smoothing of each branch's points prior to computing curvature and torsion, to stabilize the second-derivative estimates on noisy or piecewise-linear centerlines. Default: off.
|
virtual |
Toggle Laplacian smoothing of each branch's points prior to computing curvature and torsion, to stabilize the second-derivative estimates on noisy or piecewise-linear centerlines. Default: off.
|
virtual |
Toggle subsampling of each branch's points to (approximately) MinSubsamplingSpacing before the geometry computation. Default: on.
|
virtual |
Toggle subsampling of each branch's points to (approximately) MinSubsamplingSpacing before the geometry computation. Default: on.
|
virtual |
Toggle subsampling of each branch's points to (approximately) MinSubsamplingSpacing before the geometry computation. Default: on.
|
virtual |
Toggle subsampling of each branch's points to (approximately) MinSubsamplingSpacing before the geometry computation. Default: on.
|
virtual |
Toggle an alternative subsampling strategy that walks along each branch skipping ahead by the local maximum inscribed sphere radius (from RadiusArrayName) at each step, rather than a fixed spacing. Default: on.
|
virtual |
Toggle an alternative subsampling strategy that walks along each branch skipping ahead by the local maximum inscribed sphere radius (from RadiusArrayName) at each step, rather than a fixed spacing. Default: on.
|
virtual |
Toggle an alternative subsampling strategy that walks along each branch skipping ahead by the local maximum inscribed sphere radius (from RadiusArrayName) at each step, rather than a fixed spacing. Default: on.
|
virtual |
Toggle an alternative subsampling strategy that walks along each branch skipping ahead by the local maximum inscribed sphere radius (from RadiusArrayName) at each step, rather than a fixed spacing. Default: on.
|
overrideprotectedvirtual |
Definition at line 109 of file vtkvmtkCenterlineBranchGeometry.cxx.
|
protected |
Definition at line 252 of file vtkvmtkCenterlineBranchGeometry.cxx.
|
protected |
Definition at line 293 of file vtkvmtkCenterlineBranchGeometry.cxx.
|
protected |
Definition at line 367 of file vtkvmtkCenterlineBranchGeometry.cxx.
|
protected |
Definition at line 524 of file vtkvmtkCenterlineBranchGeometry.cxx.
|
staticprotected |
Definition at line 443 of file vtkvmtkCenterlineBranchGeometry.cxx.
|
protected |
Definition at line 484 of file vtkvmtkCenterlineBranchGeometry.cxx.
|
protected |
Definition at line 199 of file vtkvmtkCenterlineBranchGeometry.h.
|
protected |
Definition at line 200 of file vtkvmtkCenterlineBranchGeometry.h.
|
protected |
Definition at line 201 of file vtkvmtkCenterlineBranchGeometry.h.
|
protected |
Definition at line 203 of file vtkvmtkCenterlineBranchGeometry.h.
|
protected |
Definition at line 204 of file vtkvmtkCenterlineBranchGeometry.h.
|
protected |
Definition at line 205 of file vtkvmtkCenterlineBranchGeometry.h.
|
protected |
Definition at line 206 of file vtkvmtkCenterlineBranchGeometry.h.
|
protected |
Definition at line 208 of file vtkvmtkCenterlineBranchGeometry.h.
|
protected |
Definition at line 209 of file vtkvmtkCenterlineBranchGeometry.h.
|
protected |
Definition at line 210 of file vtkvmtkCenterlineBranchGeometry.h.
|
protected |
Definition at line 212 of file vtkvmtkCenterlineBranchGeometry.h.
|
protected |
Definition at line 213 of file vtkvmtkCenterlineBranchGeometry.h.
|
protected |
Definition at line 214 of file vtkvmtkCenterlineBranchGeometry.h.