Public Member Functions | Private Attributes
objtree::FilterBox Class Reference

#include <filter.h>

Inheritance diagram for objtree::FilterBox:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual bool filter (const Box &dim) const
 FilterBox (const Box &box)
virtual Type type () const

Private Attributes

Box m_box

Detailed Description

Box filter class.

Definition at line 58 of file filter.h.


Constructor & Destructor Documentation

A constructor. Creates a box filter. The filter returns true for nodes inside this box.

Parameters:
boxbounding box for object filtering

Definition at line 38 of file filter.cpp.


Member Function Documentation

bool objtree::FilterBox::filter ( const Box dim) const [virtual]

Returns true if node is inside a box.

Parameters:
dimnode size
Returns:
true if node interferes with box, false otherwise

Implements objtree::Filter.

Definition at line 48 of file filter.cpp.

virtual Type objtree::FilterBox::type ( ) const [inline, virtual]

Implements objtree::Filter.

Definition at line 67 of file filter.h.


Member Data Documentation

Definition at line 61 of file filter.h.


The documentation for this class was generated from the following files:


srs_env_model
Author(s): Vit Stancl (stancl@fit.vutbr.cz), Tomas Lokaj, Jan Gorig, Michal Spanel (spanel@fit.vutbr.cz)
autogenerated on Sun Jan 5 2014 11:50:50