PlusLib  2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkPlusImplicitSplineForce Class Reference

#include <src/PlusDataCollection/Haptics/vtkPlusImplicitSplineForce.h>

Inheritance diagram for vtkPlusImplicitSplineForce:
Inheritance graph
[legend]
Collaboration diagram for vtkPlusImplicitSplineForce:
Collaboration graph
[legend]

Public Types

typedef vtkPlusForceFeedback Superclass
 
- Public Types inherited from vtkPlusForceFeedback
typedef vtkObject Superclass
 

Public Member Functions

int GenerateForce (vtkMatrix4x4 *transformMatrix, double force[3])
 
virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
virtual void PrintSelf (ostream &os, vtkIndent indent) VTK_OVERRIDE
 
int SetGamma (double gamma)
 
void SetInput (int splineId)
 
void SetInput (char *controlPnt)
 
- Public Member Functions inherited from vtkPlusForceFeedback
 ~vtkPlusForceFeedback ()
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkPlusImplicitSplineForceNew ()
 
static vtkPlusImplicitSplineForceSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkPlusForceFeedback
static int IsTypeOf (const char *type)
 
static vtkPlusForceFeedbackNew ()
 
static vtkPlusForceFeedbackSafeDownCast (vtkObject *o)
 

Protected Member Functions

double BasisFunction3 (int k, double *knot, double u, int K)
 
double BasisFunction3DerivativeD (int k, double *knot, double u, int K)
 
double CalculateDistanceBasis (double x, double y, double z, int n, int direction)
 
int CalculateDistanceDerivativeBasis (double x, double y, double z, int n, int direction, double *gradient)
 
int CalculateKnotIu (double u, double *knot, int K, int n)
 
int fnGaussValueDeriv (double a, double x, double &value, double &deriv)
 
int fnSigmoidValueDeriv (double a, double x, double &value, double &deriv)
 
int ReadFile3DBSplineKnots (const std::string &fname)
 
int ReadFileControlPoints (const std::string &fname)
 
 vtkPlusImplicitSplineForce ()
 
virtual ~vtkPlusImplicitSplineForce ()
 
- Protected Member Functions inherited from vtkPlusForceFeedback
 vtkPlusForceFeedback ()
 

Protected Attributes

std::string ControlPoints
 
double controlQ3D [DimCPoint_W][DimCPoint_V][DimCPoint_U]
 
double gammaSigmoid
 
double knot1 [NUM_INTERVALU_S+1]
 
double knot1b [DimKnot_U]
 
double knot2 [NUM_INTERVALV_S+1]
 
double knot2b [DimKnot_V]
 
double knot3 [NUM_INTERVALW_S+1]
 
double knot3b [DimKnot_W]
 
double scaleForce
 
std::string SplineKnots
 

Detailed Description

Definition at line 28 of file vtkPlusImplicitSplineForce.h.

Member Typedef Documentation

◆ Superclass

Definition at line 32 of file vtkPlusImplicitSplineForce.h.

Constructor & Destructor Documentation

◆ vtkPlusImplicitSplineForce()

vtkPlusImplicitSplineForce::vtkPlusImplicitSplineForce ( )
protected

◆ ~vtkPlusImplicitSplineForce()

vtkPlusImplicitSplineForce::~vtkPlusImplicitSplineForce ( )
protectedvirtual

Definition at line 41 of file vtkPlusImplicitSplineForce.cxx.

Member Function Documentation

◆ BasisFunction3()

double vtkPlusImplicitSplineForce::BasisFunction3 ( int  k,
double *  knot,
double  u,
int  K 
)
protected

Definition at line 345 of file vtkPlusImplicitSplineForce.cxx.

◆ BasisFunction3DerivativeD()

double vtkPlusImplicitSplineForce::BasisFunction3DerivativeD ( int  k,
double *  knot,
double  u,
int  K 
)
protected

Definition at line 431 of file vtkPlusImplicitSplineForce.cxx.

◆ CalculateDistanceBasis()

double vtkPlusImplicitSplineForce::CalculateDistanceBasis ( double  x,
double  y,
double  z,
int  n,
int  direction 
)
protected

Definition at line 545 of file vtkPlusImplicitSplineForce.cxx.

◆ CalculateDistanceDerivativeBasis()

int vtkPlusImplicitSplineForce::CalculateDistanceDerivativeBasis ( double  x,
double  y,
double  z,
int  n,
int  direction,
double *  gradient 
)
protected

Definition at line 215 of file vtkPlusImplicitSplineForce.cxx.

◆ CalculateKnotIu()

int vtkPlusImplicitSplineForce::CalculateKnotIu ( double  u,
double *  knot,
int  K,
int  n 
)
protected

Definition at line 593 of file vtkPlusImplicitSplineForce.cxx.

◆ fnGaussValueDeriv()

int vtkPlusImplicitSplineForce::fnGaussValueDeriv ( double  a,
double  x,
double &  value,
double &  deriv 
)
protected

Definition at line 192 of file vtkPlusImplicitSplineForce.cxx.

◆ fnSigmoidValueDeriv()

int vtkPlusImplicitSplineForce::fnSigmoidValueDeriv ( double  a,
double  x,
double &  value,
double &  deriv 
)
protected

Definition at line 173 of file vtkPlusImplicitSplineForce.cxx.

◆ GenerateForce()

int vtkPlusImplicitSplineForce::GenerateForce ( vtkMatrix4x4 *  transformMatrix,
double  force[3] 
)
virtual

Reimplemented from vtkPlusForceFeedback.

Definition at line 130 of file vtkPlusImplicitSplineForce.cxx.

◆ GetClassName()

virtual const char* vtkPlusImplicitSplineForce::GetClassName ( )
virtual

Reimplemented from vtkPlusForceFeedback.

◆ IsA()

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

Reimplemented from vtkPlusForceFeedback.

◆ IsTypeOf()

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

◆ New()

static vtkPlusImplicitSplineForce* vtkPlusImplicitSplineForce::New ( )
static

◆ PrintSelf()

void vtkPlusImplicitSplineForce::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual

Reimplemented from vtkPlusForceFeedback.

Definition at line 34 of file vtkPlusImplicitSplineForce.cxx.

◆ ReadFile3DBSplineKnots()

int vtkPlusImplicitSplineForce::ReadFile3DBSplineKnots ( const std::string &  fname)
protected

Definition at line 619 of file vtkPlusImplicitSplineForce.cxx.

◆ ReadFileControlPoints()

int vtkPlusImplicitSplineForce::ReadFileControlPoints ( const std::string &  fname)
protected

Definition at line 669 of file vtkPlusImplicitSplineForce.cxx.

◆ SafeDownCast()

static vtkPlusImplicitSplineForce* vtkPlusImplicitSplineForce::SafeDownCast ( vtkObject *  o)
static

◆ SetGamma()

int vtkPlusImplicitSplineForce::SetGamma ( double  gamma)

Definition at line 207 of file vtkPlusImplicitSplineForce.cxx.

◆ SetInput() [1/2]

void vtkPlusImplicitSplineForce::SetInput ( int  splineId)

Definition at line 54 of file vtkPlusImplicitSplineForce.cxx.

◆ SetInput() [2/2]

void vtkPlusImplicitSplineForce::SetInput ( char *  controlPnt)

Definition at line 47 of file vtkPlusImplicitSplineForce.cxx.

Member Data Documentation

◆ ControlPoints

std::string vtkPlusImplicitSplineForce::ControlPoints
protected

Definition at line 66 of file vtkPlusImplicitSplineForce.h.

◆ controlQ3D

double vtkPlusImplicitSplineForce::controlQ3D[DimCPoint_W][DimCPoint_V][DimCPoint_U]
protected

Definition at line 54 of file vtkPlusImplicitSplineForce.h.

◆ gammaSigmoid

double vtkPlusImplicitSplineForce::gammaSigmoid
protected

Definition at line 63 of file vtkPlusImplicitSplineForce.h.

◆ knot1

double vtkPlusImplicitSplineForce::knot1[NUM_INTERVALU_S+1]
protected

Definition at line 55 of file vtkPlusImplicitSplineForce.h.

◆ knot1b

double vtkPlusImplicitSplineForce::knot1b[DimKnot_U]
protected

Definition at line 59 of file vtkPlusImplicitSplineForce.h.

◆ knot2

double vtkPlusImplicitSplineForce::knot2[NUM_INTERVALV_S+1]
protected

Definition at line 56 of file vtkPlusImplicitSplineForce.h.

◆ knot2b

double vtkPlusImplicitSplineForce::knot2b[DimKnot_V]
protected

Definition at line 60 of file vtkPlusImplicitSplineForce.h.

◆ knot3

double vtkPlusImplicitSplineForce::knot3[NUM_INTERVALW_S+1]
protected

Definition at line 57 of file vtkPlusImplicitSplineForce.h.

◆ knot3b

double vtkPlusImplicitSplineForce::knot3b[DimKnot_W]
protected

Definition at line 61 of file vtkPlusImplicitSplineForce.h.

◆ scaleForce

double vtkPlusImplicitSplineForce::scaleForce
protected

Definition at line 64 of file vtkPlusImplicitSplineForce.h.

◆ SplineKnots

std::string vtkPlusImplicitSplineForce::SplineKnots
protected

Definition at line 65 of file vtkPlusImplicitSplineForce.h.


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