#include <perspective_projection_factory.h>
Public Member Functions | |
float | getFarClipDistance () |
float | getFOVy () |
float | getNearClipDistance () |
virtual rve_msgs::Matrix4 | makeMatrix () |
PerspectiveProjectionFactory () | |
void | setFarClipDistance (float far_clip) |
void | setFOVY (float fovy) |
void | setNearClipDistance (float near_clip) |
Private Attributes | |
float | far_clip_ |
float | fovy_ |
float | near_clip_ |
Factory providing perspective projection matrices to a Camera.
Definition at line 40 of file perspective_projection_factory.h.
Definition at line 37 of file perspective_projection_factory.cpp.
float rve_render_client::PerspectiveProjectionFactory::getFarClipDistance | ( | ) | [inline] |
Definition at line 53 of file perspective_projection_factory.h.
float rve_render_client::PerspectiveProjectionFactory::getFOVy | ( | ) | [inline] |
Definition at line 51 of file perspective_projection_factory.h.
float rve_render_client::PerspectiveProjectionFactory::getNearClipDistance | ( | ) | [inline] |
Definition at line 52 of file perspective_projection_factory.h.
Subclasses should override this to construct and return your custom projection matrix.
Implements rve_render_client::ProjectionMatrixFactory.
Definition at line 44 of file perspective_projection_factory.cpp.
void rve_render_client::PerspectiveProjectionFactory::setFarClipDistance | ( | float | far_clip | ) | [inline] |
Definition at line 49 of file perspective_projection_factory.h.
void rve_render_client::PerspectiveProjectionFactory::setFOVY | ( | float | fovy | ) | [inline] |
Definition at line 47 of file perspective_projection_factory.h.
void rve_render_client::PerspectiveProjectionFactory::setNearClipDistance | ( | float | near_clip | ) | [inline] |
Definition at line 48 of file perspective_projection_factory.h.
float rve_render_client::PerspectiveProjectionFactory::far_clip_ [private] |
Definition at line 59 of file perspective_projection_factory.h.
float rve_render_client::PerspectiveProjectionFactory::fovy_ [private] |
Definition at line 57 of file perspective_projection_factory.h.
float rve_render_client::PerspectiveProjectionFactory::near_clip_ [private] |
Definition at line 58 of file perspective_projection_factory.h.