0% found this document useful (0 votes)
46 views

Creation of Digital Curves Using The Mouse and Visualization of Digital Curves

This document provides details on an assignment to complete and expand a computer graphics program that creates and visualizes digital curves. Students are asked to complete code in the given program to add functionality for drawing polylines, quadratic Bezier curves, cubic Bezier curves, full circles, and open arc circles. The program uses Qt and OpenGL libraries and students should understand the provided code as part of the assignment.

Uploaded by

Vijay Kumar
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
46 views

Creation of Digital Curves Using The Mouse and Visualization of Digital Curves

This document provides details on an assignment to complete and expand a computer graphics program that creates and visualizes digital curves. Students are asked to complete code in the given program to add functionality for drawing polylines, quadratic Bezier curves, cubic Bezier curves, full circles, and open arc circles. The program uses Qt and OpenGL libraries and students should understand the provided code as part of the assignment.

Uploaded by

Vijay Kumar
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Introduction to Computer Graphics for Engineering

Short Course - 16th -18th June 2014


Creation of digital curves using the mouse and visualization of digital curves

Complete the graphics program available in the course homepage:


http://www.tecgraf.puc-rio.br/~lfm/HW3_CurveCollector.zip.
This program uses Qt interface system and OpenGL graphics system.
Understanding the given code is part of the assignment.
An executable program, which is the solution of the assignment, is provided:
http://www.tecgraf.puc-rio.br/~lfm/HW3_CurveCollector-solution.zip.

Assignment
1. Complete the lines of code in file glpanel.cpp that are indicated by comments
/*** COMPLETE HERE - GLPANEL: XX ***/.
2. In the given program, only a straight line curve is implemented. The objective of this
assignment is to add the following types of curves to the programa:
Polyline: open polygonal line.
QuadBezier: quadratic bezier.
CubicBezier: cubic bezier.
Circle: full circle.
CircleArc: open arc circle.
Image icons should be used in the graphics interface.

You might also like