Alphabetical Class Index  Class Hierarchy   File Members   Compound Members   File List  

ooc::query::Filter Class Reference

#include <PointCloudAPI.h>

List of all members.

Public Member Functions

virtual bool AcceptPoint (Point const &point, size_t point_index)=0
 Filter ()
virtual bool RejectBounding (Point const &min_bound, Point const &max_bound)=0
virtual bool RejectNode (NodeHandle const &node_handle)=0
virtual bool RejectPointsInMemory ()=0
virtual bool RejectPointsOnDisk ()=0
virtual ~Filter ()

Friends

class QueryIterator

Detailed Description

ooc::query::Filter is an abstract class used to indicate what point data should be retrieved from ooc::query::QueryPoints.


Constructor & Destructor Documentation

ooc::query::Filter::Filter ( ) [inline]
virtual ooc::query::Filter::~Filter ( ) [inline, virtual]

Member Function Documentation

virtual bool ooc::query::Filter::AcceptPoint ( Point const &  point,
size_t  point_index 
) [pure virtual]

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

Parameters:
pointThe coordinates of the point to accept or not in object space.
Returns:
true if the point is accepted. Returns false otherwise.
virtual bool ooc::query::Filter::RejectBounding ( Point const &  min_bound,
Point const &  max_bound 
) [pure virtual]

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

Parameters:
min_boundThe minimum corner of the bounding box to accept or reject in object space.
max_boundThe maximum corner of the bounding box to accept or reject in object space.
Returns:
true if the bounding is rejected. Returns false otherwise.
virtual bool ooc::query::Filter::RejectNode ( NodeHandle const &  node_handle) [pure virtual]

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

Parameters:
node_handleThe handle of the node to accept or reject.
Returns:
true if the node is rejected. Returns false otherwise.
virtual bool ooc::query::Filter::RejectPointsInMemory ( ) [pure virtual]

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

Returns:
true if the filter rejects points that are loaded into memory. Returns false otherwise.
virtual bool ooc::query::Filter::RejectPointsOnDisk ( ) [pure virtual]

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

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

Friends And Related Function Documentation

friend class QueryIterator [friend]

The documentation for this class was generated from the following file: