Panda3D
Public Member Functions | Static Public Member Functions | Public Attributes

Lens::CData Class Reference

Inheritance diagram for Lens::CData:
CycleData

List of all members.

Public Member Functions

 CData (const CData &copy)
void clear ()
virtual void fillin (DatagramIterator &scan, BamReader *manager)
 This internal function is called by make_from_bam to read in all of the relevant data from the BamFile for the new Geom.
virtual TypeHandle get_parent_type () const
 Returns the type of the container that owns the CycleData.
virtual CycleDatamake_copy () const
 PT (GeomVertexData) _geom_data
virtual void write_datagram (BamWriter *manager, Datagram &dg) const
 Writes the contents of this object to the datagram for shipping out to a Bam file.

Static Public Member Functions

static TypeHandle get_class_type ()
static void init_type ()

Public Attributes

PN_stdfloat _aspect_ratio
string _change_event
short _comp_flags
PN_stdfloat _convergence_distance
CoordinateSystem _cs
PN_stdfloat _far_distance
LMatrix4 _film_mat
LMatrix4 _film_mat_inv
LVector2 _film_offset
LVecBase2 _film_size
char _film_size_seq
PN_stdfloat _focal_length
char _focal_length_seq
LVecBase2 _fov
char _fov_seq
PN_stdfloat _interocular_distance
LVecBase2 _keystone
UpdateSeq _last_change
LMatrix4 _lens_mat
LMatrix4 _lens_mat_inv
PN_stdfloat _min_fov
PN_stdfloat _near_distance
LMatrix4 _projection_mat
LMatrix4 _projection_mat_inv
LMatrix4 _projection_mat_left
LMatrix4 _projection_mat_left_inv
LMatrix4 _projection_mat_right
LMatrix4 _projection_mat_right_inv
LVector3 _up_vector
short _user_flags
LVecBase3 _view_hpr
LVector3 _view_vector

Detailed Description

Definition at line 287 of file lens.h.


Member Function Documentation

void Lens::CData::fillin ( DatagramIterator scan,
BamReader manager 
) [virtual]

This internal function is called by make_from_bam to read in all of the relevant data from the BamFile for the new Geom.

Reimplemented from CycleData.

Definition at line 2068 of file lens.cxx.

References DatagramIterator::get_stdfloat(), DatagramIterator::get_string(), DatagramIterator::get_uint16(), and DatagramIterator::get_uint8().

virtual TypeHandle Lens::CData::get_parent_type ( ) const [inline, virtual]

Returns the type of the container that owns the CycleData.

This is useful mainly for debugging.

Reimplemented from CycleData.

Definition at line 295 of file lens.h.

void Lens::CData::write_datagram ( BamWriter manager,
Datagram dg 
) const [virtual]

Writes the contents of this object to the datagram for shipping out to a Bam file.

Reimplemented from CycleData.

Definition at line 2047 of file lens.cxx.

References Datagram::add_stdfloat(), Datagram::add_string(), Datagram::add_uint16(), and Datagram::add_uint8().


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations