add a camera class that inherits from qglviewer:camera