parametric function for 1D polynomials
More...
#include <Modules/Loadable/Markups/MRML/vtkParametricPolynomialApproximation.h>
parametric function for 1D polynomials
vtkParametricPolynomialApproximation is a parametric function for 1D approximating polynomials. vtkParametricPolynomialApproximation maps the single parameter u to a 3D point (x,y,z). Internally a polynomial is fit to a set of input points using the least squares basis.
Definition at line 42 of file vtkParametricPolynomialApproximation.h.
◆ Superclass
◆ anonymous enum
◆ anonymous enum
Options for weighing points in moving least squares, see WeightFunction
Enumerator |
---|
WEIGHT_FUNCTION_RECTANGULAR | |
WEIGHT_FUNCTION_TRIANGULAR | |
WEIGHT_FUNCTION_COSINE | |
WEIGHT_FUNCTION_GAUSSIAN | |
WEIGHT_FUNCTION_LAST | |
Definition at line 116 of file vtkParametricPolynomialApproximation.h.
◆ vtkParametricPolynomialApproximation()
vtkParametricPolynomialApproximation::vtkParametricPolynomialApproximation |
( |
| ) |
|
|
protected |
◆ ~vtkParametricPolynomialApproximation()
vtkParametricPolynomialApproximation::~vtkParametricPolynomialApproximation |
( |
| ) |
|
|
overrideprotected |
◆ Evaluate()
void vtkParametricPolynomialApproximation::Evaluate |
( |
double |
u[3], |
|
|
double |
Pt[3], |
|
|
double |
Du[9] |
|
) |
| |
|
override |
Evaluate the parametric function at parametric coordinate u[0] returning the point coordinate Pt[3].
◆ EvaluateScalar()
double vtkParametricPolynomialApproximation::EvaluateScalar |
( |
double |
u[3], |
|
|
double |
Pt[3], |
|
|
double |
Du[9] |
|
) |
| |
|
override |
Evaluate a scalar value at parametric coordinate u[0] and Pt[3]. Simply returns the parameter u[0].
◆ GetClassName()
virtual const char* vtkParametricPolynomialApproximation::GetClassName |
( |
| ) |
|
|
virtual |
◆ GetDimension()
int vtkParametricPolynomialApproximation::GetDimension |
( |
| ) |
|
|
inlineoverride |
◆ GetFitMethod()
virtual int vtkParametricPolynomialApproximation::GetFitMethod |
( |
| ) |
|
|
virtual |
What type of fit should be used (e.g. global/local)
◆ GetPolynomialOrder()
virtual int vtkParametricPolynomialApproximation::GetPolynomialOrder |
( |
| ) |
|
|
virtual |
Specify the order of polynomial (maximum exponent) that should be fit.
◆ GetSampleWidth()
virtual double vtkParametricPolynomialApproximation::GetSampleWidth |
( |
| ) |
|
|
virtual |
The width of sampling for moving least squares (in parameter space) This is total width, so the space that is sampled is SamplePosition - ( SampleWidth / 2 ) through to SamplePosition + ( SampleWidth / 2 ). Valid range is from 0.0 to 1.0. Default is 0.5.
◆ GetWeightFunction()
virtual int vtkParametricPolynomialApproximation::GetWeightFunction |
( |
| ) |
|
|
virtual |
Specify the order of polynomial (maximum exponent) that should be fit.
◆ IsA()
virtual int vtkParametricPolynomialApproximation::IsA |
( |
const char * |
type | ) |
|
|
virtual |
◆ IsTypeOf()
static int vtkParametricPolynomialApproximation::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
◆ New()
◆ PrintSelf()
void vtkParametricPolynomialApproximation::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
|
override |
◆ SafeDownCast()
◆ SetFitMethod()
virtual void vtkParametricPolynomialApproximation::SetFitMethod |
( |
int |
| ) |
|
|
virtual |
◆ SetFitMethodToGlobalLeastSquares()
void vtkParametricPolynomialApproximation::SetFitMethodToGlobalLeastSquares |
( |
| ) |
|
|
inline |
◆ SetFitMethodToMovingLeastSquares()
void vtkParametricPolynomialApproximation::SetFitMethodToMovingLeastSquares |
( |
| ) |
|
|
inline |
◆ SetParameters()
void vtkParametricPolynomialApproximation::SetParameters |
( |
vtkDoubleArray * |
| ) |
|
Specify the parameters for the points. Length of list should be the same, and the points should be in the same order as the parameters.
◆ SetPoints()
void vtkParametricPolynomialApproximation::SetPoints |
( |
vtkPoints * |
| ) |
|
Specify the list of points that the polynomial should approximate. Set the point parameters that should be used during fitting with SetParameters.
◆ SetPolynomialOrder()
virtual void vtkParametricPolynomialApproximation::SetPolynomialOrder |
( |
int |
| ) |
|
|
virtual |
◆ SetSampleWidth()
virtual void vtkParametricPolynomialApproximation::SetSampleWidth |
( |
double |
| ) |
|
|
virtual |
◆ SetWeightFunction()
virtual void vtkParametricPolynomialApproximation::SetWeightFunction |
( |
int |
| ) |
|
|
virtual |
◆ SetWeightFunctionToCosine()
void vtkParametricPolynomialApproximation::SetWeightFunctionToCosine |
( |
| ) |
|
|
inline |
◆ SetWeightFunctionToGaussian()
void vtkParametricPolynomialApproximation::SetWeightFunctionToGaussian |
( |
| ) |
|
|
inline |
◆ SetWeightFunctionToRectangular()
void vtkParametricPolynomialApproximation::SetWeightFunctionToRectangular |
( |
| ) |
|
|
inline |
◆ SetWeightFunctionToTriangular()
void vtkParametricPolynomialApproximation::SetWeightFunctionToTriangular |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: