| 45 | |
| 46 | |
| 47 | RdbPointcloud::AttributeBuffer::AttributeBuffer( |
| 48 | const pdal::Dimension::Id id, |
| 49 | const pdal::Dimension::Type type, |
| 50 | const std::string name, |
| 51 | const size_t size |
| 52 | ): |
| 53 | id (id), |
| 54 | type(type), |
| 55 | name(name), |
| 56 | data(), // see resize() |
| 57 | m_typeSize(typeSize(type)) |
| 58 | { |
| 59 | resize(size); |
| 60 | } |
| 61 | |
| 62 | |
| 63 | void RdbPointcloud::AttributeBuffer::resize(const size_t size) |