18 #include "pandabase.h"
35 INLINE FisheyeLens(
const FisheyeLens ©);
36 INLINE
void operator = (
const FisheyeLens ©);
39 virtual PT(
Lens) make_copy()
const;
42 virtual bool do_extrude(
const Lens::CData *lens_cdata,
const LPoint3 &point2d,
44 virtual bool do_extrude_vec(
const Lens::CData *lens_cdata,
const LPoint3 &point2d,
46 virtual bool do_project(
const Lens::CData *lens_cdata,
49 virtual PN_stdfloat fov_to_film(PN_stdfloat fov, PN_stdfloat focal_length,
bool horiz)
const;
50 virtual PN_stdfloat fov_to_focal_length(PN_stdfloat fov, PN_stdfloat film_size,
bool horiz)
const;
51 virtual PN_stdfloat film_to_fov(PN_stdfloat film_size, PN_stdfloat focal_length,
bool horiz)
const;
55 return get_class_type();
57 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
61 static void init_type() {
63 register_type(_type_handle,
"FisheyeLens",
64 Lens::get_class_type());
71 #include "fisheyeLens.I"
A base class for any number of different kinds of lenses, linear and otherwise.
This is a three-component vector distance (as opposed to a three-component point, which represents a ...
This is a three-component point in space (as opposed to a three-component vector, which represents a ...
TypeHandle is the identifier used to differentiate C++ class types.