HPS.OOC.QueryFilter

class HPS.OOC.QueryFilter : public IDisposable

QueryFilter is an class used to indicate what point data should be retrieved from OOC.PointCloud.QueryPoints. The default QueryFilter rejects nothing.

Public Functions

bool AcceptPoint (HPS.Point point, ulong point_index)

Determines whether or not a single point is accepted by the filter.

Param point

The coordinates of the point to accept or not in object space.

Param point_index

The index of the point to accept or not.

Return

Returns true if the point is accepted. Returns false otherwise.

bool RejectBounding (HPS.Point min_bound, HPS.Point max_bound)

Determines whether or not a bounding box of points is rejected by the filter.

Param min_bound

The minimum corner of the bounding box to accept or reject in object space.

Param max_bound

The maximum corner of the bounding box to accept or reject in object space.

Return

Returns true if the bounding is rejected. Returns false otherwise.

bool RejectNode (HPS.OOC.NodeHandle node_handle)

Determines whether or not a point cloud node is rejected by the filter.

Param node_handle

The handle of the node to accept or reject.

Return

Returns true if the node is rejected. Returns false otherwise.

bool RejectPointsInMemory ()

Determines whether or not points in memory are rejected by the filter.

Return

Returns true if the filter rejects points that are loaded into memory. Returns false otherwise.

bool RejectPointsOnDisk ()

Determines whether or not points not in memory are rejected by the filter.

Return

Returns true if the filter rejects points that are not loaded into memory. Returns false otherwise.