Overview     Modules     Class Hierarchy     Classes     Members  

tlp::ObservableCamera Class Reference

#include <CameraObserver.h>

Inheritance diagram for tlp::ObservableCamera:

List of all members.

Public Member Functions

Protected Attributes


Detailed Description

Observable camera : internal class (don't use it)


Constructor & Destructor Documentation

tlp::ObservableCamera::ObservableCamera (  ) 
virtual tlp::ObservableCamera::~ObservableCamera (  )  [inline, virtual]
tlp::ObservableCamera::ObservableCamera ( const ObservableCamera  ) 

Member Function Documentation

void tlp::ObservableCamera::addObserver ( CameraObserver obs  )  const [inline]

Register a new observer

unsigned int tlp::ObservableCamera::countObservers (  )  [inline]

Returns the number of observers

bool tlp::ObservableCamera::isInDestruction (  )  const [inline]

Return if the ObservableCamera is in destruction

bool tlp::ObservableCamera::isTracked (  )  const [inline]

return true if the camera is tracked

void tlp::ObservableCamera::notifyDestroy ( Camera camera  ) 
void tlp::ObservableCamera::notifyPointOfViewModified ( Camera  ) 
void tlp::ObservableCamera::removeObserver ( CameraObserver item  )  const [inline]

Remove an observer

void tlp::ObservableCamera::removeObservers (  )  [inline]

Remove all observers

void tlp::ObservableCamera::setCameraTracking ( bool  tracked  ) 

Call this function if you want to activate/desactivate the call of pointOfViewModified


Member Data Documentation

std::set<CameraObserver*> tlp::ObservableCamera::observers [mutable, protected]


Tulip Software by LaBRI Visualization Team    2001 - 2011