Zheng Qin
May 4, 2001
Surface Pasting
This project is to implement an interactive editor with which you can play
with surfacing pasting.
Tensor product B-spline surface:
-
Patches:
-
All patches are Tensor product B-spline surfaces.
-
Each patch is a d1xd2 degree patch which means the patch is d1 degree in
u direction, and d2 degree in v direction.
-
Each patch has m control points in u direction, and n control points in
v direction.
-
The control points are represented as greville displacements.
-
The colors of the patches can be modified.
Surface Pasting:
-
Patches with smaller domain are pasted onto patch with larger domain.
-
Tree pasting supported.
-
Patches can be translated hierarchically
-
Mann-DeRose evaluation of position and derivatives of Tensor product B-spline
surface implemented.
GUI:
![](paste05.jpg) |
-
Menu
-
File
-
Reset: reset surfaces to its initial state.
-
Quit: exit the editor.
-
Mode
-
Transform: translate, rotate and zoom the surfaces.
-
Press down left button of the mouse and drag will translate the surfaces
in x, y direction.
-
Press down middle button of the mouse and drag up and down will zoom the
surfaces.
-
Press down right button of the mouse and drag will rotate surfaces.
-
Pick up: choose the surface that will be translated and pasted onto.
-
Click the left button on the red control points will change its color to
blue, then drag the mouse will translate the position of the control points
and therefore the surface shape will also change accordingly.
-
Click the middle button on the surface will change the color of the surface
to green, which indicates the surface is selected. When a surface is selected,
you can paste a feature surface onto it by click the "Add Surface" button.
The control points number in u and v direction can be set in entry "Cntrol
Point#(u)" and "Control Point#(v)". Or you can change color of the surface
by click button "change color". The RGB component are set in entry "Red",
"Green" and "Blue".
-
Circle
-
Draw Control Point: choose if the control points are shown.
Images:
![](paste03.jpg)
References:
-
CS 679 Course notes
-
The Direct Manipulation of Pasted Surfaces, Marryat Ma, Master's Thesis,
University of Waterloo, 2000.
-
Feature Oriented Composition of B-Spline Surfaces, Christin Barghiel, Master's
Thesis, University of Waterloo, 1994.
-
Quasi-Interpolated Surface Pasting, by Blair Conrad, Master's Thesis, University
of Waterloo, 1999.
-
Pasting Spline Surfaces, by Christin Barghiel, Richard Bartels, and David
Forsey, in Mathematical Methods for Curves and Surfaces, 1994.
Acknowledgement of help:
-
Thank Selina for all her help.
-
Thank Steve for giving us lessons, although I didn't know what he was talking
about most of the time in the class because of my poor English.:)
Regret:
-
I hope I didn't slack off that much, and had started my project earlier,
so I could implement more features.;)