ActiViz .NET
5.8.0
|
vtkDecimatePolylineFilter - reduce the number of lines in a polyline More...
Public Member Functions | |
vtkDecimatePolylineFilter (IntPtr rawCppThis, bool callDisposalMethod, bool strong) | |
Automatically generated constructor - called from generated code. DO NOT call directly. | |
vtkDecimatePolylineFilter () | |
Instantiate this object with a target reduction of 0.90. | |
virtual double | GetTargetReduction () |
Specify the desired reduction in the total number of polygons (e.g., if TargetReduction is set to 0.9, this filter will try to reduce the data set to 10% of its original size). | |
virtual double | GetTargetReductionMaxValue () |
Specify the desired reduction in the total number of polygons (e.g., if TargetReduction is set to 0.9, this filter will try to reduce the data set to 10% of its original size). | |
virtual double | GetTargetReductionMinValue () |
Specify the desired reduction in the total number of polygons (e.g., if TargetReduction is set to 0.9, this filter will try to reduce the data set to 10% of its original size). | |
override int | IsA (string type) |
Standard methods for type information and printing. | |
new vtkDecimatePolylineFilter | NewInstance () |
Standard methods for type information and printing. | |
virtual void | SetTargetReduction (double _arg) |
Specify the desired reduction in the total number of polygons (e.g., if TargetReduction is set to 0.9, this filter will try to reduce the data set to 10% of its original size). | |
Static Public Member Functions | |
static new vtkDecimatePolylineFilter | New () |
Instantiate this object with a target reduction of 0.90. | |
static new int | IsTypeOf (string type) |
Standard methods for type information and printing. | |
static new vtkDecimatePolylineFilter | SafeDownCast (vtkObjectBase o) |
Standard methods for type information and printing. | |
Public Attributes | |
new const string | MRFullTypeName = "Kitware.VTK.vtkDecimatePolylineFilter" |
Automatically generated type registration mechanics. | |
Static Public Attributes | |
static new readonly string | MRClassNameKey = "25vtkDecimatePolylineFilter" |
Automatically generated type registration mechanics. | |
Protected Member Functions | |
override void | Dispose (bool disposing) |
Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly. | |
Private Member Functions | |
static internal IntPtr | vtkDecimatePolylineFilter_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal double | vtkDecimatePolylineFilter_GetTargetReduction_01 (HandleRef pThis) |
static internal double | vtkDecimatePolylineFilter_GetTargetReductionMaxValue_02 (HandleRef pThis) |
static internal double | vtkDecimatePolylineFilter_GetTargetReductionMinValue_03 (HandleRef pThis) |
static internal int | vtkDecimatePolylineFilter_IsA_04 (HandleRef pThis, string type) |
static internal int | vtkDecimatePolylineFilter_IsTypeOf_05 (string type) |
static internal IntPtr | vtkDecimatePolylineFilter_NewInstance_07 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal IntPtr | vtkDecimatePolylineFilter_SafeDownCast_08 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal void | vtkDecimatePolylineFilter_SetTargetReduction_09 (HandleRef pThis, double _arg) |
Static Private Member Functions | |
static | vtkDecimatePolylineFilter () |
Automatically generated type registration mechanics. |
vtkDecimatePolylineFilter - reduce the number of lines in a polyline
Description vtkDecimatePolylineFilter is a filter to reduce the number of lines in a polyline. The algorithm functions by evaluating an error metric for each vertex (i.e., the distance of the vertex to a line defined from the two vertices on either side of the vertex). Then, these vertices are placed into a priority queue, and those with larger errors are deleted first. The decimation continues until the target reduction is reached.
Caveats This algorithm is a very simple implementation that overlooks some potential complexities. First, if a vertex is multiply connected, meaning that it is used by multiple polylines, then the extra topological constraints are ignored. Second, the error is not updated as vertices are deleted (similar to iteratively computing a quadric error metric). Thus, once calculated, the error is used to determine which vertices are removed. This can produce less than optimal results.
vtkDecimate vtkDecimateProp vtkQuadricClustering vtkQuadricDecimation
static Kitware.VTK.vtkDecimatePolylineFilter.vtkDecimatePolylineFilter | ( | ) | [static, private] |
Automatically generated type registration mechanics.
Kitware.VTK.vtkDecimatePolylineFilter.vtkDecimatePolylineFilter | ( | IntPtr | rawCppThis, |
bool | callDisposalMethod, | ||
bool | strong | ||
) |
Automatically generated constructor - called from generated code. DO NOT call directly.
Instantiate this object with a target reduction of 0.90.
override void Kitware.VTK.vtkDecimatePolylineFilter.Dispose | ( | bool | disposing | ) | [protected] |
Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.
Reimplemented from Kitware.VTK.vtkPolyDataAlgorithm.
virtual double Kitware.VTK.vtkDecimatePolylineFilter.GetTargetReduction | ( | ) | [virtual] |
Specify the desired reduction in the total number of polygons (e.g., if TargetReduction is set to 0.9, this filter will try to reduce the data set to 10% of its original size).
virtual double Kitware.VTK.vtkDecimatePolylineFilter.GetTargetReductionMaxValue | ( | ) | [virtual] |
Specify the desired reduction in the total number of polygons (e.g., if TargetReduction is set to 0.9, this filter will try to reduce the data set to 10% of its original size).
virtual double Kitware.VTK.vtkDecimatePolylineFilter.GetTargetReductionMinValue | ( | ) | [virtual] |
Specify the desired reduction in the total number of polygons (e.g., if TargetReduction is set to 0.9, this filter will try to reduce the data set to 10% of its original size).
override int Kitware.VTK.vtkDecimatePolylineFilter.IsA | ( | string | type | ) | [virtual] |
Standard methods for type information and printing.
Reimplemented from Kitware.VTK.vtkPolyDataAlgorithm.
static new int Kitware.VTK.vtkDecimatePolylineFilter.IsTypeOf | ( | string | type | ) | [static] |
Standard methods for type information and printing.
Reimplemented from Kitware.VTK.vtkPolyDataAlgorithm.
static new vtkDecimatePolylineFilter Kitware.VTK.vtkDecimatePolylineFilter.New | ( | ) | [static] |
Instantiate this object with a target reduction of 0.90.
Reimplemented from Kitware.VTK.vtkPolyDataAlgorithm.
Standard methods for type information and printing.
Reimplemented from Kitware.VTK.vtkPolyDataAlgorithm.
static new vtkDecimatePolylineFilter Kitware.VTK.vtkDecimatePolylineFilter.SafeDownCast | ( | vtkObjectBase | o | ) | [static] |
Standard methods for type information and printing.
Reimplemented from Kitware.VTK.vtkPolyDataAlgorithm.
virtual void Kitware.VTK.vtkDecimatePolylineFilter.SetTargetReduction | ( | double | _arg | ) | [virtual] |
Specify the desired reduction in the total number of polygons (e.g., if TargetReduction is set to 0.9, this filter will try to reduce the data set to 10% of its original size).
static internal double Kitware.VTK.vtkDecimatePolylineFilter.vtkDecimatePolylineFilter_GetTargetReduction_01 | ( | HandleRef | pThis | ) | [private] |
static internal double Kitware.VTK.vtkDecimatePolylineFilter.vtkDecimatePolylineFilter_GetTargetReductionMaxValue_02 | ( | HandleRef | pThis | ) | [private] |
static internal double Kitware.VTK.vtkDecimatePolylineFilter.vtkDecimatePolylineFilter_GetTargetReductionMinValue_03 | ( | HandleRef | pThis | ) | [private] |
static internal int Kitware.VTK.vtkDecimatePolylineFilter.vtkDecimatePolylineFilter_IsA_04 | ( | HandleRef | pThis, |
string | type | ||
) | [private] |
static internal int Kitware.VTK.vtkDecimatePolylineFilter.vtkDecimatePolylineFilter_IsTypeOf_05 | ( | string | type | ) | [private] |
static internal IntPtr Kitware.VTK.vtkDecimatePolylineFilter.vtkDecimatePolylineFilter_New | ( | ref uint | mteStatus, |
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkDecimatePolylineFilter.vtkDecimatePolylineFilter_NewInstance_07 | ( | HandleRef | pThis, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkDecimatePolylineFilter.vtkDecimatePolylineFilter_SafeDownCast_08 | ( | HandleRef | o, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal void Kitware.VTK.vtkDecimatePolylineFilter.vtkDecimatePolylineFilter_SetTargetReduction_09 | ( | HandleRef | pThis, |
double | _arg | ||
) | [private] |
new readonly string Kitware.VTK.vtkDecimatePolylineFilter.MRClassNameKey = "25vtkDecimatePolylineFilter" [static] |
Automatically generated type registration mechanics.
Reimplemented from Kitware.VTK.vtkPolyDataAlgorithm.
new const string Kitware.VTK.vtkDecimatePolylineFilter.MRFullTypeName = "Kitware.VTK.vtkDecimatePolylineFilter" |
Automatically generated type registration mechanics.
Reimplemented from Kitware.VTK.vtkPolyDataAlgorithm.