#include <PerspCamera.hpp>
Public Member Functions | |
| Eigen::Matrix3Xf | project (const Eigen::Matrix3Xf &points) override |
Public Member Functions inherited from Geno3D::Camera | |
| void | translate (float x, float y, float z) override |
| void | scale (float m) override |
| void | rotate (float x, float y, float z) override |
| void | transform (const Transformation &t) override |
| void | setPosition (float x, float y, float z) |
| Eigen::Vector3f | getPosition () |
| void | setOrientation (float x, float y, float z) |
| Eigen::Vector3f | getOrientation () |
| void | setSurface (float x, float y, float z) |
| Eigen::Vector3f | getSurface () |
Additional Inherited Members | |
Protected Attributes inherited from Geno3D::Camera | |
| Eigen::Vector3f | position |
| 3D Position of the camera | |
| Eigen::Vector3f | orientation |
| 3D Orientation of the camera | |
| Eigen::Vector3f | displaySurface |
| Configuration of the camera's display surface. | |
A perspective camera. This class uses a perspective projection algorithm.
|
overridevirtual |
Project a set of points in 3D space onto the 2D camera. This should project the points onto the camera's display surface, using a perspective projection algorithm.
| points | a 3-row matrix holding points in 3D space |
Implements Geno3D::Camera.
References Geno3D::Camera::displaySurface, Geno3D::Camera::orientation, and Geno3D::Camera::position.
1.8.6