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.vtkGenericSubdivisionErrorMetric Class Reference

vtkGenericSubdivisionErrorMetric - Objects that compute error during cell tessellation. More...

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

List of all members.

Public Member Functions

 vtkGenericSubdivisionErrorMetric (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
virtual vtkGenericDataSet GetDataSet ()
 Set/Get the dataset to be tessellated.
virtual 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 vtkGenericAdaptorCell GetGenericCell ()
 The cell that the edge belongs to.
override int IsA (string type)
 Standard VTK type and error macros.
new
vtkGenericSubdivisionErrorMetric 
NewInstance ()
 Standard VTK type and error macros.
virtual int RequiresEdgeSubdivision (IntPtr leftPoint, IntPtr midPoint, IntPtr rightPoint, double alpha)
 Does the edge need to be subdivided according to the implemented computation? 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 SetDataSet (vtkGenericDataSet ds)
 Set/Get the dataset to be tessellated.
void SetGenericCell (vtkGenericAdaptorCell cell)
 The cell that the edge belongs to.

Static Public Member Functions

static new int IsTypeOf (string type)
 Standard VTK type and error macros.
static new
vtkGenericSubdivisionErrorMetric 
SafeDownCast (vtkObjectBase o)
 Standard VTK type and error macros.

Public Attributes

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

Static Public Attributes

static new readonly string MRClassNameKey = "32vtkGenericSubdivisionErrorMetric"
 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 vtkGenericSubdivisionErrorMetric_GetDataSet_01 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal double vtkGenericSubdivisionErrorMetric_GetError_02 (HandleRef pThis, IntPtr leftPoint, IntPtr midPoint, IntPtr rightPoint, double alpha)
static internal IntPtr vtkGenericSubdivisionErrorMetric_GetGenericCell_03 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkGenericSubdivisionErrorMetric_IsA_04 (HandleRef pThis, string type)
static internal int vtkGenericSubdivisionErrorMetric_IsTypeOf_05 (string type)
static internal IntPtr vtkGenericSubdivisionErrorMetric_NewInstance_06 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkGenericSubdivisionErrorMetric_RequiresEdgeSubdivision_07 (HandleRef pThis, IntPtr leftPoint, IntPtr midPoint, IntPtr rightPoint, double alpha)
static internal IntPtr vtkGenericSubdivisionErrorMetric_SafeDownCast_08 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkGenericSubdivisionErrorMetric_SetDataSet_09 (HandleRef pThis, HandleRef ds)
static internal void vtkGenericSubdivisionErrorMetric_SetGenericCell_10 (HandleRef pThis, HandleRef cell)

Static Private Member Functions

static vtkGenericSubdivisionErrorMetric ()
 Automatically generated type registration mechanics.

Detailed Description

vtkGenericSubdivisionErrorMetric - Objects that compute error during cell tessellation.

Description Objects of that class answer the following question during the cell subdivision: "does the edge need to be subdivided?" through RequiresEdgeSubdivision(). The answer depends on the criterium actually used in the subclass of this abstract class: a geometric-based error metric (variation of edge from a straight line), an attribute-based error metric (variation of the active attribute/component value from a linear ramp) , a view-depend error metric, ... Cell subdivision is performed in the context of the adaptor framework: higher-order, or complex cells, are automatically tessellated into simplices so that they can be processed with conventional visualization algorithms.


Constructor & Destructor Documentation

Automatically generated type registration mechanics.

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

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


Member Function Documentation

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

Reimplemented in Kitware.VTK.vtkSmoothErrorMetric, Kitware.VTK.vtkViewDependentErrorMetric, Kitware.VTK.vtkAttributesErrorMetric, and Kitware.VTK.vtkGeometricErrorMetric.

Set/Get the dataset to be tessellated.

Here is the call graph for this function:

virtual double Kitware.VTK.vtkGenericSubdivisionErrorMetric.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.

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 in Kitware.VTK.vtkAttributesErrorMetric, Kitware.VTK.vtkSmoothErrorMetric, Kitware.VTK.vtkGeometricErrorMetric, and Kitware.VTK.vtkViewDependentErrorMetric.

The cell that the edge belongs to.

Here is the call graph for this function:

override int Kitware.VTK.vtkGenericSubdivisionErrorMetric.IsA ( string  type) [virtual]
static new int Kitware.VTK.vtkGenericSubdivisionErrorMetric.IsTypeOf ( string  type) [static]
virtual int Kitware.VTK.vtkGenericSubdivisionErrorMetric.RequiresEdgeSubdivision ( IntPtr  leftPoint,
IntPtr  midPoint,
IntPtr  rightPoint,
double  alpha 
) [virtual]

Does the edge need to be subdivided according to the implemented computation? 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 in Kitware.VTK.vtkViewDependentErrorMetric, Kitware.VTK.vtkAttributesErrorMetric, Kitware.VTK.vtkGeometricErrorMetric, and Kitware.VTK.vtkSmoothErrorMetric.

Standard VTK type and error macros.

Reimplemented from Kitware.VTK.vtkObject.

Reimplemented in Kitware.VTK.vtkViewDependentErrorMetric, Kitware.VTK.vtkAttributesErrorMetric, Kitware.VTK.vtkGeometricErrorMetric, and Kitware.VTK.vtkSmoothErrorMetric.

Here is the call graph for this function:

Set/Get the dataset to be tessellated.

The cell that the edge belongs to.

static internal IntPtr Kitware.VTK.vtkGenericSubdivisionErrorMetric.vtkGenericSubdivisionErrorMetric_GetDataSet_01 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal double Kitware.VTK.vtkGenericSubdivisionErrorMetric.vtkGenericSubdivisionErrorMetric_GetError_02 ( HandleRef  pThis,
IntPtr  leftPoint,
IntPtr  midPoint,
IntPtr  rightPoint,
double  alpha 
) [private]
static internal IntPtr Kitware.VTK.vtkGenericSubdivisionErrorMetric.vtkGenericSubdivisionErrorMetric_GetGenericCell_03 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal int Kitware.VTK.vtkGenericSubdivisionErrorMetric.vtkGenericSubdivisionErrorMetric_IsA_04 ( HandleRef  pThis,
string  type 
) [private]
static internal IntPtr Kitware.VTK.vtkGenericSubdivisionErrorMetric.vtkGenericSubdivisionErrorMetric_NewInstance_06 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal int Kitware.VTK.vtkGenericSubdivisionErrorMetric.vtkGenericSubdivisionErrorMetric_RequiresEdgeSubdivision_07 ( HandleRef  pThis,
IntPtr  leftPoint,
IntPtr  midPoint,
IntPtr  rightPoint,
double  alpha 
) [private]
static internal IntPtr Kitware.VTK.vtkGenericSubdivisionErrorMetric.vtkGenericSubdivisionErrorMetric_SafeDownCast_08 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkGenericSubdivisionErrorMetric.vtkGenericSubdivisionErrorMetric_SetDataSet_09 ( HandleRef  pThis,
HandleRef  ds 
) [private]
static internal void Kitware.VTK.vtkGenericSubdivisionErrorMetric.vtkGenericSubdivisionErrorMetric_SetGenericCell_10 ( HandleRef  pThis,
HandleRef  cell 
) [private]

Member Data Documentation

new readonly string Kitware.VTK.vtkGenericSubdivisionErrorMetric.MRClassNameKey = "32vtkGenericSubdivisionErrorMetric" [static]
new const string Kitware.VTK.vtkGenericSubdivisionErrorMetric.MRFullTypeName = "Kitware.VTK.vtkGenericSubdivisionErrorMetric"

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