36 #ifndef RIEGL_RDB_POINTCLOUD_QUERYFILL_HPP 37 #define RIEGL_RDB_POINTCLOUD_QUERYFILL_HPP 55 namespace pointcloud {
92 riegl::rdb::PointcloudData *pointcloud,
93 const std::vector<GraphNode::ID> *nodes,
94 const std::string &filter
102 operator bool()
const;
141 const std::string &attribute,
147 template <
typename ValueType>
149 const std::string &attribute,
150 const ValueType &buffer
164 template <
typename ObjectType,
typename MemberPo
inter>
166 const std::string &attribute,
167 const ObjectType &
object,
168 const MemberPointer member
175 template <
typename ObjectType,
typename MemberPo
inter>
177 const std::string &attribute,
178 const ObjectType &
object,
179 const MemberPointer member,
180 const std::size_t index
183 bindBuffer(attribute, (
object.*member)[index]);
230 std::shared_ptr<Private> data;
235 #endif // RIEGL_RDB_POINTCLOUD_QUERYFILL_HPP void bindMember(const std::string &attribute, const ObjectType &object, const MemberPointer member, const std::size_t index)
Bind attribute buffer.
DataType
Point attribute access data type.
std::uint32_t next(std::uint32_t count)
Fill points.
ValueType * dataPointerOf(ValueType *const value)
Get pointer to variable or to data in a std::array or vector container.
QueryFill()
Default constructor.
void bind(const std::string &attribute, const DataType dataType, const void *buffer)
Bind attribute buffer.
std::uint32_t progress() const
Progress.
RIEGL Laser Measurement Systems GmbH, Austria.
DataType dataTypeOf()
Convenience wrapper for DataTypeOf class.
void close()
Finish query.
void bindBuffer(const std::string &attribute, const ValueType &buffer)
Bind attribute buffer.
void bindMember(const std::string &attribute, const ObjectType &object, const MemberPointer member)
Bind attribute buffer.
bool valid() const
Check if query is not null.
Point attribute access data types.
Pointcloud class implementation details.