![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /********************************************************************* 00002 ** Copyright (c) 1999 MaK Technologies, Inc. 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 /********************************************************************* 00006 ** $RCSfile: cultFeat.h,v $ $Revision: 1.5 $ $State: Exp $ 00007 *********************************************************************/ 00008 00009 #ifndef cultFeat_H_ 00010 #define cultFeat_H_ 00011 00012 #include "gdb/gdbDefines.h" 00013 #include "gdb/feature.h" 00014 00015 // class DtGdbCulturalFeature: 00016 // 00017 // DtGdbCulturalFeature is subclassed from DtFeature and is 00018 // used to represent structures that are static and 00019 // sit atop the terrain, such as, buildings, bridges, trees, 00020 // etc. 00021 00022 class DT_DLL_gdb DtGdbCulturalFeature : public DtFeature 00023 { 00024 public: 00025 00026 // default constructor 00027 DtGdbCulturalFeature(); 00028 00029 // destructor 00030 virtual ~DtGdbCulturalFeature(); 00031 00032 // copy constructor 00033 DtGdbCulturalFeature(const DtGdbCulturalFeature& orig); 00034 00035 // assignment operator 00036 DtGdbCulturalFeature& operator=(const DtGdbCulturalFeature& orig); 00037 00038 // return the type of Gdb Node the object is 00039 virtual DtGdbNode::DtGdbNodeType type() const; 00040 00041 // prints out the contents of the object 00042 virtual void dump(int indentLevel) const; 00043 00044 protected: 00045 00046 }; 00047 00048 inline DtGdbNode::DtGdbNodeType DtGdbCulturalFeature::type() const 00049 { 00050 return(DtGdbNode::CULTURAL_FEATURE); 00051 } 00052 00053 #endif 00054