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;
126 const std::string &filter = std::string()
129 const std::string &filter = std::string()
133 index(result, filter);
149 const std::string &attribute,
152 const bool cleaned=
false 156 template <
typename ValueType>
159 const std::string &attribute,
161 const bool cleaned=
false 168 template <
typename ValueType>
171 const std::string &attribute,
173 const bool cleaned=
false 191 const std::string &attribute,
194 const bool cleaned=
false 198 template <
typename ValueType>
201 const std::string &attribute,
203 const bool cleaned=
false 210 template <
typename ValueType>
213 const std::string &attribute,
215 const bool cleaned=
false 229 const std::string &attribute,
234 const std::string &attribute
238 revision(nodeID, attribute, result);
244 std::shared_ptr<Private> data;
249 #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.
RIEGL Laser Measurement Systems GmbH, Austria.
DataType dataTypeOf()
Convenience wrapper for DataTypeOf class.
bool valid() const
Check if query is not null.
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.
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.