![]() |
Trax3 3.1.0
trax track library
|
Base Camera interface. More...
#include <C:/Trend/Development/Trax3/Code/trax/rigid/modules/Camera.h>

Public Member Functions | |
| virtual const char * | TypeName () const noexcept=0 |
| virtual Camera & | operator= (const Camera &camera)=0 |
| virtual CameraType | GetType () const =0 |
| virtual void | SetFrame (const spat::Frame< Length, One > &frame)=0 |
| Sets position and orientation (pose) in global coordinates. | |
| virtual spat::Vector< Velocity > | GetVelocity () const =0 |
| Gets the current velocity. | |
| virtual void | EyePoint (const spat::Position< Length > &eyePoint)=0 |
| Sets the camera to look at eyePoint. | |
| virtual spat::Position< Length > | EyePoint () const =0 |
| virtual void | Up (const spat::Vector< One > &up)=0 |
| virtual spat::Vector< One > | Up () const =0 |
| virtual void | LookAt (const spat::Position< Length > &lookAtPoint)=0 |
| virtual spat::Position< Length > | LookAt () const =0 |
| virtual bool | InFrustum (const spat::Position< Length > &position) const =0 |
GetFrame | |
Gets the pose in global coordinates. | |
| virtual const spat::Frame< Length, One > & | GetFrame () const =0 |
| virtual spat::Frame< Length, One > & | GetFrame ()=0 |
| Public Member Functions inherited from trax::Frustum | |
| virtual void | SetFromFofy (Angle fovy=default_fovy, One aspect=default_aspect, Length zn=default_nearPlane, Length zf=default_farPlane)=0 |
| virtual void | SetFromDimensions (Length width, Length height, Length zn=default_nearPlane, Length zf=default_farPlane)=0 |
| virtual void | PlaneDistances (const common::Interval< Length > &planes)=0 |
| virtual Length | NearPlaneDistance () const =0 |
| virtual Length | FarPlaneDistance () const =0 |
| virtual void | Width (Length width)=0 |
| virtual Length | Width () const =0 |
| virtual void | Height (Length height)=0 |
| virtual Length | Height () const =0 |
| virtual void | Fovy (Angle fovy)=0 |
| The Field Of View angle in radiants. | |
| virtual Angle | Fovy () const =0 |
| virtual void | AspectRatio (One aspect)=0 |
| virtual One | AspectRatio () const =0 |
| virtual void | ProjectionMatrix (const spat::Transformation< Real > &projection)=0 |
| virtual const spat::Transformation< Real > & | ProjectionMatrix () const =0 |
| virtual spat::Transformation< Real > & | ProjectionMatrix ()=0 |
| Frustum (const Frustum &)=delete | |
| Frustum (Frustum &&)=delete | |
| Frustum & | operator= (const Frustum &)=delete |
| Frustum & | operator= (Frustum &&)=delete |
| Public Member Functions inherited from trax::Identified< Camera > | |
| virtual const std::string & | Reference (const std::string &name) const=0 |
| Gets a reference that was set for this object by name. | |
| virtual const std::vector< char const * > & | ReferenceNames (const std::string &namePart) const=0 |
| Searches for all reference names that countain namePart as substring in the name. | |
| virtual IDType | ID () const noexcept=0 |
| Identified (const Identified &)=delete | |
| Identified & | operator= (const Identified &)=delete |
Static Public Member Functions | |
| static dclspc std::unique_ptr< Camera > | Make (CameraType type=CameraType::cam_basic) noexcept |
| Makes a Camera object. | |
Additional Inherited Members | |
| Static Public Attributes inherited from trax::Frustum | |
| static const Angle | default_fovy |
| static const One | default_aspect |
| static const Length | default_nearPlane |
| static const Length | default_farPlane |
Base Camera interface.
|
pure virtual |
|
pure virtual |
Gets the current velocity.
|
pure virtual |
|
pure virtual |
Sets position and orientation (pose) in global coordinates.
| frame | Frame of reference. |
|
pure virtualnoexcept |