Slicer  5.0
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes
vtkCurveMeasurementsCalculator Class Reference

Filter that generates curves between points of an input polydata. More...

#include <Modules/Loadable/Markups/MRML/vtkCurveMeasurementsCalculator.h>

Inheritance diagram for vtkCurveMeasurementsCalculator:
Inheritance graph
[legend]
Collaboration diagram for vtkCurveMeasurementsCalculator:
Collaboration graph
[legend]

Public Types

typedef vtkPolyDataAlgorithm Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual std::string GetCurvatureUnits ()
 
vtkMTimeType GetMTime () override
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
virtual void SetCurvatureUnits (std::string)
 
void SetMeasurements (vtkCollection *measurements)
 
vtkCollection * GetMeasurements ()
 
virtual void SetCurveIsClosed (bool)
 
virtual bool GetCurveIsClosed ()
 
virtual void CurveIsClosedOn ()
 
virtual void CurveIsClosedOff ()
 
virtual void SetCalculateCurvature (bool)
 Set/Get flag determining whether to calculate curvature. More...
 
virtual bool GetCalculateCurvature ()
 
virtual void CalculateCurvatureOn ()
 
virtual void CalculateCurvatureOff ()
 

Static Public Member Functions

static const char * GetMaxCurvatureName ()
 Get name of max curvature measurement. More...
 
static const char * GetMeanCurvatureName ()
 Get name of mean curvature measurement. More...
 
static bool InterpolateArray (vtkDoubleArray *inputValues, vtkDoubleArray *interpolatedValues, vtkDoubleArray *pedigreeIdsArray, double pedigreeIdsValueScale=1.0)
 
static int IsTypeOf (const char *type)
 
static vtkCurveMeasurementsCalculatorNew ()
 
static vtkCurveMeasurementsCalculatorSafeDownCast (vtkObject *o)
 

Protected Member Functions

bool CalculatePolyDataCurvature (vtkPolyData *polyData)
 
int FillInputPortInformation (int port, vtkInformation *info) override
 
bool InterpolateControlPointMeasurementToPolyData (vtkPolyData *outputPolyData)
 
void operator= (const vtkCurveMeasurementsCalculator &)=delete
 
int RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
 
 vtkCurveMeasurementsCalculator ()
 
 vtkCurveMeasurementsCalculator (const vtkCurveMeasurementsCalculator &)=delete
 
 ~vtkCurveMeasurementsCalculator () override
 

Static Protected Member Functions

static void OnControlPointArrayModified (vtkObject *caller, unsigned long eid, void *clientData, void *callData)
 

Protected Attributes

bool CalculateCurvature {false}
 Flag determining whether the filter should calculate curvature. More...
 
vtkCallbackCommand * ControlPointArrayModifiedCallbackCommand
 Command handling data array modified events. More...
 
std::string CurvatureUnits
 
bool CurveIsClosed {false}
 Flag indicating whether the current curve is closed. More...
 
vtkWeakPointer< vtkCollection > Measurements
 Measurement list from the markups node for derived measurements (such as interpolation) More...
 
vtkCollection * ObservedControlPointArrays
 List of observed control point arrays (for removal of observations) More...
 

Detailed Description

Filter that generates curves between points of an input polydata.

Definition at line 34 of file vtkCurveMeasurementsCalculator.h.

Member Typedef Documentation

◆ Superclass

typedef vtkPolyDataAlgorithm vtkCurveMeasurementsCalculator::Superclass

Definition at line 37 of file vtkCurveMeasurementsCalculator.h.

Constructor & Destructor Documentation

◆ vtkCurveMeasurementsCalculator() [1/2]

vtkCurveMeasurementsCalculator::vtkCurveMeasurementsCalculator ( )
protected

◆ ~vtkCurveMeasurementsCalculator()

vtkCurveMeasurementsCalculator::~vtkCurveMeasurementsCalculator ( )
overrideprotected

◆ vtkCurveMeasurementsCalculator() [2/2]

vtkCurveMeasurementsCalculator::vtkCurveMeasurementsCalculator ( const vtkCurveMeasurementsCalculator )
protecteddelete

Member Function Documentation

◆ CalculateCurvatureOff()

virtual void vtkCurveMeasurementsCalculator::CalculateCurvatureOff ( )
virtual

◆ CalculateCurvatureOn()

virtual void vtkCurveMeasurementsCalculator::CalculateCurvatureOn ( )
virtual

◆ CalculatePolyDataCurvature()

bool vtkCurveMeasurementsCalculator::CalculatePolyDataCurvature ( vtkPolyData *  polyData)
protected

◆ CurveIsClosedOff()

virtual void vtkCurveMeasurementsCalculator::CurveIsClosedOff ( )
virtual

◆ CurveIsClosedOn()

virtual void vtkCurveMeasurementsCalculator::CurveIsClosedOn ( )
virtual

◆ FillInputPortInformation()

int vtkCurveMeasurementsCalculator::FillInputPortInformation ( int  port,
vtkInformation *  info 
)
overrideprotected

◆ GetCalculateCurvature()

virtual bool vtkCurveMeasurementsCalculator::GetCalculateCurvature ( )
virtual

◆ GetClassName()

virtual const char* vtkCurveMeasurementsCalculator::GetClassName ( )
virtual

◆ GetCurvatureUnits()

virtual std::string vtkCurveMeasurementsCalculator::GetCurvatureUnits ( )
virtual

◆ GetCurveIsClosed()

virtual bool vtkCurveMeasurementsCalculator::GetCurveIsClosed ( )
virtual

◆ GetMaxCurvatureName()

static const char* vtkCurveMeasurementsCalculator::GetMaxCurvatureName ( )
inlinestatic

Get name of max curvature measurement.

Definition at line 67 of file vtkCurveMeasurementsCalculator.h.

◆ GetMeanCurvatureName()

static const char* vtkCurveMeasurementsCalculator::GetMeanCurvatureName ( )
inlinestatic

Get name of mean curvature measurement.

Definition at line 65 of file vtkCurveMeasurementsCalculator.h.

◆ GetMeasurements()

vtkCollection* vtkCurveMeasurementsCalculator::GetMeasurements ( )

◆ GetMTime()

vtkMTimeType vtkCurveMeasurementsCalculator::GetMTime ( )
override

◆ InterpolateArray()

static bool vtkCurveMeasurementsCalculator::InterpolateArray ( vtkDoubleArray *  inputValues,
vtkDoubleArray *  interpolatedValues,
vtkDoubleArray *  pedigreeIdsArray,
double  pedigreeIdsValueScale = 1.0 
)
static

Store interpolated values of inputValues in interpolatedValues, using indices pedigreeIdsArray. pedigreeIdsValueScale is applied to values of pedigreeIdsArray, which can be used for converting between indices of curve points and curve control points.

◆ InterpolateControlPointMeasurementToPolyData()

bool vtkCurveMeasurementsCalculator::InterpolateControlPointMeasurementToPolyData ( vtkPolyData *  outputPolyData)
protected

◆ IsA()

virtual int vtkCurveMeasurementsCalculator::IsA ( const char *  type)
virtual

◆ IsTypeOf()

static int vtkCurveMeasurementsCalculator::IsTypeOf ( const char *  type)
static

◆ New()

static vtkCurveMeasurementsCalculator* vtkCurveMeasurementsCalculator::New ( )
static

◆ OnControlPointArrayModified()

static void vtkCurveMeasurementsCalculator::OnControlPointArrayModified ( vtkObject *  caller,
unsigned long  eid,
void *  clientData,
void *  callData 
)
staticprotected

Callback function observing data array modified events. If a data array to interpolate is modified, then the interpolation needs to be re-run.

◆ operator=()

void vtkCurveMeasurementsCalculator::operator= ( const vtkCurveMeasurementsCalculator )
protecteddelete

◆ PrintSelf()

void vtkCurveMeasurementsCalculator::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
override

◆ RequestData()

int vtkCurveMeasurementsCalculator::RequestData ( vtkInformation *  request,
vtkInformationVector **  inputVector,
vtkInformationVector *  outputVector 
)
overrideprotected

◆ SafeDownCast()

static vtkCurveMeasurementsCalculator* vtkCurveMeasurementsCalculator::SafeDownCast ( vtkObject *  o)
static

◆ SetCalculateCurvature()

virtual void vtkCurveMeasurementsCalculator::SetCalculateCurvature ( bool  )
virtual

Set/Get flag determining whether to calculate curvature.

◆ SetCurvatureUnits()

virtual void vtkCurveMeasurementsCalculator::SetCurvatureUnits ( std::string  )
virtual

◆ SetCurveIsClosed()

virtual void vtkCurveMeasurementsCalculator::SetCurveIsClosed ( bool  )
virtual

This indicates whether the curve loops back in on itself, connecting the last point back to the first point (disabled by default).

◆ SetMeasurements()

void vtkCurveMeasurementsCalculator::SetMeasurements ( vtkCollection *  measurements)

Set/Get measurement collection. The measurements that are enabled and contain control point data are used for interpolation

Member Data Documentation

◆ CalculateCurvature

bool vtkCurveMeasurementsCalculator::CalculateCurvature {false}
protected

Flag determining whether the filter should calculate curvature.

Definition at line 97 of file vtkCurveMeasurementsCalculator.h.

◆ ControlPointArrayModifiedCallbackCommand

vtkCallbackCommand* vtkCurveMeasurementsCalculator::ControlPointArrayModifiedCallbackCommand
protected

Command handling data array modified events.

Definition at line 100 of file vtkCurveMeasurementsCalculator.h.

◆ CurvatureUnits

std::string vtkCurveMeasurementsCalculator::CurvatureUnits
protected

Definition at line 104 of file vtkCurveMeasurementsCalculator.h.

◆ CurveIsClosed

bool vtkCurveMeasurementsCalculator::CurveIsClosed {false}
protected

Flag indicating whether the current curve is closed.

Definition at line 94 of file vtkCurveMeasurementsCalculator.h.

◆ Measurements

vtkWeakPointer<vtkCollection> vtkCurveMeasurementsCalculator::Measurements
protected

Measurement list from the markups node for derived measurements (such as interpolation)

Definition at line 91 of file vtkCurveMeasurementsCalculator.h.

◆ ObservedControlPointArrays

vtkCollection* vtkCurveMeasurementsCalculator::ObservedControlPointArrays
protected

List of observed control point arrays (for removal of observations)

Definition at line 102 of file vtkCurveMeasurementsCalculator.h.


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