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

pandatool/src/flt/fltTrackplane.h

Go to the documentation of this file.
00001 // Filename: fltTrackplane.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 FLTTRACKPLANE_H
00020 #define FLTTRACKPLANE_H
00021 
00022 #include <pandatoolbase.h>
00023 
00024 #include <luse.h>
00025 
00026 class FltRecordReader;
00027 class FltRecordWriter;
00028 
00029 ////////////////////////////////////////////////////////////////////
00030 //       Class : FltTrackplane
00031 // Description : A single trackplane entry in the eyepoint/trackplane
00032 //               palette.
00033 ////////////////////////////////////////////////////////////////////
00034 class FltTrackplane {
00035 public:
00036   FltTrackplane();
00037 
00038   bool extract_record(FltRecordReader &reader);
00039   bool build_record(FltRecordWriter &writer) const;
00040 
00041 public:
00042   LPoint3d _origin;
00043   LPoint3d _alignment;
00044   LVector3d _plane;
00045   bool _grid_state;
00046   bool _grid_under;
00047   float _grid_angle;
00048   double _grid_spacing_x;
00049   double _grid_spacing_y;
00050   bool _snap_to_grid;
00051   double _grid_size;
00052   int _grid_spacing_direction;
00053   int _grid_mask;
00054 };
00055 
00056 #endif
00057 
00058 
00059 

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