Changeset 953
- Timestamp:
- 10/30/08 04:35:29 (2 months ago)
- Location:
- trunk
- Files:
-
- 7 modified
-
include/liblas/capi/liblas.h (modified) (1 diff)
-
include/liblas/lasheader.hpp (modified) (3 diffs)
-
include/liblas/laspoint.hpp (modified) (2 diffs)
-
include/liblas/lasreader.hpp (modified) (1 diff)
-
include/liblas/laswriter.hpp (modified) (1 diff)
-
src/lasreader.cpp (modified) (1 diff)
-
src/laswriter.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/liblas/capi/liblas.h
r888 r953 520 520 * @param value integer value to set the minor version to (only the values 1 or 0 are valid) 521 521 * @return LASError enum 522 * 523 * @todo TODO: Maybe this should return fatal error if version out of range -- hobu 522 524 */ 523 525 LAS_DLL LASError LASHeader_SetVersionMinor(LASHeaderH hHeader, uint8_t value); -
trunk/include/liblas/lasheader.hpp
r875 r953 58 58 /// describing a family of ASPRS LAS files. The header is stored 59 59 /// at the beginning of every valid ASPRS LAS file. 60 /// 61 /// \todo TODO (low-priority): replace static-size char arrays as data members 62 /// with std::string and return const-reference to string object. 63 /// 60 64 class LASHeader 61 65 { … … 128 132 /// \param v - should be set to a value between 1 and 65535. 129 133 /// \exception No throw 134 /// 135 /// \todo TODO: Should we warn or throw about type overflow when user passes 65535 + 1 = 0 130 136 void SetFileSourceId(uint16_t v); 131 137 132 138 /// Get value field reserved by the ASPRS LAS Specification. 133 139 /// \note This field is always filled with 0. 140 /// 141 /// \todo TODO: Should we warn or throw about type overflow when user passes 65535 + 1 = 0 134 142 uint16_t GetReserved() const; 135 143 … … 190 198 191 199 /// Get day of year of file creation date. 192 /// \todo Use full date structure instead of Julian date number.200 /// \todo TODO: Use full date structure instead of Julian date number. 193 201 uint16_t GetCreationDOY() const; 194 202 195 203 /// Set day of year of file creation date. 196 204 /// \exception std::out_of_range - given value is higher than number 366. 197 /// \todo Use full date structure instead of Julian date number.205 /// \todo TODO: Use full date structure instead of Julian date number. 198 206 void SetCreationDOY(uint16_t v); 199 207 200 208 /// Set year of file creation date. 201 /// \todo Remove if full date structure is used.209 /// \todo TODO: Remove if full date structure is used. 202 210 uint16_t GetCreationYear() const; 203 211 204 212 /// Get year of file creation date. 205 213 /// \exception std::out_of_range - given value is higher than number 9999. 206 /// \todo Remove if full date structure is used.214 /// \todo TODO: Remove if full date structure is used. 207 215 void SetCreationYear(uint16_t v); 208 216 -
trunk/include/liblas/laspoint.hpp
r813 r953 56 56 /// 57 57 /// \todo TODO: Think about last 1-byte field in record Point Source ID (LAS 1.1) 58 /// 58 59 class LASPoint 59 60 { … … 143 144 double const& operator[](std::size_t const& n) const; 144 145 146 /// \todo TODO: Should we compare other data members, but not only coordinates? 145 147 bool equal(LASPoint const& other) const; 146 148 -
trunk/include/liblas/lasreader.hpp
r813 r953 86 86 87 87 void Init(); // throws on error 88 89 /// \todo TODO: Should we handle m_record.point_source_id ? 88 90 void MakePoint(double const& time); 89 91 -
trunk/include/liblas/laswriter.hpp
r813 r953 65 65 std::size_t GetVersion() const; 66 66 LASHeader const& GetHeader() const; 67 68 /// \todo TODO: Move point record composition deep into writer implementation. 69 /// \todo TODO: How to handle point_source_id in portable way, for LAS 1.0 and 1.1 67 70 bool WritePoint(LASPoint const& point); 68 71 -
trunk/src/lasreader.cpp
r813 r953 170 170 m_point.SetUserData(m_record.user_data); 171 171 172 // TODO: Are we going tohandle m_record.point_source_id ?172 // TODO: Should we handle m_record.point_source_id ? 173 173 174 174 m_point.SetTime(time); -
trunk/src/laswriter.cpp
r813 r953 91 91 m_record.scan_angle_rank = point.GetScanAngleRank(); 92 92 m_record.user_data = point.GetUserData(); 93 m_record.point_source_id = 0; // TODO: How to handle this in portable way, for LAS 1.0 and 1.1 93 // TODO: How to handle this in portable way, for LAS 1.0 and 1.1 94 m_record.point_source_id = 0; 94 95 95 96
