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

PSphereLens Class Reference

#include <pSphereLens.h>

Inheritance diagram for PSphereLens:

Lens TypedReferenceCount TypedObject ReferenceCount List of all members.

Public Member Functions

INLINE PSphereLens (const PSphereLens &copy)
INLINE void operator= (const PSphereLens &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 PSphereLens()

Static Private Attributes

TypeHandle _type_handle

Constructor & Destructor Documentation

INLINE PSphereLens::PSphereLens const PSphereLens &  copy  ) 
 


Member Function Documentation

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

Reimplemented from Lens.

Definition at line 58 of file pSphereLens.cxx.

References Lens::get_far(), Lens::get_film_mat_inv(), Lens::get_focal_length(), Lens::get_lens_mat(), Lens::get_near(), spherical_k, and v.

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

Reimplemented from Lens.

Definition at line 178 of file pSphereLens.cxx.

References spherical_k.

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

Reimplemented from Lens.

Definition at line 66 of file pSphereLens.h.

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

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

Reimplemented from Lens.

Definition at line 150 of file pSphereLens.cxx.

References spherical_k.

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

Reimplemented from Lens.

Definition at line 164 of file pSphereLens.cxx.

References spherical_k.

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

Reimplemented from Lens.

Definition at line 67 of file pSphereLens.h.

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

Reimplemented from Lens.

Definition at line 63 of file pSphereLens.h.

References Lens::get_class_type().

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

Reimplemented from Lens.

Definition at line 70 of file pSphereLens.h.

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

Referenced by init_libdistort().

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

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

Reimplemented from Lens.

Definition at line 98 of file pSphereLens.cxx.

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

virtual PSphereLens::PT Lens   )  const [virtual]
 


Member Data Documentation

PUBLISHED PSphereLens::__pad0__ [private]
 

Reimplemented from Lens.

Definition at line 44 of file pSphereLens.h.

TypeHandle PSphereLens::_type_handle [static, private]
 

Reimplemented from Lens.

Definition at line 22 of file pSphereLens.cxx.


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