VMTK
|
Compute length, curvature, torsion, tortuosity, and frenet frames for individual centerlines. More...
#include <vtkvmtkCenterlineGeometry.h>
Public Types | |
typedef vtkPolyDataAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkvmtkCenterlineGeometry * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) VTK_OVERRIDE |
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 | SetFrenetTangentArrayName (const char *) |
virtual char * | GetFrenetTangentArrayName () |
virtual void | SetFrenetNormalArrayName (const char *) |
virtual char * | GetFrenetNormalArrayName () |
virtual void | SetFrenetBinormalArrayName (const char *) |
virtual char * | GetFrenetBinormalArrayName () |
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 | SetOutputSmoothedLines (int) |
virtual int | GetOutputSmoothedLines () |
virtual void | OutputSmoothedLinesOn () |
virtual void | OutputSmoothedLinesOff () |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkvmtkCenterlineGeometry * | SafeDownCast (vtkObjectBase *o) |
static vtkvmtkCenterlineGeometry * | New () |
static double | ComputeLineCurvature (vtkPoints *linePoints, vtkDoubleArray *curvatureArray) |
static double | ComputeLineTorsion (vtkPoints *linePoints, vtkDoubleArray *torsionArray) |
static void | ComputeLineFrenetReferenceSystem (vtkPoints *linePoints, vtkDoubleArray *lineTangentArray, vtkDoubleArray *lineNormalArray, vtkDoubleArray *lineBinormalArray) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkvmtkCenterlineGeometry () | |
~vtkvmtkCenterlineGeometry () | |
virtual int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE |
Protected Attributes | |
char * | LengthArrayName |
char * | CurvatureArrayName |
char * | TorsionArrayName |
char * | TortuosityArrayName |
char * | FrenetTangentArrayName |
char * | FrenetNormalArrayName |
char * | FrenetBinormalArrayName |
int | LineSmoothing |
int | OutputSmoothedLines |
double | SmoothingFactor |
int | NumberOfSmoothingIterations |
Compute length, curvature, torsion, tortuosity, and frenet frames for individual centerlines.
The length, curvature, torsion, and tortuosity metrics are scalar quantities which are identical for each point / tract that makes up a cell. They are cell data which are attached to the centerline (which should only consist of one cell, as it has not been split or grouped).
The frenet reference frame is composed of three orthogonal vectors (tangent, normal, and binormal) unique to their parameterization along the centerline. Three vectors are stored as point data for each point making up the centerline.
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).
Definition at line 41 of file vtkvmtkCenterlineGeometry.h.
typedef vtkPolyDataAlgorithm vtkvmtkCenterlineGeometry::Superclass |
Definition at line 44 of file vtkvmtkCenterlineGeometry.h.
|
protected |
|
protected |
|
static |
|
virtual |
|
static |
|
protectedvirtual |
vtkvmtkCenterlineGeometry* vtkvmtkCenterlineGeometry::NewInstance | ( | ) | const |
void vtkvmtkCenterlineGeometry::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
static |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
static |
|
static |
|
static |
|
protectedvirtual |
|
protected |
Definition at line 94 of file vtkvmtkCenterlineGeometry.h.
|
protected |
Definition at line 95 of file vtkvmtkCenterlineGeometry.h.
|
protected |
Definition at line 96 of file vtkvmtkCenterlineGeometry.h.
|
protected |
Definition at line 97 of file vtkvmtkCenterlineGeometry.h.
|
protected |
Definition at line 98 of file vtkvmtkCenterlineGeometry.h.
|
protected |
Definition at line 99 of file vtkvmtkCenterlineGeometry.h.
|
protected |
Definition at line 100 of file vtkvmtkCenterlineGeometry.h.
|
protected |
Definition at line 102 of file vtkvmtkCenterlineGeometry.h.
|
protected |
Definition at line 103 of file vtkvmtkCenterlineGeometry.h.
|
protected |
Definition at line 104 of file vtkvmtkCenterlineGeometry.h.
|
protected |
Definition at line 105 of file vtkvmtkCenterlineGeometry.h.