![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2005 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: mtFltGeomGridDs.h,v $ $Revision: 1.9 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00009 #ifndef mtFltGeomGridDs_H_ 00010 #define mtFltGeomGridDs_H_ 00011 00012 // 00013 // \file mtFltGeomGridDs.h 00014 // \brief Represents a GeometryGridDataset node inside a Metaflight file. 00015 // 00016 00017 #include "mtflt/mtfltDefines.h" 00018 #include "mtflt/mtFltGridDs.h" 00019 #include <libxml/xmlreader.h> 00020 00021 // \brief Represents a GeometryGridDataset node inside a Metaflight file. 00022 // This class represents a GeometryGridDataset, which is the most important 00023 // Dataset type when it comes to preparing a titled terrain database to be 00024 // loaded by VR-Forces. This is one of the types of information conveyed by 00025 // MetaFlight. 00026 class DT_DLL_mtflt DtMtFltGeomGridDs : public DtMtFltGridDs 00027 { 00028 public: 00029 00030 // Default constructor. 00031 DtMtFltGeomGridDs(); 00032 00033 // Destructor 00034 virtual ~DtMtFltGeomGridDs(); 00035 00036 // Copy constructor 00037 DtMtFltGeomGridDs(const DtMtFltGeomGridDs& node); 00038 00039 // Assignment operator 00040 DtMtFltGeomGridDs& operator=(const DtMtFltGeomGridDs& orig); 00041 00042 // Overrides the \p DtMtFltNode::readNode method to read the 00043 // node information from a Metaflight GeometryGridDataset node. It 00044 // reads the generic Dataset information with DtMtFltGridDs::readNode 00045 // \param root pointer to the root node of the document 00046 // \param node pointer to the xml node that will be read 00047 // \return \b true if success reading the node. \b false otherwise. 00048 virtual bool readNode(const xmlNodePtr root, xmlNodePtr node); 00049 00050 protected: 00051 00052 00053 }; 00054 00055 #endif