libLAS API Reference (svn-trunk)
liblas::BoundsFilter Class Reference

A filter for keeping or rejecting points that fall within a specified bounds. More...

#include <filter.hpp>

Inheritance diagram for liblas::BoundsFilter:
Inheritance graph
Collaboration diagram for liblas::BoundsFilter:
Collaboration graph

Public Member Functions

 BoundsFilter (double minx, double miny, double maxx, double maxy)
 BoundsFilter (double minx, double miny, double minz, double maxx, double maxy, double maxz)
 BoundsFilter (Bounds< double > const &b)
bool filter (const Point &point)
 Function called by liblas::Reader::ReadNextPoint to apply the (list) of filter to the point.
Public Member Functions inherited from liblas::FilterI
void SetType (FilterType t)
 Sets whether the filter is one that keeps data that matches construction criteria or rejects them.
FilterType GetType () const
 Gets the type of filter.
virtual ~FilterI ()
 FilterI (FilterType t)
 Base constructor. Initializes the FilterType.

Additional Inherited Members

Public Types inherited from liblas::FilterI
enum  FilterType { eExclusion = 0 , eInclusion = 1 }
 Determines whether or not the filter keeps or rejects points that meet filtering criteria. More...

Detailed Description

A filter for keeping or rejecting points that fall within a specified bounds.

Constructor & Destructor Documentation

◆ BoundsFilter() [1/3]

liblas::BoundsFilter::BoundsFilter ( double minx,
double miny,
double maxx,
double maxy )

Referenced by filter().

Here is the caller graph for this function:

◆ BoundsFilter() [2/3]

liblas::BoundsFilter::BoundsFilter ( double minx,
double miny,
double minz,
double maxx,
double maxy,
double maxz )

◆ BoundsFilter() [3/3]

liblas::BoundsFilter::BoundsFilter ( Bounds< double > const & b)

Member Function Documentation

◆ filter()

bool liblas::BoundsFilter::filter ( const Point & point)
virtual

Function called by liblas::Reader::ReadNextPoint to apply the (list) of filter to the point.

If the function returns true, the point passes the filter and is kept.

Implements liblas::FilterI.

References BoundsFilter().

Here is the call graph for this function:

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