#include <PointCloudAPI.h>
Public Types | |
enum | Status { Status_Alive, Status_Dead, Status_Error_Unknown_Failure, Status_Error_File_System_Failure, Status_Error_Deserialization_Failure, Status_Error_Could_Not_Find_Node, Status_Error_Corrupt_Node } |
Public Member Functions | |
void | Advance () |
Status | GetStatus () const |
QueryResult const & | operator* () const |
QueryResult const * | operator-> () const |
QueryIterator () | |
QueryIterator (QueryIterator &&other) | |
~QueryIterator () | |
Friends | |
QueryIterator | QueryPoints (Env, Filter &) |
The iterator returned from a call to ooc::query::QueryPoints.
ooc::query::QueryIterator::QueryIterator | ( | ) |
Constructs a dead query iterator.
ooc::query::QueryIterator::QueryIterator | ( | QueryIterator && | other | ) |
Constructs a query iterator from another with the same state and progress of other.
ooc::query::QueryIterator::~QueryIterator | ( | ) |
void ooc::query::QueryIterator::Advance | ( | ) |
Advances the iterator to the next point result. This is only legal to call when this->GetStatus() returns ooc::query::QueryIterator::Status_Alive.
Status ooc::query::QueryIterator::GetStatus | ( | ) | const |
QueryResult const& ooc::query::QueryIterator::operator* | ( | ) | const |
This is only legal to call when this->GetStatus() returns ooc::query::QueryIterator::Status_Alive.
QueryResult const* ooc::query::QueryIterator::operator-> | ( | ) | const |
This is only legal to call when this->GetStatus() returns ooc::query::QueryIterator::Status_Alive.
QueryIterator QueryPoints | ( | Env | , |
Filter & | |||
) | [friend] |
Allows users to query the points in a point cloud tree. Based on the input filter, the returned points may include both points in memory and on disk.
env | The environment of the point cloud to query points from. |
filter | The filter to select points with. |