Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

CylindricalLens Class Reference

#include <cylindricalLens.h>

Inheritance diagram for CylindricalLens:

Lens TypedReferenceCount TypedObject ReferenceCount List of all members.

Public Member Functions

INLINE CylindricalLens (const CylindricalLens &copy)
INLINE void operator= (const CylindricalLens &copy)
virtual PT (Lens) make_copy() const
virtual TypeHandle get_type () const
virtual TypeHandle force_init_type ()

Static Public Member Functions

TypeHandle get_class_type ()
void init_type ()

Protected Member Functions

virtual bool extrude_impl (const LPoint3f &point2d, LPoint3f &near_point, LPoint3f &far_point) const
virtual bool project_impl (const LPoint3f &point3d, LPoint3f &point2d) const
virtual float fov_to_film (float fov, float focal_length, bool horiz) const
virtual float fov_to_focal_length (float fov, float film_size, bool horiz) const
virtual float film_to_fov (float film_size, float focal_length, bool horiz) const

Private Attributes

PUBLISHED __pad0__: INLINE CylindricalLens()

Static Private Attributes

TypeHandle _type_handle

Constructor & Destructor Documentation

INLINE CylindricalLens::CylindricalLens const CylindricalLens &  copy  ) 
 


Member Function Documentation

bool CylindricalLens::extrude_impl const LPoint3f &  point2d,
LPoint3f &  near_point,
LPoint3f &  far_point
const [protected, virtual]
 

Reimplemented from Lens.

Definition at line 58 of file cylindricalLens.cxx.

References csincos(), cylindrical_k, deg_2_rad(), Lens::get_far(), Lens::get_film_mat_inv(), Lens::get_focal_length(), Lens::get_lens_mat(), Lens::get_near(), and v.

float CylindricalLens::film_to_fov float  film_size,
float  focal_length,
bool  horiz
const [protected, virtual]
 

Reimplemented from Lens.

Definition at line 184 of file cylindricalLens.cxx.

References catan(), cylindrical_k, and rad_2_deg().

virtual TypeHandle CylindricalLens::force_init_type void   )  [inline, virtual]
 

Reimplemented from Lens.

Definition at line 68 of file cylindricalLens.h.

References Lens::get_class_type(), and Lens::init_type().

float CylindricalLens::fov_to_film float  fov,
float  focal_length,
bool  horiz
const [protected, virtual]
 

Reimplemented from Lens.

Definition at line 148 of file cylindricalLens.cxx.

References ctan(), cylindrical_k, and deg_2_rad().

float CylindricalLens::fov_to_focal_length float  fov,
float  film_size,
bool  horiz
const [protected, virtual]
 

Reimplemented from Lens.

Definition at line 166 of file cylindricalLens.cxx.

References ctan(), cylindrical_k, and deg_2_rad().

TypeHandle CylindricalLens::get_class_type void   )  [inline, static]
 

Reimplemented from Lens.

Definition at line 69 of file cylindricalLens.h.

virtual TypeHandle CylindricalLens::get_type void   )  const [inline, virtual]
 

Reimplemented from Lens.

Definition at line 65 of file cylindricalLens.h.

References Lens::get_class_type().

void CylindricalLens::init_type void   )  [inline, static]
 

Reimplemented from Lens.

Definition at line 72 of file cylindricalLens.h.

References Lens::get_class_type(), Lens::init_type(), and register_type().

Referenced by init_libdistort().

INLINE void CylindricalLens::operator= const CylindricalLens &  copy  ) 
 

bool CylindricalLens::project_impl const LPoint3f &  point3d,
LPoint3f &  point2d
const [protected, virtual]
 

Reimplemented from Lens.

Definition at line 99 of file cylindricalLens.cxx.

References catan2(), cylindrical_k, Lens::get_far(), Lens::get_film_mat(), Lens::get_focal_length(), Lens::get_lens_mat_inv(), Lens::get_near(), p, and rad_2_deg().

virtual CylindricalLens::PT Lens   )  const [virtual]
 


Member Data Documentation

PUBLISHED CylindricalLens::__pad0__ [private]
 

Reimplemented from Lens.

Definition at line 46 of file cylindricalLens.h.

TypeHandle CylindricalLens::_type_handle [static, private]
 

Reimplemented from Lens.

Definition at line 22 of file cylindricalLens.cxx.


The documentation for this class was generated from the following files:
Generated on Fri Apr 18 00:11:49 2003 for Panda by doxygen1.3