From CS559 Computer Graphics Fall 2007

Main: Lecture-CPP

On this page... (hide)

  1. 1. C++ Hints
    1. 1.1 The Golden Rules of Programming
    2. 1.2 General Design Tips
    3. 1.3 Design for robustness and debuggability
    4. 1.4 Class Design and Object Oriented Programming
    5. 1.5 Let the Compiler Catch your Bugs!
    6. 1.6 Memory Management
    7. 1.7 C++ isms
    8. 1.8 Debugging and Testing
  2. 2. TargeImage
  3. 3. PictureProcessor

1.  C++ Hints

1.1  The Golden Rules of Programming

1.2  General Design Tips

1.3  Design for robustness and debuggability

1.4  Class Design and Object Oriented Programming

1.5  Let the Compiler Catch your Bugs!

1.6  Memory Management

1.7  C++ isms

1.8  Debugging and Testing


2.  TargeImage

A wrapper around the C I/O library (we're stuck with its design) that tries to only handle the most common and important case.

Designed to avoid "accidents":

Very Minimalist class - just provides the storage. All operations on it should be "external" (functions that use it).

Always has an alpha channel


3.  PictureProcessor

Challenges:

The Command concept:

The Context class:

Retrieved from http://www.cs.wisc.edu/graphics/Courses/559-f2007/Main/Lecture-CPP
Page last modified on September 17, 2007, at 01:18 AM