18 #include "pandabase.h" 43 INLINE PSphereLens(
const PSphereLens ©);
44 INLINE
void operator = (
const PSphereLens ©);
47 virtual PT(
Lens) make_copy()
const;
50 virtual bool do_extrude(
const Lens::CData *lens_cdata,
const LPoint3 &point2d,
52 virtual bool do_project(
const Lens::CData *lens_cdata,
55 virtual PN_stdfloat fov_to_film(PN_stdfloat fov, PN_stdfloat focal_length,
bool horiz)
const;
56 virtual PN_stdfloat fov_to_focal_length(PN_stdfloat fov, PN_stdfloat film_size,
bool horiz)
const;
57 virtual PN_stdfloat film_to_fov(PN_stdfloat film_size, PN_stdfloat focal_length,
bool horiz)
const;
61 return get_class_type();
63 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
67 static void init_type() {
69 register_type(_type_handle,
"PSphereLens",
70 Lens::get_class_type());
77 #include "pSphereLens.I" A PSphereLens is a special nonlinear lens that doesn't correspond to any real physical lenses...
A base class for any number of different kinds of lenses, linear and otherwise.
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.