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

pandatool/src/flt/fltEyepoint.h

Go to the documentation of this file.
00001 // Filename: fltEyepoint.h
00002 // Created by:  drose (26Aug00)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) 2001, Disney Enterprises, Inc.  All rights reserved
00008 //
00009 // All use of this software is subject to the terms of the Panda 3d
00010 // Software license.  You should have received a copy of this license
00011 // along with this source code; you will also find a current copy of
00012 // the license at http://www.panda3d.org/license.txt .
00013 //
00014 // To contact the maintainers of this program write to
00015 // panda3d@yahoogroups.com .
00016 //
00017 ////////////////////////////////////////////////////////////////////
00018 
00019 #ifndef FLTEYEPOINT_H
00020 #define FLTEYEPOINT_H
00021 
00022 #include <pandatoolbase.h>
00023 
00024 #include <luse.h>
00025 
00026 class FltRecordReader;
00027 class FltRecordWriter;
00028 
00029 ////////////////////////////////////////////////////////////////////
00030 //       Class : FltEyepoint
00031 // Description : A single eyepoint entry in the eyepoint/trackplane
00032 //               palette.
00033 ////////////////////////////////////////////////////////////////////
00034 class FltEyepoint {
00035 public:
00036   FltEyepoint();
00037 
00038   bool extract_record(FltRecordReader &reader);
00039   bool build_record(FltRecordWriter &writer) const;
00040 
00041 public:
00042   LPoint3d _rotation_center;
00043   LVecBase3f _hpr;
00044   LMatrix4f _rotation;
00045   float _fov;
00046   float _scale;
00047   float _near_clip;
00048   float _far_clip;
00049   LMatrix4f _fly_through;
00050   LPoint3f _eyepoint;
00051   float _fly_through_yaw;
00052   float _fly_through_pitch;
00053   LVector3f _eyepoint_direction;
00054   bool _no_fly_through;
00055   bool _ortho_mode;
00056   bool _is_valid;
00057   int _image_offset_x;
00058   int _image_offset_y;
00059   int _image_zoom;
00060 };
00061 
00062 #endif
00063 
00064 
00065 

Generated on Fri May 2 03:19:08 2003 for Panda-Tool by doxygen1.3