SpatiumLib
Friends | List of all members
spatium::gfx3d::PerspectiveCamera Class Reference

#include <PerspectiveCamera.h>

Inheritance diagram for spatium::gfx3d::PerspectiveCamera:
Inheritance graph
[legend]
Collaboration diagram for spatium::gfx3d::PerspectiveCamera:
Collaboration graph
[legend]

Friends

std::ostream & operator<< (std::ostream &os, const PerspectiveCamera &camera)
 Output to ostream. More...
 

Additional Inherited Members

- Public Member Functions inherited from spatium::gfx3d::Camera
 Camera (double near, double far)
 Constructor. More...
 
virtual ~Camera ()=default
 
double near () const
 Get the distance to the near clipping plane in world space. More...
 
double far () const
 Get the distance to the far clipping plane in world space. More...
 
void lookAt (const geom3d::Point3 &target, const geom3d::Vector3 &up)
 Set view direction towards target position. The resulting transformation matrix maps the reference point to the negative z axis and the eye point to the origin. More...
 
void lookAt (const geom3d::Point3 &eye, const geom3d::Point3 &target, const geom3d::Vector3 &up)
 Set camera position and set view direction towards target position. The resulting transformation matrix maps the reference point to the negative z axis and the eye point to the origin. More...
 
- Public Member Functions inherited from spatium::gfx3d::SceneObject
 SceneObject ()
 
Transformtransform ()
 Get the transformation. More...
 
- Protected Attributes inherited from spatium::gfx3d::Camera
double m_near
 
double m_far
 
- Protected Attributes inherited from spatium::gfx3d::SceneObject
Transform m_transform
 

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
const PerspectiveCamera camera 
)
friend

Output to ostream.


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