![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2006 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 * $RCSfile: vpf3CoordData.h,v $ $Revision: 1.9 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00009 #ifndef VPF_3COORD_DATA_H_ 00010 #define VPF_3COORD_DATA_H_ 00011 00014 00015 #include <vector> 00016 00017 #include "vmap/vpfData.h" 00018 #include "vmap/vmapDefines.h" 00019 00020 00021 //typedefs 00022 struct DT_DLL_vmap DtVpf3Coord 00023 { 00024 double X; 00025 double Y; 00026 double Z; 00027 }; 00028 00029 typedef std::vector<DtVpf3Coord*> DtVpf3CoordVector; 00030 typedef std::vector<DtVpf3Coord*>::iterator DtVpf3CoordVectorIter; 00031 enum DtVpfCoordTypeEnum {TWO, THREE}; 00032 00034 class DT_DLL_vmap DtVpf3CoordData : public DtVpfData 00035 { 00036 private: 00038 DtVpf3CoordData(const DtVpf3CoordData& coordData); 00039 00041 DtVpf3CoordData& operator=(const DtVpf3CoordData& coordData); 00042 00043 public: 00045 DtVpf3CoordData(DtVpfColumn* column, DtVpfCoordTypeEnum coordType); 00046 00048 ~DtVpf3CoordData(); 00049 00052 virtual bool readData(); 00053 00056 virtual const DtVpf3CoordVector* threeCoordData() const; 00057 00058 protected: 00059 DtVpf3CoordVector myCoords; 00060 DtVpfCoordTypeEnum myType; 00061 }; 00062 00063 #endif 00064