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

FltTransformRotateAboutEdge Class Reference

#include <fltTransformRotateAboutEdge.h>

Inheritance diagram for FltTransformRotateAboutEdge:

FltTransformRecord FltRecord TypedReferenceCount TypedObject ReferenceCount List of all members.

Public Member Functions

 FltTransformRotateAboutEdge (FltHeader *header)
void set (const LPoint3d &point_a, const LPoint3d &point_b, float angle)
const LPoint3d & get_point_a () const
const LPoint3d & get_point_b () const
float get_angle () 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 _point_a
LPoint3d _point_b
float _angle

Static Private Attributes

TypeHandle _type_handle

Constructor & Destructor Documentation

FltTransformRotateAboutEdge::FltTransformRotateAboutEdge FltHeader header  ) 
 

Definition at line 31 of file fltTransformRotateAboutEdge.cxx.

References _angle, _point_a, and _point_b.


Member Function Documentation

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

Reimplemented from FltRecord.

Definition at line 146 of file fltTransformRotateAboutEdge.cxx.

References _angle, _point_a, _point_b, Datagram::add_be_float32(), Datagram::add_be_float64(), FltRecord::build_record(), FO_rotate_about_edge, Datagram::pad_bytes(), and writer().

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

Reimplemented from FltRecord.

Definition at line 111 of file fltTransformRotateAboutEdge.cxx.

References _angle, _point_a, _point_b, FltRecord::check_remaining_size(), FltRecord::extract_record(), FO_rotate_about_edge, DatagramIterator::get_be_float32(), DatagramIterator::get_be_float64(), nassertr, reader(), recompute_matrix(), and DatagramIterator::skip_bytes().

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

Reimplemented from FltTransformRecord.

Definition at line 56 of file fltTransformRotateAboutEdge.h.

References get_class_type(), and init_type().

float FltTransformRotateAboutEdge::get_angle  )  const
 

Definition at line 79 of file fltTransformRotateAboutEdge.cxx.

References _angle.

Referenced by FltToEggLevelState::set_transform().

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

Reimplemented from FltTransformRecord.

Definition at line 57 of file fltTransformRotateAboutEdge.h.

References _type_handle.

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

const LPoint3d & FltTransformRotateAboutEdge::get_point_a  )  const
 

Definition at line 58 of file fltTransformRotateAboutEdge.cxx.

References _point_a.

Referenced by FltToEggLevelState::set_transform().

const LPoint3d & FltTransformRotateAboutEdge::get_point_b  )  const
 

Definition at line 68 of file fltTransformRotateAboutEdge.cxx.

References _point_b.

Referenced by FltToEggLevelState::set_transform().

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

Reimplemented from FltTransformRecord.

Definition at line 53 of file fltTransformRotateAboutEdge.h.

References get_class_type().

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

Reimplemented from FltTransformRecord.

Definition at line 60 of file fltTransformRotateAboutEdge.h.

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

Referenced by force_init_type(), and init_libflt().

void FltTransformRotateAboutEdge::recompute_matrix  )  [private]
 

Definition at line 89 of file fltTransformRotateAboutEdge.cxx.

References _angle, FltTransformRecord::_matrix, _point_a, _point_b, and CS_zup_right.

Referenced by extract_record(), and set().

void FltTransformRotateAboutEdge::set const LPoint3d &  point_a,
const LPoint3d &  point_b,
float  angle
 

Definition at line 44 of file fltTransformRotateAboutEdge.cxx.

References _angle, _point_a, _point_b, and recompute_matrix().


Member Data Documentation

float FltTransformRotateAboutEdge::_angle [private]
 

Definition at line 46 of file fltTransformRotateAboutEdge.h.

Referenced by build_record(), extract_record(), FltTransformRotateAboutEdge(), get_angle(), recompute_matrix(), and set().

LPoint3d FltTransformRotateAboutEdge::_point_a [private]
 

Definition at line 44 of file fltTransformRotateAboutEdge.h.

Referenced by build_record(), extract_record(), FltTransformRotateAboutEdge(), get_point_a(), recompute_matrix(), and set().

LPoint3d FltTransformRotateAboutEdge::_point_b [private]
 

Definition at line 45 of file fltTransformRotateAboutEdge.h.

Referenced by build_record(), extract_record(), FltTransformRotateAboutEdge(), get_point_b(), recompute_matrix(), and set().

TypeHandle FltTransformRotateAboutEdge::_type_handle [static, private]
 

Reimplemented from FltTransformRecord.

Definition at line 23 of file fltTransformRotateAboutEdge.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