Logo Search packages:      
Sourcecode: openexr version File versions  Download package

Public Member Functions | Protected Member Functions | Protected Attributes

Imath::Frustum< T > Class Template Reference

Collaboration diagram for Imath::Frustum< T >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

aspect () const
bottom () const
long DepthToZ (T depth, long zmin, long zmax) const
far () const
fovx () const
fovy () const
 Frustum (const Frustum &)
 Frustum (T near, T far, T fovx, T fovy, T aspect)
 Frustum (T near, T far, T left, T right, T top, T bottom, bool ortho=false)
left () const
void modifyNearAndFar (T near, T far)
near () const
normalizedZToDepth (T zval) const
const Frustumoperator= (const Frustum &)
bool orthographic () const
void planes (Plane3< T > p[6])
void planes (Plane3< T > p[6], const Matrix44< T > &M)
Matrix44< T > projectionMatrix () const
Vec2< T > projectPointToScreen (const Vec3< T > &) const
Line3< T > projectScreenToRay (const Vec2< T > &) const
right () const
screenRadius (const Vec3< T > &p, T radius) const
void set (T near, T far, T fovx, T fovy, T aspect)
void set (T near, T far, T left, T right, T top, T bottom, bool ortho=false)
void setOrthographic (bool)
top () const
Frustum< T > window (T left, T right, T top, T bottom) const
worldRadius (const Vec3< T > &p, T radius) const
ZToDepth (long zval, long min, long max) const

Protected Member Functions

Vec2< T > localToScreen (const Vec2< T > &) const
Vec2< T > screenToLocal (const Vec2< T > &) const

Protected Attributes

_bottom
_far
_left
_near
bool _orthographic
_right
_top

Detailed Description

template<class T>
class Imath::Frustum< T >

Definition at line 65 of file ImathFrustum.h.


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

Generated by  Doxygen 1.6.0   Back to index