Class hierarchy Compound list File list Compound Members
Viewer Class Reference
An object which moves the camera according to its movements. More...
Inherits Object3D.
List of all members.
Public Members
- Viewer (World3D* W, Mesh* O, Camera *Cam)
- Construct a 3D Object and associate a camera to it.
- long render ()
- Overrides the Object3D default behaviour, and renders nothing.
- long advance (float Fraction)
- Moves the camera object to where this object is.
- virtual long visible ()
- Returns NO, because we never see the viewer's mesh.
- virtual long radarDetectable ()
- Returns NO, because we don't detect ourselves.
Detailed Description
An object which moves the camera according to its movements.
Member Function Documentation
Viewer::Viewer(World3D* W, Mesh* O, Camera *Cam)
Construct a 3D Object and associate a camera to it.
long Viewer::render()
Overrides the Object3D default behaviour, and renders nothing.
Reimplemented from Object3D.
long Viewer::advance(float Fraction)
Moves the camera object to where this object is.
Reimplemented from Object3D.
virtual long Viewer::visible() [virtual]
Returns NO, because we never see the viewer's mesh.
Reimplemented from Object3D.
virtual long Viewer::radarDetectable() [virtual]
Returns NO, because we don't detect ourselves.
Reimplemented from Object3D.
The documentation for this class was generated from the following file: