1 Model-Based Vision System by Object-Oriented Programming