All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
ignition::math::FrustumPrivate Class Reference

#include <FrustumPrivate.hh>

Public Member Functions

 FrustumPrivate (const double _near, const double _far, const math::Angle &_fov, const double _aspectRatio, const Pose3d &_pose)
 Constructor. More...
 

Public Attributes

double aspectRatio
 Aspect ratio of the near and far planes. This is the. More...
 
double far
 Far distance. More...
 
math::Angle fov
 Field of view. More...
 
double near
 Near distance. More...
 
std::array< Planed, 6 > planes
 Each plane of the frustum. More...
 
math::Pose3d pose
 Pose of the frustum. More...
 

Constructor & Destructor Documentation

ignition::math::FrustumPrivate::FrustumPrivate ( const double  _near,
const double  _far,
const math::Angle _fov,
const double  _aspectRatio,
const Pose3d _pose 
)
inline

Constructor.

Parameters
[in]_nearNear distance. This is the distance from the frustum's vertex to the closest plane
[in]_farFar distance. This is the distance from the frustum's vertex to the farthest plane.
[in]_fovField of view. The field of view is the angle between the frustum's vertex and the edges of the near or far plane. This value represents the horizontal angle.
[in]_aspectRatioThe aspect ratio, which is the width divided by height of the near or far planes.
[in]_posePose of the frustum, which is the vertex (top of the pyramid).

Member Data Documentation

double ignition::math::FrustumPrivate::aspectRatio

Aspect ratio of the near and far planes. This is the.

double ignition::math::FrustumPrivate::far

Far distance.

math::Angle ignition::math::FrustumPrivate::fov

Field of view.

double ignition::math::FrustumPrivate::near

Near distance.

std::array<Planed, 6> ignition::math::FrustumPrivate::planes

Each plane of the frustum.

See Also
Frustum::FrustumPlane
math::Pose3d ignition::math::FrustumPrivate::pose

Pose of the frustum.


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