ActiViz .NET
5.8.0
|
vtkViewDependentErrorMetric - Objects that compute a screen-based error during cell tessellation. More...
Public Member Functions | |
vtkViewDependentErrorMetric (IntPtr rawCppThis, bool callDisposalMethod, bool strong) | |
Automatically generated constructor - called from generated code. DO NOT call directly. | |
vtkViewDependentErrorMetric () | |
Construct the error metric with a default squared screen-based geometric accuracy measured in pixels equal to 0.25 (0.5^2). | |
override double | GetError (IntPtr leftPoint, IntPtr midPoint, IntPtr rightPoint, double alpha) |
Return the error at the mid-point. The type of error depends on the state of the concrete error metric. For instance, it can return an absolute or relative error metric. See RequiresEdgeSubdivision() for a description of the arguments. | |
virtual double | GetPixelTolerance () |
Return the squared screen-based geometric accurary measured in pixels. An accuracy less or equal to 0.25 (0.5^2) ensures that the screen-space interpolation of a mid-point matchs exactly with the projection of the mid-point (a value less than 1 but greater than 0.25 is not enough, because of 8-neighbors). Maybe it is useful for lower accuracy in case of anti-aliasing? | |
virtual vtkViewport | GetViewport () |
Set/Get the renderer with `renderer' on which the error metric is based. The error metric use the active camera of the renderer. | |
override int | IsA (string type) |
Standard VTK type and error macros. | |
new vtkViewDependentErrorMetric | 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 in screen space and the projection of its 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 | SetPixelTolerance (double value) |
Set the squared screen-based geometric accuracy measured in pixels. Subdivision will be required if the square distance between the projection of the real point and the straight line passing through the projection of the vertices of the edge is greater than `value'. For instance, 0.25 will give better result than 1. | |
void | SetViewport (vtkViewport viewport) |
Set/Get the renderer with `renderer' on which the error metric is based. The error metric use the active camera of the renderer. | |
Static Public Member Functions | |
static new vtkViewDependentErrorMetric | New () |
Construct the error metric with a default squared screen-based geometric accuracy measured in pixels equal to 0.25 (0.5^2). | |
static new int | IsTypeOf (string type) |
Standard VTK type and error macros. | |
static new vtkViewDependentErrorMetric | SafeDownCast (vtkObjectBase o) |
Standard VTK type and error macros. | |
Public Attributes | |
new const string | MRFullTypeName = "Kitware.VTK.vtkViewDependentErrorMetric" |
Automatically generated type registration mechanics. | |
Static Public Attributes | |
static new readonly string | MRClassNameKey = "27vtkViewDependentErrorMetric" |
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 | vtkViewDependentErrorMetric_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal double | vtkViewDependentErrorMetric_GetError_01 (HandleRef pThis, IntPtr leftPoint, IntPtr midPoint, IntPtr rightPoint, double alpha) |
static internal double | vtkViewDependentErrorMetric_GetPixelTolerance_02 (HandleRef pThis) |
static internal IntPtr | vtkViewDependentErrorMetric_GetViewport_03 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal int | vtkViewDependentErrorMetric_IsA_04 (HandleRef pThis, string type) |
static internal int | vtkViewDependentErrorMetric_IsTypeOf_05 (string type) |
static internal IntPtr | vtkViewDependentErrorMetric_NewInstance_07 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal int | vtkViewDependentErrorMetric_RequiresEdgeSubdivision_08 (HandleRef pThis, IntPtr leftPoint, IntPtr midPoint, IntPtr rightPoint, double alpha) |
static internal IntPtr | vtkViewDependentErrorMetric_SafeDownCast_09 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal void | vtkViewDependentErrorMetric_SetPixelTolerance_10 (HandleRef pThis, double value) |
static internal void | vtkViewDependentErrorMetric_SetViewport_11 (HandleRef pThis, HandleRef viewport) |
Static Private Member Functions | |
static | vtkViewDependentErrorMetric () |
Automatically generated type registration mechanics. |
vtkViewDependentErrorMetric - Objects that compute a screen-based error during cell tessellation.
Description It is a concrete error metric, based on a geometric criterium in the screen space: the variation of the projected edge from a projected straight line
static Kitware.VTK.vtkViewDependentErrorMetric.vtkViewDependentErrorMetric | ( | ) | [static, private] |
Automatically generated type registration mechanics.
Kitware.VTK.vtkViewDependentErrorMetric.vtkViewDependentErrorMetric | ( | 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 screen-based geometric accuracy measured in pixels equal to 0.25 (0.5^2).
override void Kitware.VTK.vtkViewDependentErrorMetric.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.
override double Kitware.VTK.vtkViewDependentErrorMetric.GetError | ( | IntPtr | leftPoint, |
IntPtr | midPoint, | ||
IntPtr | rightPoint, | ||
double | alpha | ||
) | [virtual] |
Return the error at the mid-point. The type of error depends on the state of the concrete error metric. For instance, it can return an absolute or relative error metric. See RequiresEdgeSubdivision() for a description of the arguments.
Reimplemented from Kitware.VTK.vtkGenericSubdivisionErrorMetric.
virtual double Kitware.VTK.vtkViewDependentErrorMetric.GetPixelTolerance | ( | ) | [virtual] |
Return the squared screen-based geometric accurary measured in pixels. An accuracy less or equal to 0.25 (0.5^2) ensures that the screen-space interpolation of a mid-point matchs exactly with the projection of the mid-point (a value less than 1 but greater than 0.25 is not enough, because of 8-neighbors). Maybe it is useful for lower accuracy in case of anti-aliasing?
virtual vtkViewport Kitware.VTK.vtkViewDependentErrorMetric.GetViewport | ( | ) | [virtual] |
Set/Get the renderer with `renderer' on which the error metric is based. The error metric use the active camera of the renderer.
override int Kitware.VTK.vtkViewDependentErrorMetric.IsA | ( | string | type | ) | [virtual] |
Standard VTK type and error macros.
Reimplemented from Kitware.VTK.vtkGenericSubdivisionErrorMetric.
static new int Kitware.VTK.vtkViewDependentErrorMetric.IsTypeOf | ( | string | type | ) | [static] |
Standard VTK type and error macros.
Reimplemented from Kitware.VTK.vtkGenericSubdivisionErrorMetric.
static new vtkViewDependentErrorMetric Kitware.VTK.vtkViewDependentErrorMetric.New | ( | ) | [static] |
Construct the error metric with a default squared screen-based geometric accuracy measured in pixels equal to 0.25 (0.5^2).
Reimplemented from Kitware.VTK.vtkObject.
Standard VTK type and error macros.
Reimplemented from Kitware.VTK.vtkGenericSubdivisionErrorMetric.
override int Kitware.VTK.vtkViewDependentErrorMetric.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 in screen space and the projection of its 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)
Reimplemented from Kitware.VTK.vtkGenericSubdivisionErrorMetric.
static new vtkViewDependentErrorMetric Kitware.VTK.vtkViewDependentErrorMetric.SafeDownCast | ( | vtkObjectBase | o | ) | [static] |
Standard VTK type and error macros.
Reimplemented from Kitware.VTK.vtkGenericSubdivisionErrorMetric.
void Kitware.VTK.vtkViewDependentErrorMetric.SetPixelTolerance | ( | double | value | ) |
Set the squared screen-based geometric accuracy measured in pixels. Subdivision will be required if the square distance between the projection of the real point and the straight line passing through the projection of the vertices of the edge is greater than `value'. For instance, 0.25 will give better result than 1.
void Kitware.VTK.vtkViewDependentErrorMetric.SetViewport | ( | vtkViewport | viewport | ) |
Set/Get the renderer with `renderer' on which the error metric is based. The error metric use the active camera of the renderer.
static internal double Kitware.VTK.vtkViewDependentErrorMetric.vtkViewDependentErrorMetric_GetError_01 | ( | HandleRef | pThis, |
IntPtr | leftPoint, | ||
IntPtr | midPoint, | ||
IntPtr | rightPoint, | ||
double | alpha | ||
) | [private] |
static internal double Kitware.VTK.vtkViewDependentErrorMetric.vtkViewDependentErrorMetric_GetPixelTolerance_02 | ( | HandleRef | pThis | ) | [private] |
static internal IntPtr Kitware.VTK.vtkViewDependentErrorMetric.vtkViewDependentErrorMetric_GetViewport_03 | ( | HandleRef | pThis, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal int Kitware.VTK.vtkViewDependentErrorMetric.vtkViewDependentErrorMetric_IsA_04 | ( | HandleRef | pThis, |
string | type | ||
) | [private] |
static internal int Kitware.VTK.vtkViewDependentErrorMetric.vtkViewDependentErrorMetric_IsTypeOf_05 | ( | string | type | ) | [private] |
static internal IntPtr Kitware.VTK.vtkViewDependentErrorMetric.vtkViewDependentErrorMetric_New | ( | ref uint | mteStatus, |
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkViewDependentErrorMetric.vtkViewDependentErrorMetric_NewInstance_07 | ( | HandleRef | pThis, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal int Kitware.VTK.vtkViewDependentErrorMetric.vtkViewDependentErrorMetric_RequiresEdgeSubdivision_08 | ( | HandleRef | pThis, |
IntPtr | leftPoint, | ||
IntPtr | midPoint, | ||
IntPtr | rightPoint, | ||
double | alpha | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkViewDependentErrorMetric.vtkViewDependentErrorMetric_SafeDownCast_09 | ( | HandleRef | o, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal void Kitware.VTK.vtkViewDependentErrorMetric.vtkViewDependentErrorMetric_SetPixelTolerance_10 | ( | HandleRef | pThis, |
double | value | ||
) | [private] |
static internal void Kitware.VTK.vtkViewDependentErrorMetric.vtkViewDependentErrorMetric_SetViewport_11 | ( | HandleRef | pThis, |
HandleRef | viewport | ||
) | [private] |
new readonly string Kitware.VTK.vtkViewDependentErrorMetric.MRClassNameKey = "27vtkViewDependentErrorMetric" [static] |
Automatically generated type registration mechanics.
Reimplemented from Kitware.VTK.vtkGenericSubdivisionErrorMetric.
new const string Kitware.VTK.vtkViewDependentErrorMetric.MRFullTypeName = "Kitware.VTK.vtkViewDependentErrorMetric" |
Automatically generated type registration mechanics.
Reimplemented from Kitware.VTK.vtkGenericSubdivisionErrorMetric.