#include <filter.h>
Public Member Functions | |
virtual bool | filter (const Box &dim) const |
FilterBox (const Box &box) | |
virtual Type | type () const |
Private Attributes | |
Box | m_box |
objtree::FilterBox::FilterBox | ( | const Box & | box | ) |
A constructor. Creates a box filter. The filter returns true for nodes inside this box.
box | bounding box for object filtering |
Definition at line 38 of file filter.cpp.
bool objtree::FilterBox::filter | ( | const Box & | dim | ) | const [virtual] |
Returns true if node is inside a box.
dim | node size |
Implements objtree::Filter.
Definition at line 48 of file filter.cpp.
virtual Type objtree::FilterBox::type | ( | ) | const [inline, virtual] |
Implements objtree::Filter.
Box objtree::FilterBox::m_box [private] |