18 #include "pandabase.h" 39 INLINE OSphereLens(
const OSphereLens ©);
40 INLINE
void operator = (
const OSphereLens ©);
43 virtual PT(
Lens) make_copy()
const;
46 virtual bool do_extrude(
const Lens::CData *lens_cdata,
const LPoint3 &point2d,
48 virtual bool do_project(
const Lens::CData *lens_cdata,
51 virtual PN_stdfloat fov_to_film(PN_stdfloat fov, PN_stdfloat focal_length,
bool horiz)
const;
52 virtual PN_stdfloat fov_to_focal_length(PN_stdfloat fov, PN_stdfloat film_size,
bool horiz)
const;
53 virtual PN_stdfloat film_to_fov(PN_stdfloat film_size, PN_stdfloat focal_length,
bool horiz)
const;
57 return get_class_type();
59 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
63 static void init_type() {
65 register_type(_type_handle,
"OSphereLens",
66 Lens::get_class_type());
73 #include "oSphereLens.I" 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 ...
A OSphereLens is a special nonlinear lens that doesn't correspond to any real physical lenses...
TypeHandle is the identifier used to differentiate C++ class types.