 |
RDB 2
|
Go to the documentation of this file.
36 #ifndef RIEGL_RDB_POINTCLOUD_QUERYUPDATE_HPP
37 #define RIEGL_RDB_POINTCLOUD_QUERYUPDATE_HPP
51 namespace pointcloud {
84 explicit QueryUpdate(riegl::rdb::PointcloudData *pointcloud);
91 operator bool()
const;
131 const std::string &attribute,
134 const int32_t stride = 0
138 template <
typename ValueType>
140 const std::string &attribute,
141 const ValueType &buffer,
142 const int32_t stride = 0
158 template <
typename ObjectType,
typename MemberPo
inter>
160 const std::string &attribute,
161 const ObjectType &
object,
162 const MemberPointer member
166 attribute,
object.*member,
167 static_cast<int32_t>(
sizeof(ObjectType))
172 template <
typename ObjectType,
typename MemberPo
inter>
174 const std::string &attribute,
175 const ObjectType &
object,
176 const MemberPointer member,
181 attribute, (
object.*member)[index],
182 static_cast<int32_t>(
sizeof(ObjectType))
228 std::shared_ptr<Private> data;
233 #endif // RIEGL_RDB_POINTCLOUD_QUERYUPDATE_HPP
bool valid() const
Check if query is not null.
void bindMember(const std::string &attribute, const ObjectType &object, const MemberPointer member, const size_t index)
Bind attribute buffer.
RIEGL Laser Measurement Systems GmbH, Austria.
DataType dataTypeOf()
Convenience wrapper for DataTypeOf class.
void close()
Finish query.
uint32_t next(uint32_t count)
Update points.
void bindBuffer(const std::string &attribute, const ValueType &buffer, const int32_t stride=0)
Bind attribute buffer.
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 bind(const std::string &attribute, const DataType dataType, const void *buffer, const int32_t stride=0)
Bind attribute buffer.
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.