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

vtkKMeansDistanceFunctorCalculator - measure distance from k-means cluster centers using a user-specified expression More...

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

List of all members.

Public Member Functions

 vtkKMeansDistanceFunctorCalculator (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkKMeansDistanceFunctorCalculator ()
 Undocumented Block.
virtual string GetDistanceExpression ()
 Set/get the distance function expression.
virtual vtkFunctionParser GetFunctionParser ()
 Set/get the string containing an expression which evaluates to the distance metric used for k-means computation. The scalar variables "x0", "x1", ... "xn" and "y0", "y1", ..., "yn" refer to the coordinates involved in the computation.
override int IsA (string type)
 Undocumented Block.
new
vtkKMeansDistanceFunctorCalculator 
NewInstance ()
 Undocumented Block.
virtual void SetDistanceExpression (string _arg)
 Set/get the distance function expression.
virtual void SetFunctionParser (vtkFunctionParser arg0)
 Set/get the string containing an expression which evaluates to the distance metric used for k-means computation. The scalar variables "x0", "x1", ... "xn" and "y0", "y1", ..., "yn" refer to the coordinates involved in the computation.

Static Public Member Functions

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

Public Attributes

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

Static Public Attributes

static new readonly string MRClassNameKey = "34vtkKMeansDistanceFunctorCalculator"
 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 vtkKMeansDistanceFunctorCalculator_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkKMeansDistanceFunctorCalculator_GetDistanceExpression_01 (HandleRef pThis)
static internal IntPtr vtkKMeansDistanceFunctorCalculator_GetFunctionParser_02 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkKMeansDistanceFunctorCalculator_IsA_03 (HandleRef pThis, string type)
static internal int vtkKMeansDistanceFunctorCalculator_IsTypeOf_04 (string type)
static internal IntPtr vtkKMeansDistanceFunctorCalculator_NewInstance_06 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkKMeansDistanceFunctorCalculator_SafeDownCast_07 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkKMeansDistanceFunctorCalculator_SetDistanceExpression_08 (HandleRef pThis, string _arg)
static internal void vtkKMeansDistanceFunctorCalculator_SetFunctionParser_09 (HandleRef pThis, HandleRef arg0)

Static Private Member Functions

static vtkKMeansDistanceFunctorCalculator ()
 Automatically generated type registration mechanics.

Detailed Description

vtkKMeansDistanceFunctorCalculator - measure distance from k-means cluster centers using a user-specified expression

Description This is a subclass of the default k-means distance functor that allows the user to specify a distance function as a string. The provided expression is evaluated whenever the parenthesis operator is invoked but this is much slower than the default distance calculation.

User-specified distance expressions should be written in terms of two vector variables named "x" and "y". The length of the vectors will be determined by the k-means request and all columns of interest in the request must contain values that may be converted to a floating point representation. (Strings and vtkObject pointers are not allowed.) An example distance expression is "sqrt( (x0-y0)^2 + (x1-y1)^2 )" which computes Euclidian distance in a plane defined by the first 2 coordinates of the vectors specified.


Constructor & Destructor Documentation

Automatically generated type registration mechanics.

Kitware.VTK.vtkKMeansDistanceFunctorCalculator.vtkKMeansDistanceFunctorCalculator ( 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.vtkKMeansDistanceFunctorCalculator.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.vtkKMeansDistanceFunctor.

Set/get the distance function expression.

Set/get the string containing an expression which evaluates to the distance metric used for k-means computation. The scalar variables "x0", "x1", ... "xn" and "y0", "y1", ..., "yn" refer to the coordinates involved in the computation.

Here is the call graph for this function:

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

Undocumented Block.

Reimplemented from Kitware.VTK.vtkKMeansDistanceFunctor.

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

Undocumented Block.

Reimplemented from Kitware.VTK.vtkKMeansDistanceFunctor.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkKMeansDistanceFunctor.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkKMeansDistanceFunctor.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkKMeansDistanceFunctor.

Here is the call graph for this function:

Set/get the distance function expression.

Set/get the string containing an expression which evaluates to the distance metric used for k-means computation. The scalar variables "x0", "x1", ... "xn" and "y0", "y1", ..., "yn" refer to the coordinates involved in the computation.

static internal IntPtr Kitware.VTK.vtkKMeansDistanceFunctorCalculator.vtkKMeansDistanceFunctorCalculator_GetFunctionParser_02 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal int Kitware.VTK.vtkKMeansDistanceFunctorCalculator.vtkKMeansDistanceFunctorCalculator_IsA_03 ( HandleRef  pThis,
string  type 
) [private]
static internal IntPtr Kitware.VTK.vtkKMeansDistanceFunctorCalculator.vtkKMeansDistanceFunctorCalculator_New ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkKMeansDistanceFunctorCalculator.vtkKMeansDistanceFunctorCalculator_NewInstance_06 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkKMeansDistanceFunctorCalculator.vtkKMeansDistanceFunctorCalculator_SafeDownCast_07 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkKMeansDistanceFunctorCalculator.vtkKMeansDistanceFunctorCalculator_SetDistanceExpression_08 ( HandleRef  pThis,
string  _arg 
) [private]
static internal void Kitware.VTK.vtkKMeansDistanceFunctorCalculator.vtkKMeansDistanceFunctorCalculator_SetFunctionParser_09 ( HandleRef  pThis,
HandleRef  arg0 
) [private]

Member Data Documentation

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

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkKMeansDistanceFunctor.

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

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkKMeansDistanceFunctor.


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