class ntcMath : public vtkMath
Description:
ntcMath defines a few functions often used in the library
Inheritance:
Public Methods
-
ntcImplicitFunction()
ntcImplicitFunction( ntcFunction *f )
~ntcImplicitFunction()
static ntcImplicitFunction* New()
static ntcImplicitFunction* New( ntcFunction *f )
const char* GetClassName()
void SetFunction( ntcFunction *function )
void GetFunction( ntcFunction *function )
ntcFunction* GetFunction()
float EvaluateFunction( float x[3] )
void EvaluateGradient( float x[3], float n[3] )
float* EvaluateGradient( float x[3] )
void EvaluateHessian(float x[3], float **h )
float EvaluateCurvature( float x[3] )
static float zero( float x[3] )
static float zeroPar( float x[3], float **par )
static int isZero( int *x, int xSize )
static void CrossProduct(int x[3], int y[3], int z[3])
static float uno( float x[3] )
static float distance( float x[3], float y[3] )
static float distance2( float x[3], float y[3] )
static int hcf( int a, int b )
static int hcf( int a, int b, int c )
static int hcf( int *v, int n )
static int hcf( vtkIntArray *v )
static int hcf( int a[3] )
static void EuclideanAlgorithm( int a, int b, int &A, int &B )
static float NormOf( int v[3] )
static void Reduce( int E[3], int F[3] )
static float GetEquivalentPoint( float a )
Public
Protected Fields
ntcFunction* Function
ntcHF* Hom
ntcHOM* Homol
ntcHomMet* HomMet
Documentation
ntcMath defines a few functions often used in the library
ntcImplicitFunction()
ntcImplicitFunction( ntcFunction *f )
~ntcImplicitFunction()
static ntcImplicitFunction* New()
static ntcImplicitFunction* New( ntcFunction *f )
const char* GetClassName()
void SetFunction( ntcFunction *function )
void GetFunction( ntcFunction *function )
ntcFunction* GetFunction()
float EvaluateFunction( float x[3] )
void EvaluateGradient( float x[3], float n[3] )
float* EvaluateGradient( float x[3] )
void EvaluateHessian(float x[3], float **h )
-
float EvaluateCurvature( float x[3] )
-
ntcFunction* Function
ntcHF* Hom
ntcHOM* Homol
ntcHomMet* HomMet
static float zero( float x[3] )
- zero Function
static float zeroPar( float x[3], float **par )
static int isZero( int *x, int xSize )
static void CrossProduct(int x[3], int y[3], int z[3])
- Cross product of two integer vectors
static float uno( float x[3] )
- Unit Function
static float distance( float x[3], float y[3] )
- Euclidean distance between 2 points
static float distance2( float x[3], float y[3] )
- Euclidean distance between 2 points
static int hcf( int a, int b )
- Greatest common divisor of 2 integers
static int hcf( int a, int b, int c )
- Greatest common divisor of 3 integers
static int hcf( int *v, int n )
- Greatest common divisor of n integers
static int hcf( vtkIntArray *v )
- Greatest common divisor of an array of integers
static int hcf( int a[3] )
- Greatest common divisor of 3 integers
static void EuclideanAlgorithm( int a, int b, int &A, int &B )
- Given 2 integers a & b returns 2 integers A & B s.t. aA + bB = 1
static float NormOf( int v[3] )
- Euclidean Norm of a Vector
static void Reduce( int E[3], int F[3] )
- Algorithm that takes off F from E until the vector E - F stops getting smaller
static float GetEquivalentPoint( float a )
- Gives the equivalent point modulo 1 between -1/2 and 1/2
- This class has no child classes.
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de