#include <HWindowFilterOOC.h>
The HWindowFilterOOC class filters OOC points based on window-space areas. These areas can be a combination of rectangles and triangles.
◆ HWindowFilterOOC()
HWindowFilterOOC::HWindowFilterOOC |
( |
bool |
deep_filter | ) |
|
Constructs an HWindowFilterOOC object without any window-space areas to filter OOC points with.
- Parameters
-
deep_filter | Determines whether or not the constructed object will accept OOC points that are not loaded in memory. |
◆ AcceptPoint()
virtual bool HWindowFilterOOC::AcceptPoint |
( |
ooc::Point const & |
point, |
|
|
size_t |
point_index |
|
) |
| |
|
virtual |
Rejects a point based on any supplied rectangle or triangle window-space areas. The point is projected to window-space and tested against each of these areas. If any of these areas contains the point, it is accepted.
◆ AddRectangleWindow()
void HWindowFilterOOC::AddRectangleWindow |
( |
HBaseView & |
view, |
|
|
ooc::Point const & |
window_min, |
|
|
ooc::Point const & |
window_max |
|
) |
| |
Adds a rectangle window-space area to filter points with.
◆ AddTriangleWindow()
void HWindowFilterOOC::AddTriangleWindow |
( |
HBaseView & |
view, |
|
|
ooc::Point const & |
p1, |
|
|
ooc::Point const & |
p2, |
|
|
ooc::Point const & |
p3 |
|
) |
| |
Adds a triangle window-space area to filter points with.
◆ ClearWindows()
void HWindowFilterOOC::ClearWindows |
( |
| ) |
|
◆ HasWindows()
bool HWindowFilterOOC::HasWindows |
( |
| ) |
const |
- Returns
- Returns true if this object has any rectangle or triangle window-space areas added to it.
◆ RejectBounding()
virtual bool HWindowFilterOOC::RejectBounding |
( |
ooc::Point const & |
min_bound, |
|
|
ooc::Point const & |
max_bound |
|
) |
| |
|
virtual |
Rejects boundings based on any supplied rectangle or triangle window-space areas. The boundings are projected to window-space and tested against each of these areas. If none overlap, the bounding is rejected.
◆ RejectNode()
virtual bool HWindowFilterOOC::RejectNode |
( |
ooc::NodeHandle const & |
node_handle | ) |
|
|
virtual |
Never rejects a node based on its node handle.
◆ RejectPointsInMemory()
virtual bool HWindowFilterOOC::RejectPointsInMemory |
( |
| ) |
|
|
virtual |
Never rejects points in memory.
◆ RejectPointsOnDisk()
virtual bool HWindowFilterOOC::RejectPointsOnDisk |
( |
| ) |
|
|
virtual |
Rejects points on disk if deep_filter is not set through the constructor.
The documentation for this class was generated from the following file: