HWindowFilterOOC

class HWindowFilterOOC

The HWindowFilterOOC class filters OOC points based on window-space areas. These areas can be a combination of rectangles and triangles.

Inherits from: ooc::query::Filter

Methods

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.
virtual bool HWindowFilterOOC::RejectPointsInMemory() override

virtual

Never rejects points in memory.

virtual bool HWindowFilterOOC::RejectPointsOnDisk() override

virtual

Rejects points on disk if deep_filter is not set through the constructor.

virtual bool HWindowFilterOOC::RejectNode(ooc::NodeHandle const &node_handle) override

virtual

Never rejects a node based on its node handle.

virtual bool HWindowFilterOOC::RejectBounding(ooc::Point const &min_bound, ooc::Point const &max_bound) override

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.

virtual bool HWindowFilterOOC::AcceptPoint(ooc::Point const &point, size_t point_index) override

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.

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.

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.

void HWindowFilterOOC::ClearWindows()

Discards all existing rectangle or triangle window-space areas that have been added to this object.

bool HWindowFilterOOC::HasWindows() const

const

Returns

Returns true if this object has any rectangle or triangle window-space areas added to it.
void HWindowFilterOOC::WorldBoxCorners(ooc::Point const &world_min, ooc::Point const &world_max, ooc::Point (&out_world_points)[8])

private

Variables

VArray<HWindowInfoOOC> HWindowFilterOOC::window_infos

private

VArray<
bool HWindowFilterOOC::deep_filter

private

bool