libLAS API Reference
1.8.1
|
Defines public interface to LAS filter implementation. More...
#include <filter.hpp>
Public Types | |
enum | FilterType { eExclusion = 0, eInclusion = 1 } |
Determines whether or not the filter keeps or rejects points that meet filtering criteria. More... | |
Public Member Functions | |
virtual bool | filter (const Point &point)=0 |
Function called by liblas::Reader::ReadNextPoint to apply the (list) of filter to the point. More... | |
void | SetType (FilterType t) |
Sets whether the filter is one that keeps data that matches construction criteria or rejects them. More... | |
FilterType | GetType () const |
Gets the type of filter. More... | |
virtual | ~FilterI () |
FilterI (FilterType t) | |
Base constructor. Initializes the FilterType. More... | |
Defines public interface to LAS filter implementation.
Determines whether or not the filter keeps or rejects points that meet filtering criteria.
Enumerator | |
---|---|
eExclusion |
Filter removes point that meet the criteria of filter(const Point& point) |
eInclusion |
Filter keeps point that meet the criteria of filter(const Point& point) |
|
inlinevirtual |
|
inline |
Base constructor. Initializes the FilterType.
|
pure 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.
Implemented in liblas::ColorFilter, liblas::ContinuousValueFilter< T >, liblas::ValidationFilter, liblas::ReturnFilter, liblas::ThinFilter, liblas::ClassificationFilter, liblas::BoundsFilter, liblas::CoordinateSummary, and liblas::Summary.
|
inline |
Gets the type of filter.
|
inline |
Sets whether the filter is one that keeps data that matches construction criteria or rejects them.