UnityMol  0.9.6-875
UnityMol viewer / In developement
GenInterpolationPoint_BF 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 > InputBfactArray
 
List< float[]> OutputKeyNodes
 
List< string > OutputTypeArray
 
List< float > OutputBfactArray
 
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_BF.cs.

Member Function Documentation

void GenInterpolationPoint_BF.CalculateSpline ( )

Definition at line 106 of file GenInterpolationPoint_BF.cs.

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

Referenced by GenInterpolationArray_BF.CalculateSplineArray().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Vector3 GenInterpolationPoint_BF.GetHermiteAtTime ( float  timeParam)

Definition at line 179 of file GenInterpolationPoint_BF.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_BF.GetHermiteInternal ( int  idxFirstPoint,
float  t 
)

Definition at line 148 of file GenInterpolationPoint_BF.cs.

Referenced by GetHermiteAtTime().

+ Here is the caller graph for this function:

void GenInterpolationPoint_BF.SetupSplineInterpolator ( )
private

Definition at line 130 of file GenInterpolationPoint_BF.cs.

Referenced by CalculateSpline().

+ Here is the caller graph for this function:

Member Data Documentation

Vector3 GenInterpolationPoint_BF.CurPos
private

Definition at line 99 of file GenInterpolationPoint_BF.cs.

Quaternion GenInterpolationPoint_BF.CurRot
private

Definition at line 100 of file GenInterpolationPoint_BF.cs.

float GenInterpolationPoint_BF.Duration = 1.0f

Definition at line 74 of file GenInterpolationPoint_BF.cs.

List<float> GenInterpolationPoint_BF.InputBfactArray
ArrayList GenInterpolationPoint_BF.InputKeyNodes
List<string> GenInterpolationPoint_BF.InputTypeArray
int GenInterpolationPoint_BF.lineCount =1000

Definition at line 75 of file GenInterpolationPoint_BF.cs.

Referenced by CalculateSpline().

List<SplineNode> GenInterpolationPoint_BF.mNodes
private

Definition at line 87 of file GenInterpolationPoint_BF.cs.

float GenInterpolationPoint_BF.moveSpeed =10f

Definition at line 94 of file GenInterpolationPoint_BF.cs.

Vector3 GenInterpolationPoint_BF.NextPos
private

Definition at line 98 of file GenInterpolationPoint_BF.cs.

Quaternion GenInterpolationPoint_BF.NextRot
private

Definition at line 101 of file GenInterpolationPoint_BF.cs.

Vector3 [] GenInterpolationPoint_BF.Nodes
private

Definition at line 103 of file GenInterpolationPoint_BF.cs.

List<float> GenInterpolationPoint_BF.OutputBfactArray
List<float[]> GenInterpolationPoint_BF.OutputKeyNodes
List<string> GenInterpolationPoint_BF.OutputTypeArray
int GenInterpolationPoint_BF.smoothnessFactor = 8
static
GameObject GenInterpolationPoint_BF.SplineParent

Definition at line 73 of file GenInterpolationPoint_BF.cs.

GameObject GenInterpolationPoint_BF.temp

Definition at line 93 of file GenInterpolationPoint_BF.cs.


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