 |
RDB 2
|
Go to the documentation of this file.
36 #ifndef RIEGL_RDB_POINTCLOUD_QUERYUPDATE_HPP
37 #define RIEGL_RDB_POINTCLOUD_QUERYUPDATE_HPP
53 namespace pointcloud {
86 explicit QueryUpdate(riegl::rdb::PointcloudData *pointcloud);
93 operator bool()
const;
133 const std::string &attribute,
136 const std::int32_t stride = 0
140 template <
typename ValueType>
142 const std::string &attribute,
143 const ValueType &buffer,
144 const std::int32_t stride = 0
160 template <
typename ObjectType,
typename MemberPo
inter>
162 const std::string &attribute,
163 const ObjectType &
object,
164 const MemberPointer member
168 attribute,
object.*member,
169 static_cast<std::int32_t>(
sizeof(ObjectType))
174 template <
typename ObjectType,
typename MemberPo
inter>
176 const std::string &attribute,
177 const ObjectType &
object,
178 const MemberPointer member,
179 const std::size_t index
183 attribute, (
object.*member)[index],
184 static_cast<std::int32_t>(
sizeof(ObjectType))
239 std::shared_ptr<Private> data;
244 #endif // RIEGL_RDB_POINTCLOUD_QUERYUPDATE_HPP
void bindBuffer(const std::string &attribute, const ValueType &buffer, const std::int32_t stride=0)
Bind attribute buffer.
bool valid() const
Check if query is not null.
void bind(const std::string &attribute, const DataType dataType, const void *buffer, const std::int32_t stride=0)
Bind attribute buffer.
RIEGL Laser Measurement Systems GmbH, Austria.
DataType dataTypeOf()
Convenience wrapper for DataTypeOf class.
void close()
Finish query.
void bindMember(const std::string &attribute, const ObjectType &object, const MemberPointer member, const std::size_t index)
Bind attribute buffer.
std::uint32_t next(std::uint32_t count)
Update points.
Point attribute access data types.
ValueType * dataPointerOf(ValueType *const value)
Get pointer to variable or to data in a std::array or vector container.
void bindMember(const std::string &attribute, const ObjectType &object, const MemberPointer member)
Bind attribute buffer.
Pointcloud class implementation details.
QueryUpdate()
Default constructor.
DataType
Point attribute access data type.