MCPcopy Create free account
hub / github.com/PDAL/PDAL / AttributeBuffer

Method AttributeBuffer

plugins/rdb/io/RdbPointcloud.cpp:47–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45
46
47RdbPointcloud::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
63void RdbPointcloud::AttributeBuffer::resize(const size_t size)

Callers

nothing calls this directly

Calls 1

resizeFunction · 0.50

Tested by

no test coverage detected