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

FltTransformPut Class Reference

#include <fltTransformPut.h>

Inheritance diagram for FltTransformPut:

FltTransformRecord FltRecord TypedReferenceCount TypedObject ReferenceCount List of all members.

Public Member Functions

 FltTransformPut (FltHeader *header)
void set (const LPoint3d &from_origin, const LPoint3d &from_align, const LPoint3d &from_track, const LPoint3d &to_origin, const LPoint3d &to_align, const LPoint3d &to_track)
const LPoint3d & get_from_origin () const
const LPoint3d & get_from_align () const
const LPoint3d & get_from_track () const
const LPoint3d & get_to_origin () const
const LPoint3d & get_to_align () const
const LPoint3d & get_to_track () 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 extract_record (FltRecordReader &reader)
virtual bool build_record (FltRecordWriter &writer) const

Private Member Functions

void recompute_matrix ()

Private Attributes

LPoint3d _from_origin
LPoint3d _from_align
LPoint3d _from_track
LPoint3d _to_origin
LPoint3d _to_align
LPoint3d _to_track

Static Private Attributes

TypeHandle _type_handle

Constructor & Destructor Documentation

FltTransformPut::FltTransformPut FltHeader header  ) 
 

Definition at line 33 of file fltTransformPut.cxx.

References _from_align, _from_origin, _from_track, _to_align, _to_origin, and _to_track.


Member Function Documentation

bool FltTransformPut::build_record FltRecordWriter writer  )  const [protected, virtual]
 

Reimplemented from FltRecord.

Definition at line 195 of file fltTransformPut.cxx.

References _from_align, _from_origin, _from_track, _to_align, _to_origin, _to_track, Datagram::add_be_float64(), FltRecord::build_record(), FO_put, Datagram::pad_bytes(), and writer().

bool FltTransformPut::extract_record FltRecordReader reader  )  [protected, virtual]
 

Reimplemented from FltRecord.

Definition at line 151 of file fltTransformPut.cxx.

References _from_align, _from_origin, _from_track, _to_align, _to_origin, _to_track, FltRecord::check_remaining_size(), FltRecord::extract_record(), FO_put, DatagramIterator::get_be_float64(), nassertr, reader(), recompute_matrix(), and DatagramIterator::skip_bytes().

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

Reimplemented from FltTransformRecord.

Definition at line 68 of file fltTransformPut.h.

References get_class_type(), and init_type().

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

Reimplemented from FltTransformRecord.

Definition at line 69 of file fltTransformPut.h.

References _type_handle.

Referenced by force_init_type(), get_type(), and FltToEggLevelState::set_transform().

const LPoint3d & FltTransformPut::get_from_align  )  const
 

Definition at line 80 of file fltTransformPut.cxx.

References _from_align.

Referenced by FltToEggLevelState::set_transform().

const LPoint3d & FltTransformPut::get_from_origin  )  const
 

Definition at line 70 of file fltTransformPut.cxx.

References _from_origin.

Referenced by FltToEggLevelState::set_transform().

const LPoint3d & FltTransformPut::get_from_track  )  const
 

Definition at line 90 of file fltTransformPut.cxx.

References _from_track.

Referenced by FltToEggLevelState::set_transform().

const LPoint3d & FltTransformPut::get_to_align  )  const
 

Definition at line 110 of file fltTransformPut.cxx.

References _to_align.

Referenced by FltToEggLevelState::set_transform().

const LPoint3d & FltTransformPut::get_to_origin  )  const
 

Definition at line 100 of file fltTransformPut.cxx.

References _to_origin.

Referenced by FltToEggLevelState::set_transform().

const LPoint3d & FltTransformPut::get_to_track  )  const
 

Definition at line 120 of file fltTransformPut.cxx.

References _to_track.

Referenced by FltToEggLevelState::set_transform().

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

Reimplemented from FltTransformRecord.

Definition at line 65 of file fltTransformPut.h.

References get_class_type().

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

Reimplemented from FltTransformRecord.

Definition at line 72 of file fltTransformPut.h.

References _type_handle, FltTransformRecord::get_class_type(), FltTransformRecord::init_type(), and register_type().

Referenced by force_init_type(), and init_libflt().

void FltTransformPut::recompute_matrix  )  [private]
 

Definition at line 130 of file fltTransformPut.cxx.

References _from_align, _from_origin, _from_track, FltTransformRecord::_matrix, _to_align, _to_origin, _to_track, CS_zup_right, invert, and look_at().

Referenced by extract_record(), and set().

void FltTransformPut::set const LPoint3d &  from_origin,
const LPoint3d &  from_align,
const LPoint3d &  from_track,
const LPoint3d &  to_origin,
const LPoint3d &  to_align,
const LPoint3d &  to_track
 

Definition at line 50 of file fltTransformPut.cxx.

References _from_align, _from_origin, _from_track, _to_align, _to_origin, _to_track, and recompute_matrix().


Member Data Documentation

LPoint3d FltTransformPut::_from_align [private]
 

Definition at line 54 of file fltTransformPut.h.

Referenced by build_record(), extract_record(), FltTransformPut(), get_from_align(), recompute_matrix(), and set().

LPoint3d FltTransformPut::_from_origin [private]
 

Definition at line 53 of file fltTransformPut.h.

Referenced by build_record(), extract_record(), FltTransformPut(), get_from_origin(), recompute_matrix(), and set().

LPoint3d FltTransformPut::_from_track [private]
 

Definition at line 55 of file fltTransformPut.h.

Referenced by build_record(), extract_record(), FltTransformPut(), get_from_track(), recompute_matrix(), and set().

LPoint3d FltTransformPut::_to_align [private]
 

Definition at line 57 of file fltTransformPut.h.

Referenced by build_record(), extract_record(), FltTransformPut(), get_to_align(), recompute_matrix(), and set().

LPoint3d FltTransformPut::_to_origin [private]
 

Definition at line 56 of file fltTransformPut.h.

Referenced by build_record(), extract_record(), FltTransformPut(), get_to_origin(), recompute_matrix(), and set().

LPoint3d FltTransformPut::_to_track [private]
 

Definition at line 58 of file fltTransformPut.h.

Referenced by build_record(), extract_record(), FltTransformPut(), get_to_track(), recompute_matrix(), and set().

TypeHandle FltTransformPut::_type_handle [static, private]
 

Reimplemented from FltTransformRecord.

Definition at line 25 of file fltTransformPut.cxx.

Referenced by get_class_type(), and init_type().


The documentation for this class was generated from the following files:
Generated on Fri Apr 18 01:01:04 2003 for Panda-Tool by doxygen1.3