|
UnityMol
0.9.6-875
UnityMol viewer / In developement
|
Public Member Functions | |
| BSpline () | |
| BSpline (bool t) | |
| void | UpdateMatrix3 () |
| void | SetCPoint (int n, Vector3 p) |
| void | GetCPoint (int n, out Vector3 p) |
| void | ShiftBSplineCPoints () |
| void | CopyCPoints (int n_source, int n_dest) |
| void | Feval (float t, out Vector3 p) |
| void | Feval2 (float t, out Vector3 p) |
| void | Deval (float t, out Vector3 d) |
Private Member Functions | |
| int | Factorial (int n) |
| int | BinomialCoef (int i, int n) |
| float | BersteinPol (int i, int n, float u) |
| float | DBersteinPol (int i, int n, float u) |
| void | InitParameters (bool t) |
| void | BSplinePointI (int t) |
| void | BSplinePoint (float t) |
| void | BSplineTangent (float t) |
| void | BSplineTangentI (int t) |
| void | EvalPoint (float t) |
| void | EvalTangent (float t) |
| float | FevalX (float t) |
| float | FevalY (float t) |
| float | FevalZ (float t) |
| float | DevalX (float t) |
| float | DevalY (float t) |
| float | DevalZ (float t) |
Private Attributes | |
| float[][] | bSplineCPoints |
| bool | lookup |
| float[][] | m3 |
| float[] | TVector |
| float[] | DTVector |
| float[] | pt |
| float[] | tg |
Static Private Attributes | |
| static int | MAX_BEZIER_ORDER = 10 |
| static float[][] | BSplineMatrix |
| static int[][] | BinomialCoefTable |
| static float[][] | TVectorTable |
| static float[][] | DTVectorTable |
Definition at line 4 of file BSpline.cs.
| BSpline.BSpline | ( | ) |
Definition at line 131 of file BSpline.cs.
References InitParameters().
Here is the call graph for this function:| BSpline.BSpline | ( | bool | t | ) |
Definition at line 135 of file BSpline.cs.
References InitParameters().
Here is the call graph for this function:
|
private |
Definition at line 95 of file BSpline.cs.
References BinomialCoef().
Here is the call graph for this function:
|
private |
Definition at line 87 of file BSpline.cs.
References Factorial().
Referenced by BersteinPol(), and DBersteinPol().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 203 of file BSpline.cs.
Referenced by EvalPoint().
Here is the caller graph for this function:
|
private |
Definition at line 187 of file BSpline.cs.
Referenced by EvalPoint().
Here is the caller graph for this function:
|
private |
Definition at line 220 of file BSpline.cs.
Referenced by EvalTangent().
Here is the caller graph for this function:
|
private |
Definition at line 241 of file BSpline.cs.
Referenced by EvalTangent().
Here is the caller graph for this function:| void BSpline.CopyCPoints | ( | int | n_source, |
| int | n_dest | ||
| ) |
Definition at line 181 of file BSpline.cs.
Referenced by Ribbons.ConstructControlPoints().
Here is the caller graph for this function:
|
private |
Definition at line 100 of file BSpline.cs.
References BinomialCoef().
Here is the call graph for this function:| void BSpline.Deval | ( | float | t, |
| out Vector3 | d | ||
| ) |
Definition at line 286 of file BSpline.cs.
References EvalTangent().
Referenced by Ribbons.GenerateArrowRibbon(), and Ribbons.GenerateFlatRibbon().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 308 of file BSpline.cs.
References EvalTangent().
Here is the call graph for this function:
|
private |
Definition at line 313 of file BSpline.cs.
References EvalTangent().
Here is the call graph for this function:
|
private |
Definition at line 318 of file BSpline.cs.
References EvalTangent().
Here is the call graph for this function:
|
private |
Definition at line 257 of file BSpline.cs.
References BSplinePoint(), and BSplinePointI().
Referenced by Feval(), Feval2(), FevalX(), FevalY(), and FevalZ().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 264 of file BSpline.cs.
References BSplineTangent(), and BSplineTangentI().
Referenced by Deval(), DevalX(), DevalY(), and DevalZ().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 79 of file BSpline.cs.
Referenced by BinomialCoef().
Here is the caller graph for this function:| void BSpline.Feval | ( | float | t, |
| out Vector3 | p | ||
| ) |
Definition at line 271 of file BSpline.cs.
References EvalPoint().
Referenced by Ribbons.GenerateArrowRibbon(), Ribbons.GenerateFlatRibbon(), and Ribbons.GenerateSpline().
Here is the call graph for this function:
Here is the caller graph for this function:| void BSpline.Feval2 | ( | float | t, |
| out Vector3 | p | ||
| ) |
Definition at line 278 of file BSpline.cs.
References EvalPoint().
Here is the call graph for this function:
|
private |
Definition at line 293 of file BSpline.cs.
References EvalPoint().
Here is the call graph for this function:
|
private |
Definition at line 298 of file BSpline.cs.
References EvalPoint().
Here is the call graph for this function:
|
private |
Definition at line 303 of file BSpline.cs.
References EvalPoint().
Here is the call graph for this function:| void BSpline.GetCPoint | ( | int | n, |
| out Vector3 | p | ||
| ) |
Definition at line 162 of file BSpline.cs.
Referenced by Ribbons.AddControlPoints(), and Ribbons.ConstructControlPoints().
Here is the caller graph for this function:
|
private |
Definition at line 115 of file BSpline.cs.
Referenced by BSpline().
Here is the caller graph for this function:| void BSpline.SetCPoint | ( | int | n, |
| Vector3 | p | ||
| ) |
Definition at line 154 of file BSpline.cs.
References UpdateMatrix3().
Referenced by Ribbons.AddControlPoints(), and Ribbons.ConstructControlPoints().
Here is the call graph for this function:
Here is the caller graph for this function:| void BSpline.ShiftBSplineCPoints | ( | ) |
Definition at line 170 of file BSpline.cs.
References UpdateMatrix3().
Referenced by Ribbons.ShiftControlPoints().
Here is the call graph for this function:
Here is the caller graph for this function:| void BSpline.UpdateMatrix3 | ( | ) |
Definition at line 140 of file BSpline.cs.
Referenced by Ribbons.ConstructControlPoints(), SetCPoint(), and ShiftBSplineCPoints().
Here is the caller graph for this function:
|
staticprivate |
Definition at line 29 of file BSpline.cs.
|
private |
Definition at line 8 of file BSpline.cs.
|
staticprivate |
Definition at line 20 of file BSpline.cs.
|
private |
Definition at line 15 of file BSpline.cs.
|
staticprivate |
Definition at line 64 of file BSpline.cs.
|
private |
Definition at line 11 of file BSpline.cs.
|
private |
Definition at line 14 of file BSpline.cs.
|
staticprivate |
Definition at line 5 of file BSpline.cs.
|
private |
Definition at line 18 of file BSpline.cs.
|
private |
Definition at line 18 of file BSpline.cs.
|
private |
Definition at line 15 of file BSpline.cs.
|
staticprivate |
Definition at line 44 of file BSpline.cs.