VR-Forces 4.0.4 Class Documentation
include/shape/shapeHeader.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 1998 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *********************************************************************/
00005 
00006 #ifndef SHAPEHEADER_H
00007 #define SHAPEHEADER_H
00008 
00009 #include "shape/shapeDefines.h"
00010 #include <stdio.h>
00011 #include <vlutil/vlNetTypes.h>
00012 
00013 // class DtShapeHeader:
00014 // WARNING!!!!: public and not virtual because it is used to read shapefiles 
00015 // directly
00016 
00017 class DT_DLL_shape DtShapeHeader
00018 {
00019 
00020 public:
00021 
00022    // default constructor.
00023    DtShapeHeader();
00024 
00025    // destructor
00026    ~DtShapeHeader();
00027 
00028    bool           load(FILE *f);
00029    bool          write(FILE *f);
00030 
00031    DtNetInt32     myFileCode;
00032    DtNetInt32     myPadd1[5];
00033    DtNetInt32     myFileLength;
00034    DtNetInt32     myVersion;
00035    DtNetInt32     myShapeType;
00036    DtNetFloat64   myBoundingBox[8];
00037 
00038 };
00039 
00040 #endif

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)