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

vtkDataSetEdgeSubdivisionCriterion - a subclass of vtkEdgeSubdivisionCriterion for vtkDataSet objects. More...

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

List of all members.

Public Member Functions

 vtkDataSetEdgeSubdivisionCriterion (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkDataSetEdgeSubdivisionCriterion ()
 Undocumented Block.
void EvaluateCellDataField (IntPtr result, IntPtr weights, int field)
 Evaluate either a cell or nodal field. This exists because of the funky way that Exodus data will be handled. Sure, it's a hack, but what are ya gonna do?
override bool EvaluateEdge (IntPtr p0, IntPtr midpt, IntPtr p1, int field_start)
 Undocumented Block.
IntPtr EvaluateFields (IntPtr vertex, IntPtr weights, int field_start)
 Evaluate all of the fields that should be output with the given vertex and store them just past the parametric coordinates of vertex, at the offsets given by vtkEdgeSubdivisionCriterion::GetFieldOffsets() plus field_start. field_start contains the number of world-space coordinates (always 3) plus the embedding dimension (the size of the parameter-space in which the cell is embedded). It will range between 3 and 6, inclusive.
void EvaluatePointDataField (IntPtr result, IntPtr weights, int field)
 Evaluate either a cell or nodal field. This exists because of the funky way that Exodus data will be handled. Sure, it's a hack, but what are ya gonna do?
virtual int GetActiveFieldCriteria ()
 Return a bitfield specifying which FieldError2 criteria are positive (i.e., actively used to decide edge subdivisions). This is stored as separate state to make subdivisions go faster.
vtkCell GetCell ()
 Return a bitfield specifying which FieldError2 criteria are positive (i.e., actively used to decide edge subdivisions). This is stored as separate state to make subdivisions go faster.
int GetCellId ()
 Return a bitfield specifying which FieldError2 criteria are positive (i.e., actively used to decide edge subdivisions). This is stored as separate state to make subdivisions go faster.
virtual double GetChordError2 ()
 Get/Set the square of the allowable chord error at any edge's midpoint. This value is used by EvaluateEdge.
double GetFieldError2 (int s)
 Get/Set the square of the allowable error magnitude for the scalar field s at any edge's midpoint. A value less than or equal to 0 indicates that the field should not be used as a criterion for subdivision.
vtkDataSet GetMesh ()
 Return a bitfield specifying which FieldError2 criteria are positive (i.e., actively used to decide edge subdivisions). This is stored as separate state to make subdivisions go faster.
override int IsA (string type)
 Undocumented Block.
new
vtkDataSetEdgeSubdivisionCriterion 
NewInstance ()
 Undocumented Block.
virtual void ResetFieldError2 ()
 Tell the subdivider not to use any field values as subdivision criteria. Effectively calls SetFieldError2( a, -1. ) for all fields.
virtual void SetCellId (int cell)
 Undocumented Block.
virtual void SetChordError2 (double _arg)
 Get/Set the square of the allowable chord error at any edge's midpoint. This value is used by EvaluateEdge.
virtual void SetFieldError2 (int s, double err)
 Get/Set the square of the allowable error magnitude for the scalar field s at any edge's midpoint. A value less than or equal to 0 indicates that the field should not be used as a criterion for subdivision.
virtual void SetMesh (vtkDataSet arg0)
 Undocumented Block.

Static Public Member Functions

static new
vtkDataSetEdgeSubdivisionCriterion 
New ()
 Undocumented Block.
static new int IsTypeOf (string type)
 Undocumented Block.
static new
vtkDataSetEdgeSubdivisionCriterion 
SafeDownCast (vtkObjectBase o)
 Undocumented Block.

Public Attributes

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

Static Public Attributes

static new readonly string MRClassNameKey = "34vtkDataSetEdgeSubdivisionCriterion"
 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 vtkDataSetEdgeSubdivisionCriterion_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkDataSetEdgeSubdivisionCriterion_EvaluateCellDataField_01 (HandleRef pThis, IntPtr result, IntPtr weights, int field)
static internal byte vtkDataSetEdgeSubdivisionCriterion_EvaluateEdge_02 (HandleRef pThis, IntPtr p0, IntPtr midpt, IntPtr p1, int field_start)
static internal IntPtr vtkDataSetEdgeSubdivisionCriterion_EvaluateFields_03 (HandleRef pThis, IntPtr vertex, IntPtr weights, int field_start)
static internal void vtkDataSetEdgeSubdivisionCriterion_EvaluatePointDataField_04 (HandleRef pThis, IntPtr result, IntPtr weights, int field)
static internal int vtkDataSetEdgeSubdivisionCriterion_GetActiveFieldCriteria_05 (HandleRef pThis)
static internal IntPtr vtkDataSetEdgeSubdivisionCriterion_GetCell_06 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkDataSetEdgeSubdivisionCriterion_GetCellId_07 (HandleRef pThis)
static internal double vtkDataSetEdgeSubdivisionCriterion_GetChordError2_08 (HandleRef pThis)
static internal double vtkDataSetEdgeSubdivisionCriterion_GetFieldError2_09 (HandleRef pThis, int s)
static internal IntPtr vtkDataSetEdgeSubdivisionCriterion_GetMesh_10 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkDataSetEdgeSubdivisionCriterion_IsA_11 (HandleRef pThis, string type)
static internal int vtkDataSetEdgeSubdivisionCriterion_IsTypeOf_12 (string type)
static internal IntPtr vtkDataSetEdgeSubdivisionCriterion_NewInstance_14 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkDataSetEdgeSubdivisionCriterion_ResetFieldError2_15 (HandleRef pThis)
static internal IntPtr vtkDataSetEdgeSubdivisionCriterion_SafeDownCast_16 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkDataSetEdgeSubdivisionCriterion_SetCellId_17 (HandleRef pThis, int cell)
static internal void vtkDataSetEdgeSubdivisionCriterion_SetChordError2_18 (HandleRef pThis, double _arg)
static internal void vtkDataSetEdgeSubdivisionCriterion_SetFieldError2_19 (HandleRef pThis, int s, double err)
static internal void vtkDataSetEdgeSubdivisionCriterion_SetMesh_20 (HandleRef pThis, HandleRef arg0)

Static Private Member Functions

static vtkDataSetEdgeSubdivisionCriterion ()
 Automatically generated type registration mechanics.

Detailed Description

vtkDataSetEdgeSubdivisionCriterion - a subclass of vtkEdgeSubdivisionCriterion for vtkDataSet objects.

Description This is a subclass of vtkEdgeSubdivisionCriterion that is used for tessellating cells of a vtkDataSet, particularly nonlinear cells.

It provides functions for setting the current cell being tessellated and a convenience routine, EvaluateFields() to evaluate field values at a point. You should call EvaluateFields() from inside EvaluateEdge() whenever the result of EvaluateEdge() will be true. Otherwise, do not call EvaluateFields() as the midpoint is about to be discarded. (<i>Implementor's note</i>: This isn't true if UGLY_ASPECT_RATIO_HACK has been defined. But in that case, we don't want the exact field values; we need the linearly interpolated ones at the midpoint for continuity.)

vtkEdgeSubdivisionCriterion


Constructor & Destructor Documentation

Automatically generated type registration mechanics.

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

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

Undocumented Block.


Member Function Documentation

override void Kitware.VTK.vtkDataSetEdgeSubdivisionCriterion.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.vtkEdgeSubdivisionCriterion.

void Kitware.VTK.vtkDataSetEdgeSubdivisionCriterion.EvaluateCellDataField ( IntPtr  result,
IntPtr  weights,
int  field 
)

Evaluate either a cell or nodal field. This exists because of the funky way that Exodus data will be handled. Sure, it's a hack, but what are ya gonna do?

override bool Kitware.VTK.vtkDataSetEdgeSubdivisionCriterion.EvaluateEdge ( IntPtr  p0,
IntPtr  midpt,
IntPtr  p1,
int  field_start 
) [virtual]

Undocumented Block.

Reimplemented from Kitware.VTK.vtkEdgeSubdivisionCriterion.

IntPtr Kitware.VTK.vtkDataSetEdgeSubdivisionCriterion.EvaluateFields ( IntPtr  vertex,
IntPtr  weights,
int  field_start 
)

Evaluate all of the fields that should be output with the given vertex and store them just past the parametric coordinates of vertex, at the offsets given by vtkEdgeSubdivisionCriterion::GetFieldOffsets() plus field_start. field_start contains the number of world-space coordinates (always 3) plus the embedding dimension (the size of the parameter-space in which the cell is embedded). It will range between 3 and 6, inclusive.

You must have called SetCellId() before calling this routine or there will not be a mesh over which to evaluate the fields.

You must have called vtkEdgeSubdivisionCriterion::PassDefaultFields() or vtkEdgeSubdivisionCriterion::PassField() or there will be no fields defined for the output vertex.

This routine is public and returns its input argument so that it may be used as an argument to vtkStreamingTessellator::AdaptivelySamplekFacet():

   ///   vtkStreamingTessellator* t = vtkStreamingTessellator::New();
   ///   vtkEdgeSubdivisionCriterion* s;
   ///   ...
   ///   t-&gt;AdaptivelySample1Facet( s-&gt;EvaluateFields( p0 ), s-&gt;EvaluateFields( p1 ) );
   ///   ...
   /// 

Although this will work, using EvaluateFields() in this manner should be avoided. It's much more efficient to fetch the corner values for each attribute and copy them into p0, p1, ... as opposed to performing shape function evaluations. The only case where you wouldn't want to do this is when the field you are interpolating is discontinuous at cell borders, such as with a discontinuous galerkin method or when all the Gauss points for quadrature are interior to the cell.

The final argument, weights, is the array of weights to apply to each point's data when interpolating the field. This is returned by vtkCell::EvaluateLocation() when evaluating the geometry.

void Kitware.VTK.vtkDataSetEdgeSubdivisionCriterion.EvaluatePointDataField ( IntPtr  result,
IntPtr  weights,
int  field 
)

Evaluate either a cell or nodal field. This exists because of the funky way that Exodus data will be handled. Sure, it's a hack, but what are ya gonna do?

Return a bitfield specifying which FieldError2 criteria are positive (i.e., actively used to decide edge subdivisions). This is stored as separate state to make subdivisions go faster.

Return a bitfield specifying which FieldError2 criteria are positive (i.e., actively used to decide edge subdivisions). This is stored as separate state to make subdivisions go faster.

Here is the call graph for this function:

Return a bitfield specifying which FieldError2 criteria are positive (i.e., actively used to decide edge subdivisions). This is stored as separate state to make subdivisions go faster.

Get/Set the square of the allowable chord error at any edge's midpoint. This value is used by EvaluateEdge.

Get/Set the square of the allowable error magnitude for the scalar field s at any edge's midpoint. A value less than or equal to 0 indicates that the field should not be used as a criterion for subdivision.

Return a bitfield specifying which FieldError2 criteria are positive (i.e., actively used to decide edge subdivisions). This is stored as separate state to make subdivisions go faster.

Here is the call graph for this function:

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

Undocumented Block.

Reimplemented from Kitware.VTK.vtkEdgeSubdivisionCriterion.

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

Undocumented Block.

Reimplemented from Kitware.VTK.vtkEdgeSubdivisionCriterion.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkEdgeSubdivisionCriterion.

Tell the subdivider not to use any field values as subdivision criteria. Effectively calls SetFieldError2( a, -1. ) for all fields.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkEdgeSubdivisionCriterion.

Here is the call graph for this function:

virtual void Kitware.VTK.vtkDataSetEdgeSubdivisionCriterion.SetCellId ( int  cell) [virtual]

Undocumented Block.

virtual void Kitware.VTK.vtkDataSetEdgeSubdivisionCriterion.SetChordError2 ( double  _arg) [virtual]

Get/Set the square of the allowable chord error at any edge's midpoint. This value is used by EvaluateEdge.

virtual void Kitware.VTK.vtkDataSetEdgeSubdivisionCriterion.SetFieldError2 ( int  s,
double  err 
) [virtual]

Get/Set the square of the allowable error magnitude for the scalar field s at any edge's midpoint. A value less than or equal to 0 indicates that the field should not be used as a criterion for subdivision.

Undocumented Block.

static internal void Kitware.VTK.vtkDataSetEdgeSubdivisionCriterion.vtkDataSetEdgeSubdivisionCriterion_EvaluateCellDataField_01 ( HandleRef  pThis,
IntPtr  result,
IntPtr  weights,
int  field 
) [private]
static internal byte Kitware.VTK.vtkDataSetEdgeSubdivisionCriterion.vtkDataSetEdgeSubdivisionCriterion_EvaluateEdge_02 ( HandleRef  pThis,
IntPtr  p0,
IntPtr  midpt,
IntPtr  p1,
int  field_start 
) [private]
static internal IntPtr Kitware.VTK.vtkDataSetEdgeSubdivisionCriterion.vtkDataSetEdgeSubdivisionCriterion_EvaluateFields_03 ( HandleRef  pThis,
IntPtr  vertex,
IntPtr  weights,
int  field_start 
) [private]
static internal void Kitware.VTK.vtkDataSetEdgeSubdivisionCriterion.vtkDataSetEdgeSubdivisionCriterion_EvaluatePointDataField_04 ( HandleRef  pThis,
IntPtr  result,
IntPtr  weights,
int  field 
) [private]
static internal IntPtr Kitware.VTK.vtkDataSetEdgeSubdivisionCriterion.vtkDataSetEdgeSubdivisionCriterion_GetCell_06 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal double Kitware.VTK.vtkDataSetEdgeSubdivisionCriterion.vtkDataSetEdgeSubdivisionCriterion_GetFieldError2_09 ( HandleRef  pThis,
int  s 
) [private]
static internal IntPtr Kitware.VTK.vtkDataSetEdgeSubdivisionCriterion.vtkDataSetEdgeSubdivisionCriterion_GetMesh_10 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal int Kitware.VTK.vtkDataSetEdgeSubdivisionCriterion.vtkDataSetEdgeSubdivisionCriterion_IsA_11 ( HandleRef  pThis,
string  type 
) [private]
static internal IntPtr Kitware.VTK.vtkDataSetEdgeSubdivisionCriterion.vtkDataSetEdgeSubdivisionCriterion_New ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkDataSetEdgeSubdivisionCriterion.vtkDataSetEdgeSubdivisionCriterion_NewInstance_14 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkDataSetEdgeSubdivisionCriterion.vtkDataSetEdgeSubdivisionCriterion_SafeDownCast_16 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkDataSetEdgeSubdivisionCriterion.vtkDataSetEdgeSubdivisionCriterion_SetCellId_17 ( HandleRef  pThis,
int  cell 
) [private]
static internal void Kitware.VTK.vtkDataSetEdgeSubdivisionCriterion.vtkDataSetEdgeSubdivisionCriterion_SetChordError2_18 ( HandleRef  pThis,
double  _arg 
) [private]
static internal void Kitware.VTK.vtkDataSetEdgeSubdivisionCriterion.vtkDataSetEdgeSubdivisionCriterion_SetFieldError2_19 ( HandleRef  pThis,
int  s,
double  err 
) [private]
static internal void Kitware.VTK.vtkDataSetEdgeSubdivisionCriterion.vtkDataSetEdgeSubdivisionCriterion_SetMesh_20 ( HandleRef  pThis,
HandleRef  arg0 
) [private]

Member Data Documentation

new readonly string Kitware.VTK.vtkDataSetEdgeSubdivisionCriterion.MRClassNameKey = "34vtkDataSetEdgeSubdivisionCriterion" [static]

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkEdgeSubdivisionCriterion.

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

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkEdgeSubdivisionCriterion.


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