ActiViz .NET  5.8.0
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Private Member Functions | Static Private Member Functions
Kitware.VTK.vtkGeometricErrorMetric Class Reference

vtkGeometricErrorMetric - Objects that compute geometry-based error during cell tessellation. More...

Inheritance diagram for Kitware.VTK.vtkGeometricErrorMetric:
[legend]
Collaboration diagram for Kitware.VTK.vtkGeometricErrorMetric:
[legend]

List of all members.

Public Member Functions

 vtkGeometricErrorMetric (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkGeometricErrorMetric ()
 Construct the error metric with a default squared absolute geometric accuracy equal to 1.
virtual double GetAbsoluteGeometricTolerance ()
 Return the squared absolute geometric accuracy. See SetAbsoluteGeometricTolerance() for details.
override double GetError (IntPtr leftPoint, IntPtr midPoint, IntPtr rightPoint, double alpha)
 Return the error at the mid-point. It will return an error relative to the bounding box size if GetRelative() is true, a square absolute error otherwise. See RequiresEdgeSubdivision() for a description of the arguments.
int GetRelative ()
 Return the type of output of GetError()
override int IsA (string type)
 Standard VTK type and error macros.
new vtkGeometricErrorMetric NewInstance ()
 Standard VTK type and error macros.
override int RequiresEdgeSubdivision (IntPtr leftPoint, IntPtr midPoint, IntPtr rightPoint, double alpha)
 Does the edge need to be subdivided according to the distance between the line passing through its endpoints and the mid point? The edge is defined by its `leftPoint' and its `rightPoint'. `leftPoint', `midPoint' and `rightPoint' have to be initialized before calling RequiresEdgeSubdivision(). Their format is global coordinates, parametric coordinates and point centered attributes: xyx rst abc de... `alpha' is the normalized abscissa of the midpoint along the edge. (close to 0 means close to the left point, close to 1 means close to the right point)
void SetAbsoluteGeometricTolerance (double value)
 Set the geometric accuracy with a squared absolute value. This is the geometric object-based accuracy. Subdivision will be required if the square distance between the real point and the straight line passing through the vertices of the edge is greater than `value'. For instance 0.01 will give better result than 0.1.
void SetRelativeGeometricTolerance (double value, vtkGenericDataSet ds)
 Set the geometric accuracy with a value relative to the length of the bounding box of the dataset. Internally compute the absolute tolerance. For instance 0.01 will give better result than 0.1.

Static Public Member Functions

static new vtkGeometricErrorMetric New ()
 Construct the error metric with a default squared absolute geometric accuracy equal to 1.
static new int IsTypeOf (string type)
 Standard VTK type and error macros.
static new vtkGeometricErrorMetric SafeDownCast (vtkObjectBase o)
 Standard VTK type and error macros.

Public Attributes

new const string MRFullTypeName = "Kitware.VTK.vtkGeometricErrorMetric"
 Automatically generated type registration mechanics.

Static Public Attributes

static new readonly string MRClassNameKey = "23vtkGeometricErrorMetric"
 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 vtkGeometricErrorMetric_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal double vtkGeometricErrorMetric_GetAbsoluteGeometricTolerance_01 (HandleRef pThis)
static internal double vtkGeometricErrorMetric_GetError_02 (HandleRef pThis, IntPtr leftPoint, IntPtr midPoint, IntPtr rightPoint, double alpha)
static internal int vtkGeometricErrorMetric_GetRelative_03 (HandleRef pThis)
static internal int vtkGeometricErrorMetric_IsA_04 (HandleRef pThis, string type)
static internal int vtkGeometricErrorMetric_IsTypeOf_05 (string type)
static internal IntPtr vtkGeometricErrorMetric_NewInstance_07 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkGeometricErrorMetric_RequiresEdgeSubdivision_08 (HandleRef pThis, IntPtr leftPoint, IntPtr midPoint, IntPtr rightPoint, double alpha)
static internal IntPtr vtkGeometricErrorMetric_SafeDownCast_09 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkGeometricErrorMetric_SetAbsoluteGeometricTolerance_10 (HandleRef pThis, double value)
static internal void vtkGeometricErrorMetric_SetRelativeGeometricTolerance_11 (HandleRef pThis, double value, HandleRef ds)

Static Private Member Functions

static vtkGeometricErrorMetric ()
 Automatically generated type registration mechanics.

Detailed Description

vtkGeometricErrorMetric - Objects that compute geometry-based error during cell tessellation.

Description It is a concrete error metric, based on a geometric criterium: the variation of the edge from a straight line.

vtkGenericCellTessellator vtkGenericSubdivisionErrorMetric


Constructor & Destructor Documentation

Automatically generated type registration mechanics.

Kitware.VTK.vtkGeometricErrorMetric.vtkGeometricErrorMetric ( IntPtr  rawCppThis,
bool  callDisposalMethod,
bool  strong 
)

Automatically generated constructor - called from generated code. DO NOT call directly.

Construct the error metric with a default squared absolute geometric accuracy equal to 1.


Member Function Documentation

override void Kitware.VTK.vtkGeometricErrorMetric.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.vtkGenericSubdivisionErrorMetric.

Return the squared absolute geometric accuracy. See SetAbsoluteGeometricTolerance() for details.

Postcondition:
positive_result: result>0
override double Kitware.VTK.vtkGeometricErrorMetric.GetError ( IntPtr  leftPoint,
IntPtr  midPoint,
IntPtr  rightPoint,
double  alpha 
) [virtual]

Return the error at the mid-point. It will return an error relative to the bounding box size if GetRelative() is true, a square absolute error otherwise. See RequiresEdgeSubdivision() for a description of the arguments.

Precondition:
leftPoint_exists: leftPoint!=0
midPoint_exists: midPoint!=0
rightPoint_exists: rightPoint!=0
clamped_alpha: alpha>0 && alpha<1
valid_size: sizeof(leftPoint)=sizeof(midPoint)=sizeof(rightPoint) =GetAttributeCollection()->GetNumberOfPointCenteredComponents()+6
Postcondition:
positive_result: result>=0

Reimplemented from Kitware.VTK.vtkGenericSubdivisionErrorMetric.

Return the type of output of GetError()

override int Kitware.VTK.vtkGeometricErrorMetric.IsA ( string  type) [virtual]

Standard VTK type and error macros.

Reimplemented from Kitware.VTK.vtkGenericSubdivisionErrorMetric.

static new int Kitware.VTK.vtkGeometricErrorMetric.IsTypeOf ( string  type) [static]

Standard VTK type and error macros.

Reimplemented from Kitware.VTK.vtkGenericSubdivisionErrorMetric.

Construct the error metric with a default squared absolute geometric accuracy equal to 1.

Reimplemented from Kitware.VTK.vtkObject.

Standard VTK type and error macros.

Reimplemented from Kitware.VTK.vtkGenericSubdivisionErrorMetric.

override int Kitware.VTK.vtkGeometricErrorMetric.RequiresEdgeSubdivision ( IntPtr  leftPoint,
IntPtr  midPoint,
IntPtr  rightPoint,
double  alpha 
) [virtual]

Does the edge need to be subdivided according to the distance between the line passing through its endpoints and the mid point? The edge is defined by its `leftPoint' and its `rightPoint'. `leftPoint', `midPoint' and `rightPoint' have to be initialized before calling RequiresEdgeSubdivision(). Their format is global coordinates, parametric coordinates and point centered attributes: xyx rst abc de... `alpha' is the normalized abscissa of the midpoint along the edge. (close to 0 means close to the left point, close to 1 means close to the right point)

Precondition:
leftPoint_exists: leftPoint!=0
midPoint_exists: midPoint!=0
rightPoint_exists: rightPoint!=0
clamped_alpha: alpha>0 && alpha<1
valid_size: sizeof(leftPoint)=sizeof(midPoint)=sizeof(rightPoint) =GetAttributeCollection()->GetNumberOfPointCenteredComponents()+6

Reimplemented from Kitware.VTK.vtkGenericSubdivisionErrorMetric.

Standard VTK type and error macros.

Reimplemented from Kitware.VTK.vtkGenericSubdivisionErrorMetric.

Here is the call graph for this function:

Set the geometric accuracy with a squared absolute value. This is the geometric object-based accuracy. Subdivision will be required if the square distance between the real point and the straight line passing through the vertices of the edge is greater than `value'. For instance 0.01 will give better result than 0.1.

Precondition:
positive_value: value>0

Set the geometric accuracy with a value relative to the length of the bounding box of the dataset. Internally compute the absolute tolerance. For instance 0.01 will give better result than 0.1.

Precondition:
valid_range_value: value>0 && value<1
ds_exists: ds!=0
static internal double Kitware.VTK.vtkGeometricErrorMetric.vtkGeometricErrorMetric_GetError_02 ( HandleRef  pThis,
IntPtr  leftPoint,
IntPtr  midPoint,
IntPtr  rightPoint,
double  alpha 
) [private]
static internal int Kitware.VTK.vtkGeometricErrorMetric.vtkGeometricErrorMetric_GetRelative_03 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkGeometricErrorMetric.vtkGeometricErrorMetric_IsA_04 ( HandleRef  pThis,
string  type 
) [private]
static internal int Kitware.VTK.vtkGeometricErrorMetric.vtkGeometricErrorMetric_IsTypeOf_05 ( string  type) [private]
static internal IntPtr Kitware.VTK.vtkGeometricErrorMetric.vtkGeometricErrorMetric_New ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkGeometricErrorMetric.vtkGeometricErrorMetric_NewInstance_07 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal int Kitware.VTK.vtkGeometricErrorMetric.vtkGeometricErrorMetric_RequiresEdgeSubdivision_08 ( HandleRef  pThis,
IntPtr  leftPoint,
IntPtr  midPoint,
IntPtr  rightPoint,
double  alpha 
) [private]
static internal IntPtr Kitware.VTK.vtkGeometricErrorMetric.vtkGeometricErrorMetric_SafeDownCast_09 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkGeometricErrorMetric.vtkGeometricErrorMetric_SetAbsoluteGeometricTolerance_10 ( HandleRef  pThis,
double  value 
) [private]
static internal void Kitware.VTK.vtkGeometricErrorMetric.vtkGeometricErrorMetric_SetRelativeGeometricTolerance_11 ( HandleRef  pThis,
double  value,
HandleRef  ds 
) [private]

Member Data Documentation

new readonly string Kitware.VTK.vtkGeometricErrorMetric.MRClassNameKey = "23vtkGeometricErrorMetric" [static]

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkGenericSubdivisionErrorMetric.

new const string Kitware.VTK.vtkGeometricErrorMetric.MRFullTypeName = "Kitware.VTK.vtkGeometricErrorMetric"

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkGenericSubdivisionErrorMetric.


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