A Pinhole camera model.
More...
#include <vclib/space/core/camera.h>
|
|
Scalar | mAspect = 1.0 |
| | Aspect ratio.
|
| |
|
PointType | mCenter = PointType(0.0f, 0.0f, 0.0f) |
| | Position where the camera is looking at (i.e. target point)
|
| |
|
PointType | mEye = PointType(0.0f, 0.0f, 1.0f) |
| | Position of (eye of) the camera.
|
| |
|
Scalar | mFar = 500.0 |
| | Z position of the mFar plane.
|
| |
|
Scalar | mFovDeg = 54.0 |
| | Field of view in degrees.
|
| |
|
Scalar | mNear = 0.1 |
| | Z position of the mNear plane.
|
| |
|
ProjectionMode | mProjectionMode = ProjectionMode::PERSPECTIVE |
| | Projection mode.
|
| |
|
PointType | mUp = PointType(0.0f, 1.0f, 0.0f) |
| | Up direction of the camera.
|
| |
|
Scalar | mVerticalHeight = 2.0 |
| | Height of the target in world space (used for ortho projection, and adapting the eye distance for perspective projection)
|
| |
template<
typename Scalar>
class vcl::Camera< Scalar >
A Pinhole camera model.
◆ deserialize()
Deserializes the camera from the given input stream.
- Parameters
-
◆ serialize()
Serializes the camera to the given output stream.
- Parameters
-
The documentation for this class was generated from the following file:
- vclib/core/include/vclib/space/core/camera.h