next up previous
Next: 4.2.2.1 IndycamInput class Up: 4.2 Class Descriptions Previous: 4.2.1.2 Dimension class


4.2.2 Input related classes

Figure 8: An OMT class diagram showing the relationships of the input related classes.
\resizebox*{1\textwidth}{!}{\includegraphics{omt-input.eps}}

The main input class is the abstract class Input, shown with its children in Figure 8. This class defines what it is to be an input module, and all input modules will have Input as an ancestor. It defines two abstract methods, GetImage() and GetDimension().

The GetImage() method returns either a StereoImage object which is the next (possibly stereo) image from this input source, or NULL if there are no more images available.

The GetDimension() method returns the dimensions of the images which will be obtained from this input source.



Subsections

Kevin Pulo
2000-08-22