UnityMol  0.9.6-875
UnityMol viewer / In developement
GenInterpolationPoint Class Reference

Classes

class  SplineNode
 

Public Member Functions

void CalculateSpline ()
 
Vector3 GetHermiteInternal (int idxFirstPoint, float t)
 
Vector3 GetHermiteAtTime (float timeParam)
 

Public Attributes

GameObject SplineParent
 
float Duration = 1.0f
 
int lineCount =1000
 
ArrayList InputKeyNodes
 
List< string > InputTypeArray
 
List< float[]> OutputKeyNodes
 
List< string > OutputTypeArray
 
GameObject temp
 
float moveSpeed =10f
 

Static Public Attributes

static int smoothnessFactor = 8
 

Private Member Functions

void SetupSplineInterpolator ()
 

Private Attributes

List< SplineNodemNodes
 
Vector3 NextPos
 
Vector3 CurPos
 
Quaternion CurRot
 
Quaternion NextRot
 
Vector3[] Nodes
 

Detailed Description

Definition at line 70 of file GenInterpolationPoint.cs.

Member Function Documentation

void GenInterpolationPoint.CalculateSpline ( )

Definition at line 101 of file GenInterpolationPoint.cs.

References GetHermiteAtTime(), lineCount, SetupSplineInterpolator(), and smoothnessFactor.

Referenced by GenInterpolationArray.CalculateSplineArray().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Vector3 GenInterpolationPoint.GetHermiteAtTime ( float  timeParam)

Definition at line 163 of file GenInterpolationPoint.cs.

References MathUtils.Ease(), and GetHermiteInternal().

Referenced by CalculateSpline().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Vector3 GenInterpolationPoint.GetHermiteInternal ( int  idxFirstPoint,
float  t 
)

Definition at line 142 of file GenInterpolationPoint.cs.

Referenced by GetHermiteAtTime().

+ Here is the caller graph for this function:

void GenInterpolationPoint.SetupSplineInterpolator ( )
private

Definition at line 124 of file GenInterpolationPoint.cs.

Referenced by CalculateSpline().

+ Here is the caller graph for this function:

Member Data Documentation

Vector3 GenInterpolationPoint.CurPos
private

Definition at line 94 of file GenInterpolationPoint.cs.

Quaternion GenInterpolationPoint.CurRot
private

Definition at line 95 of file GenInterpolationPoint.cs.

float GenInterpolationPoint.Duration = 1.0f

Definition at line 74 of file GenInterpolationPoint.cs.

ArrayList GenInterpolationPoint.InputKeyNodes

Definition at line 76 of file GenInterpolationPoint.cs.

Referenced by GenInterpolationArray.CalculateSplineArray().

List<string> GenInterpolationPoint.InputTypeArray

Definition at line 77 of file GenInterpolationPoint.cs.

Referenced by GenInterpolationArray.CalculateSplineArray().

int GenInterpolationPoint.lineCount =1000

Definition at line 75 of file GenInterpolationPoint.cs.

Referenced by CalculateSpline().

List<SplineNode> GenInterpolationPoint.mNodes
private

Definition at line 82 of file GenInterpolationPoint.cs.

float GenInterpolationPoint.moveSpeed =10f

Definition at line 89 of file GenInterpolationPoint.cs.

Vector3 GenInterpolationPoint.NextPos
private

Definition at line 93 of file GenInterpolationPoint.cs.

Quaternion GenInterpolationPoint.NextRot
private

Definition at line 96 of file GenInterpolationPoint.cs.

Vector3 [] GenInterpolationPoint.Nodes
private

Definition at line 98 of file GenInterpolationPoint.cs.

List<float[]> GenInterpolationPoint.OutputKeyNodes

Definition at line 79 of file GenInterpolationPoint.cs.

Referenced by GenInterpolationArray.CalculateSplineArray().

List<string> GenInterpolationPoint.OutputTypeArray

Definition at line 80 of file GenInterpolationPoint.cs.

Referenced by GenInterpolationArray.CalculateSplineArray().

int GenInterpolationPoint.smoothnessFactor = 8
static

Definition at line 84 of file GenInterpolationPoint.cs.

Referenced by CalculateSpline().

GameObject GenInterpolationPoint.SplineParent

Definition at line 73 of file GenInterpolationPoint.cs.

GameObject GenInterpolationPoint.temp

Definition at line 88 of file GenInterpolationPoint.cs.


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