00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef FLTTRACKPLANE_H
00016 #define FLTTRACKPLANE_H
00017
00018 #include "pandatoolbase.h"
00019
00020 #include "luse.h"
00021
00022 class FltRecordReader;
00023 class FltRecordWriter;
00024
00025
00026
00027
00028
00029
00030 class FltTrackplane {
00031 public:
00032 FltTrackplane();
00033
00034 bool extract_record(FltRecordReader &reader);
00035 bool build_record(FltRecordWriter &writer) const;
00036
00037 public:
00038 LPoint3d _origin;
00039 LPoint3d _alignment;
00040 LVector3d _plane;
00041 bool _grid_state;
00042 bool _grid_under;
00043 PN_stdfloat _grid_angle;
00044 double _grid_spacing_x;
00045 double _grid_spacing_y;
00046 bool _snap_to_grid;
00047 double _grid_size;
00048 int _grid_spacing_direction;
00049 int _grid_mask;
00050 };
00051
00052 #endif
00053
00054
00055