-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
executable file
·50 lines (38 loc) · 1.62 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
===============================================================================
SPLINES
===============================================================================
===================
Author
===================
Tim Song
timsong@uvic.ca
===================
Overview
===================
This program demos B Splines, allowing you to play around with different basis
functions.
===================
Usage
===================
Left click on the canvas to add a new vertex.
Left click and drag a vertex to move it.
Right click on a vertex to delete it.
The canvas can be cleared using the "Clear" menu item under the "Edit" menu.
The visibility of control points and control lines can be toggled under the "Show" menu.
-note that if control points are not visible, you can't control or add new control points
The "Show Spline Segments" and "Show Basis Segments" menu items under "Show" toggles whether
spline or basis segments are colored distinctively.
Use the undo and redo commands under the "Edit" menu to undo and redo actions.
Use the "Order" menu to change the order of the B Spline basis functions
Drag the arrows beneath each knot in the parametric space to move the corresponding knot.
If the knots multiplicity is greater than 1:
-left clicking drags the left most knot
-right clicking drags the right most knot
The "Reset Knots" item under the "Edit" menu will reset the knots to their original uniform position.
===================
Build
===================
This program was built using Qt 4.7.0. After installing the framework, run
> qmake
> make
to build the program.