VMTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | List of all members
vtkvmtkMath Class Reference

Static utility mathematical functions included to avoid repeating ourselves. More...

#include <vtkvmtkMath.h>

Inheritance diagram for vtkvmtkMath:
[legend]
Collaboration diagram for vtkvmtkMath:
[legend]

Public Types

typedef vtkObject Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkvmtkMathNewInstance () const
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkvmtkMathSafeDownCast (vtkObjectBase *o)
 
static vtkvmtkMathNew ()
 
static double Cotangent (double point0[3], double point1[3], double point2[3])
 
static double TriangleArea (double point0[3], double point1[3], double point2[3])
 
static int IsAngleObtuse (double point0[3], double point1[3], double point2[3])
 
static int IsTriangleObtuse (double point0[3], double point1[3], double point2[3])
 
static double VoronoiSectorArea (double point0[3], double point1[3], double point2[3])
 
static double TriangleGradient (double point0[3], double point1[3], double point2[3], double scalar0, double scalar1, double scalar2, double gradient[3])
 
static void TwoSphereIntersection (double center0[3], double radius0, double center1[3], double radius1, double origin[3], double normal[3])
 
static double AngleBetweenNormals (double normal0[3], double normal1[3])
 
static double EvaluateSphereFunction (double center[3], double radius, double point[3])
 

Protected Member Functions

virtual vtkObjectBase * NewInstanceInternal () const
 
 vtkvmtkMath ()
 
 ~vtkvmtkMath ()
 

Static Protected Member Functions

static double GetTolerance (float cookie)
 
static double GetTolerance (double cookie)
 
static double GetLarge (float cookie)
 
static double GetLarge (double cookie)
 

Detailed Description

Static utility mathematical functions included to avoid repeating ourselves.

Date
2006/04/06 16:46:43
Revision
1.4

All arguments expect doubles.

Definition at line 40 of file vtkvmtkMath.h.

Member Typedef Documentation

◆ Superclass

typedef vtkObject vtkvmtkMath::Superclass

Definition at line 44 of file vtkvmtkMath.h.

Constructor & Destructor Documentation

◆ vtkvmtkMath()

vtkvmtkMath::vtkvmtkMath ( )
inlineprotected

Definition at line 59 of file vtkvmtkMath.h.

59 {};

◆ ~vtkvmtkMath()

vtkvmtkMath::~vtkvmtkMath ( )
inlineprotected

Definition at line 60 of file vtkvmtkMath.h.

60 {};

Member Function Documentation

◆ IsTypeOf()

static int vtkvmtkMath::IsTypeOf ( const char *  type)
static

◆ IsA()

virtual int vtkvmtkMath::IsA ( const char *  type)
virtual

◆ SafeDownCast()

static vtkvmtkMath* vtkvmtkMath::SafeDownCast ( vtkObjectBase *  o)
static

◆ NewInstanceInternal()

virtual vtkObjectBase* vtkvmtkMath::NewInstanceInternal ( ) const
protectedvirtual

◆ NewInstance()

vtkvmtkMath* vtkvmtkMath::NewInstance ( ) const

◆ New()

static vtkvmtkMath* vtkvmtkMath::New ( )
static

◆ Cotangent()

static double vtkvmtkMath::Cotangent ( double  point0[3],
double  point1[3],
double  point2[3] 
)
static

◆ TriangleArea()

static double vtkvmtkMath::TriangleArea ( double  point0[3],
double  point1[3],
double  point2[3] 
)
static

◆ IsAngleObtuse()

static int vtkvmtkMath::IsAngleObtuse ( double  point0[3],
double  point1[3],
double  point2[3] 
)
static

◆ IsTriangleObtuse()

static int vtkvmtkMath::IsTriangleObtuse ( double  point0[3],
double  point1[3],
double  point2[3] 
)
static

◆ VoronoiSectorArea()

static double vtkvmtkMath::VoronoiSectorArea ( double  point0[3],
double  point1[3],
double  point2[3] 
)
static

◆ TriangleGradient()

static double vtkvmtkMath::TriangleGradient ( double  point0[3],
double  point1[3],
double  point2[3],
double  scalar0,
double  scalar1,
double  scalar2,
double  gradient[3] 
)
static

◆ TwoSphereIntersection()

static void vtkvmtkMath::TwoSphereIntersection ( double  center0[3],
double  radius0,
double  center1[3],
double  radius1,
double  origin[3],
double  normal[3] 
)
static

◆ AngleBetweenNormals()

static double vtkvmtkMath::AngleBetweenNormals ( double  normal0[3],
double  normal1[3] 
)
static

◆ EvaluateSphereFunction()

static double vtkvmtkMath::EvaluateSphereFunction ( double  center[3],
double  radius,
double  point[3] 
)
static

◆ GetTolerance() [1/2]

static double vtkvmtkMath::GetTolerance ( float  cookie)
inlinestaticprotected

Definition at line 62 of file vtkvmtkMath.h.

63  {
64  return VTK_VMTK_FLOAT_TOL;
65  }
#define VTK_VMTK_FLOAT_TOL

◆ GetTolerance() [2/2]

static double vtkvmtkMath::GetTolerance ( double  cookie)
inlinestaticprotected

Definition at line 67 of file vtkvmtkMath.h.

68  {
69  return VTK_VMTK_DOUBLE_TOL;
70  }
#define VTK_VMTK_DOUBLE_TOL

◆ GetLarge() [1/2]

static double vtkvmtkMath::GetLarge ( float  cookie)
inlinestaticprotected

Definition at line 72 of file vtkvmtkMath.h.

73  {
74  return VTK_VMTK_LARGE_FLOAT;
75  }
#define VTK_VMTK_LARGE_FLOAT

◆ GetLarge() [2/2]

static double vtkvmtkMath::GetLarge ( double  cookie)
inlinestaticprotected

Definition at line 77 of file vtkvmtkMath.h.

78  {
79  return VTK_VMTK_LARGE_DOUBLE;
80  }
#define VTK_VMTK_LARGE_DOUBLE

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