VR-Forces 4.0.4 Class Documentation
include/terrainDbFactory/additionalDataRecord.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2006 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: additionalDataRecord.h,v $ $Revision: 1.2 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00012 #ifndef additionalDataRecord_h
00013 #define additionalDataRecord_h
00014 
00015 #include "terrainDbFactory/mfRec.h"
00016 #include "terrainDbFactory/terrainDbFactoryDefines.h"
00017 
00018 // This is a terrain metafile record that specifies some type of additional
00019 // data.  Subclasses of this type can hold any additional data necessary.
00020 // This class contains an includeInMtd function that must be implemented by
00021 // the subclasses.
00022 class DT_DLL_terrainDbFactory DtAdditionalDataRecord : public DtMetafileRecord
00023 {
00024 
00025 public:
00026 
00028    DtAdditionalDataRecord();
00029 
00031    virtual ~DtAdditionalDataRecord();
00032 
00034    DtAdditionalDataRecord(const DtAdditionalDataRecord& orig);
00035 
00037    DtAdditionalDataRecord& operator=(const DtAdditionalDataRecord& orig);
00038 
00039    // The return value of this method determines whether this record will
00040    // be included in the .mtd file created by the TDB Tool.  
00041    // Typically this will be true when this data is an output of the TDB
00042    // tool and necessary to be read in with the generated terrain into the 
00043    // simulation applications.  False when this is treated as an input
00044    // to generating a terrain.
00045    virtual bool includeInMtd() const = 0;
00046 
00047    // \return DtConfigAdditionalDataType
00048    virtual DtConfigCategoryType recordCategory() const;
00049 };
00050 
00051 #endif
00052 

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)