HWindowFilterOOC Class Reference

#include <HWindowFilterOOC.h>

Public Member Functions

virtual bool AcceptPoint (ooc::Point const &point, size_t point_index) OVERRIDE
 
void AddRectangleWindow (HBaseView &view, ooc::Point const &window_min, ooc::Point const &window_max)
 
void AddTriangleWindow (HBaseView &view, ooc::Point const &p1, ooc::Point const &p2, ooc::Point const &p3)
 
void ClearWindows ()
 
bool HasWindows () const
 
 HWindowFilterOOC (bool deep_filter)
 
virtual bool RejectBounding (ooc::Point const &min_bound, ooc::Point const &max_bound) OVERRIDE
 
virtual bool RejectNode (ooc::NodeHandle const &node_handle) OVERRIDE
 
virtual bool RejectPointsInMemory () OVERRIDE
 
virtual bool RejectPointsOnDisk () OVERRIDE
 

Detailed Description

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

Constructor & Destructor Documentation

◆ HWindowFilterOOC()

HWindowFilterOOC::HWindowFilterOOC ( bool  deep_filter)

Constructs an HWindowFilterOOC object without any window-space areas to filter OOC points with.

Parameters
deep_filterDetermines whether or not the constructed object will accept OOC points that are not loaded in memory.

Member Function Documentation

◆ 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 ( )

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

Referenced by HSelectionSetOOC< SelectionSet >::Reset().

◆ 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: