/** * PANDA 3D SOFTWARE * Copyright (c) Carnegie Mellon University. All rights reserved. * * All use of this software is subject to the terms of the revised BSD * license. You should have received a copy of this license along * with this source code in a file named "LICENSE." * * @file fltEyepoint.h * @author drose * @date 2000-08-26 */ #ifndef FLTEYEPOINT_H #define FLTEYEPOINT_H #include "pandatoolbase.h" #include "luse.h" class FltRecordReader; class FltRecordWriter; /** * A single eyepoint entry in the eyepoint/trackplane palette. */ class FltEyepoint { public: FltEyepoint(); bool extract_record(FltRecordReader &reader); bool build_record(FltRecordWriter &writer) const; public: LPoint3d _rotation_center; LVecBase3 _hpr; LMatrix4 _rotation; PN_stdfloat _fov; PN_stdfloat _scale; PN_stdfloat _near_clip; PN_stdfloat _far_clip; LMatrix4 _fly_through; LPoint3 _eyepoint; PN_stdfloat _fly_through_yaw; PN_stdfloat _fly_through_pitch; LVector3 _eyepoint_direction; bool _no_fly_through; bool _ortho_mode; bool _is_valid; int _image_offset_x; int _image_offset_y; int _image_zoom; }; #endif