#include <fltTransformScale.h>
Inheritance diagram for FltTransformScale:
Public Member Functions | |
FltTransformScale (FltHeader *header) | |
void | set (const LPoint3d ¢er, const LVecBase3f &scale) |
bool | has_center () const |
const LPoint3d & | get_center () const |
const LVecBase3f & | get_scale () 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 | _center |
LVecBase3f | _scale |
Static Private Attributes | |
TypeHandle | _type_handle |
|
Definition at line 31 of file fltTransformScale.cxx. |
|
Reimplemented from FltRecord. Definition at line 147 of file fltTransformScale.cxx. References _center, _scale, Datagram::add_be_float32(), Datagram::add_be_float64(), FltRecord::build_record(), FO_scale, Datagram::pad_bytes(), and writer(). |
|
Reimplemented from FltRecord. Definition at line 113 of file fltTransformScale.cxx. References _center, _scale, FltRecord::check_remaining_size(), FltRecord::extract_record(), FO_scale, DatagramIterator::get_be_float32(), DatagramIterator::get_be_float64(), nassertr, reader(), recompute_matrix(), and DatagramIterator::skip_bytes(). |
|
Reimplemented from FltTransformRecord. Definition at line 55 of file fltTransformScale.h. References get_class_type(), and init_type(). |
|
Definition at line 72 of file fltTransformScale.cxx. References _center. |
|
Reimplemented from FltTransformRecord. Definition at line 56 of file fltTransformScale.h. References _type_handle. Referenced by force_init_type(), get_type(), and FltToEggLevelState::set_transform(). |
|
Definition at line 82 of file fltTransformScale.cxx. References _scale. |
|
Reimplemented from FltTransformRecord. Definition at line 52 of file fltTransformScale.h. References get_class_type(). |
|
Definition at line 59 of file fltTransformScale.cxx. References _center. Referenced by recompute_matrix(). |
|
Reimplemented from FltTransformRecord. Definition at line 59 of file fltTransformScale.h. References _type_handle, FltTransformRecord::get_class_type(), FltTransformRecord::init_type(), and register_type(). Referenced by force_init_type(), and init_libflt(). |
|
Definition at line 92 of file fltTransformScale.cxx. References _center, FltTransformRecord::_matrix, _scale, has_center(), and LCAST. Referenced by extract_record(), and set(). |
|
Definition at line 42 of file fltTransformScale.cxx. References _center, _scale, recompute_matrix(), and scale. |
|
Definition at line 44 of file fltTransformScale.h. Referenced by build_record(), extract_record(), FltTransformScale(), get_center(), has_center(), recompute_matrix(), and set(). |
|
Definition at line 45 of file fltTransformScale.h. Referenced by build_record(), extract_record(), FltTransformScale(), get_scale(), recompute_matrix(), and set(). |
|
Reimplemented from FltTransformRecord. Definition at line 23 of file fltTransformScale.cxx. Referenced by get_class_type(), and init_type(). |