Home
FAQ
Player
Utilities
Stage
Gazebo
Contrib
Documentation
Publications
Contributors
Users

Project
Download
Bugs/Feedback
Mailing lists

Radish

Old news
Old stuff

FrustrumGeom Class Reference

Geom for camera frustrums. More...

#include <FrustrumGeom.hh>

Inheritance diagram for FrustrumGeom:

Geom BaseGeom List of all members.

Public Member Functions

 FrustrumGeom (Body *body, dSpaceID spaceId, double aspect, double nearClip, double farClip)
 Constructor.
virtual ~FrustrumGeom ()
 Destructor.
void SetFOV (double fov)
 Set the horizontal field of view.
virtual void Render (RenderOptions *opt)
 Render the geom (GL).

Detailed Description

Geom for camera frustrums.

The frustrum geom is used mainly for debugging purposes, to show a camera field of view. It will also project the camera image back into the world, so that, for example, a GUI camera can see what is visible to a regular camera sensor.


Constructor & Destructor Documentation

FrustrumGeom::FrustrumGeom Body body,
dSpaceID  spaceId,
double  aspect,
double  nearClip,
double  farClip
 

Constructor.

Parameters:
body Body to which we are attached.
spaceId Collision space to which we belong.
aspect Image aspect ratio (w/h).
nearClip,farClip Distance to the near and far clipping planes (m).

FrustrumGeom::~FrustrumGeom  )  [virtual]
 

Destructor.


Member Function Documentation

void FrustrumGeom::SetFOV double  fov  ) 
 

Set the horizontal field of view.

void FrustrumGeom::Render RenderOptions opt  )  [virtual]
 

Render the geom (GL).

Reimplemented from Geom.


The documentation for this class was generated from the following files:


Last updated $Date: 2004/12/21 01:49:15 $
Generated on Sun May 22 18:39:08 2005 for Gazebo by doxygen 1.4.2