Hoops Visualize HPS  version 2018-SP2
Hoops Visualize HPS 3D Rendering Engine
Looking for a senior C++ dev?
I'm looking for work. Hire me!
HPS::OOC::QueryFilter Class Reference

QueryFilter is an class used to indicate what point data should be retrieved from OOC::PointCloud::QueryPoints. More...

#include <sprk_ooc.h>

Public Member Functions

 QueryFilter ()
 
virtual ~QueryFilter ()
 
virtual bool RejectPointsInMemory ()
 Determines whether or not points in memory are rejected by the filter. More...
 
virtual bool RejectPointsOnDisk ()
 Determines whether or not points not in memory are rejected by the filter. More...
 
virtual bool RejectNode (NodeHandle const &node_handle)
 Determines whether or not a point cloud node is rejected by the filter. More...
 
virtual bool RejectBounding (Point const &min_bound, Point const &max_bound)
 Determines whether or not a bounding box of points is rejected by the filter. More...
 
virtual bool AcceptPoint (Point const &point, size_t point_index)
 Determines whether or not a single point is accepted by the filter. More...
 

Friends

class QueryIterator
 

Detailed Description

QueryFilter is an class used to indicate what point data should be retrieved from OOC::PointCloud::QueryPoints.

The default QueryFilter rejects nothing.

Constructor & Destructor Documentation

◆ QueryFilter()

HPS::OOC::QueryFilter::QueryFilter ( )
inline

◆ ~QueryFilter()

virtual HPS::OOC::QueryFilter::~QueryFilter ( )
inlinevirtual

Member Function Documentation

◆ AcceptPoint()

virtual bool HPS::OOC::QueryFilter::AcceptPoint ( Point const &  point,
size_t  point_index 
)
inlinevirtual

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.
point_indexThe index of the point to accept or not.
Returns
Returns true if the point is accepted. Returns false otherwise.

◆ RejectBounding()

virtual bool HPS::OOC::QueryFilter::RejectBounding ( Point const &  min_bound,
Point const &  max_bound 
)
inlinevirtual

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
Returns true if the bounding is rejected. Returns false otherwise.

◆ RejectNode()

virtual bool HPS::OOC::QueryFilter::RejectNode ( NodeHandle const &  node_handle)
inlinevirtual

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
Returns true if the node is rejected. Returns false otherwise.

◆ RejectPointsInMemory()

virtual bool HPS::OOC::QueryFilter::RejectPointsInMemory ( )
inlinevirtual

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

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

◆ RejectPointsOnDisk()

virtual bool HPS::OOC::QueryFilter::RejectPointsOnDisk ( )
inlinevirtual

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

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

Friends And Related Function Documentation

◆ QueryIterator

friend class QueryIterator
friend

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