Overview     Modules     Class Hierarchy     Classes     Members  

tlp::CameraObserver Class Reference

An observer to the camera This class is used to observe camera object

  • If the camera is deleted : destroy is call
  • If a parameter of camera is changed : pointOfViewModified is call If you want to desactivate/activate the call of pointOfViewModified, you can call the setCameraTracking(bool) function (by default the camera is tracked).
More...

#include <CameraObserver.h>

Inheritance diagram for tlp::CameraObserver:

List of all members.

Public Member Functions


Detailed Description

An observer to the camera This class is used to observe camera object

  • If the camera is deleted : destroy is call
  • If a parameter of camera is changed : pointOfViewModified is call If you want to desactivate/activate the call of pointOfViewModified, you can call the setCameraTracking(bool) function (by default the camera is tracked).

Constructor & Destructor Documentation

virtual tlp::CameraObserver::~CameraObserver (  )  [inline, virtual]

Member Function Documentation

virtual void tlp::CameraObserver::destroy ( Camera  )  [inline, virtual]

This function is call when we delete the camera (call in camera destructor)

Reimplemented in tlp::GlQuadTreeLODCalculator.

virtual void tlp::CameraObserver::pointOfViewModified ( Camera  )  [inline, virtual]

This function is call when the point of view of camera is modified



Tulip Software by LaBRI Visualization Team    2001 - 2011