37 #ifndef RIEGL_RDB_POINTCLOUD_QUERYSTAT_HPP
38 #define RIEGL_RDB_POINTCLOUD_QUERYSTAT_HPP
55 namespace pointcloud {
89 explicit QueryStat(riegl::rdb::PointcloudData *pointcloud);
96 operator bool()
const;
130 const std::string &filter = std::string()
133 const std::string &filter = std::string()
137 index(result, filter);
153 const std::string &attribute,
156 const bool cleaned=
false
160 template <
typename ValueType>
163 const std::string &attribute,
165 const bool cleaned=
false
172 template <
typename ValueType>
175 const std::string &attribute,
177 const bool cleaned=
false
195 const std::string &attribute,
198 const bool cleaned=
false
202 template <
typename ValueType>
205 const std::string &attribute,
207 const bool cleaned=
false
214 template <
typename ValueType>
217 const std::string &attribute,
219 const bool cleaned=
false
233 const std::string &attribute,
238 const std::string &attribute
242 revision(nodeID, attribute, result);
248 std::shared_ptr<Private> data;
253 #endif // RIEGL_RDB_POINTCLOUD_QUERYSTAT_HPP
void maximum(const GraphNode::ID &nodeID, const std::string &attribute, const DataType dataType, void *buffer, const bool cleaned=false)
Highest value of node.
DataType
Point attribute access data type.
QueryStat()
Default constructor.
void minimum(const GraphNode::ID &nodeID, const std::string &attribute, ValueType &buffer, const bool cleaned=false)
Lowest value of node.
ValueType * dataPointerOf(ValueType *const value)
Get pointer to variable or to data in a std::array or vector container.
void minimum(const GraphNode::ID &nodeID, const std::string &attribute, ValueType *buffer, const bool cleaned=false)
Lowest value of node.
void close()
Finish query.
Transaction::ID revision(const GraphNode::ID &nodeID, const std::string &attribute)
void maximum(const GraphNode::ID &nodeID, const std::string &attribute, ValueType *buffer, const bool cleaned=false)
Highest value of node.
DataType dataTypeOf()
Convenience wrapper for DataTypeOf class.
void maximum(const GraphNode::ID &nodeID, const std::string &attribute, ValueType &buffer, const bool cleaned=false)
Highest value of node.
void minimum(const GraphNode::ID &nodeID, const std::string &attribute, const DataType dataType, void *buffer, const bool cleaned=false)
Lowest value of node.
bool valid() const
Check if query is not null.
Point attribute access data types.
Pointcloud class implementation details.
void index(GraphNode &root, const std::string &filter=std::string())
Get index graph.
GraphNode index(const std::string &filter=std::string())
void revision(const GraphNode::ID &nodeID, const std::string &attribute, Transaction::ID &revision)
Attribute revision.