#include <shader_map.h>
Inheritance diagram for mi::shader::Map_distance< DIM >:

Public Member Functions | |
| Map_distance () | |
| empty constructor | |
| Map_distance (const float *point) | |
| constructor | |
| const miUint | get_dimension () const |
| returns the dimension | |
| const float * | get_point () const |
| returns the search point | |
| float | operator() (const float *min, const float *max) const |
| returns the distance from a bounding box | |
| virtual float | operator() (const Map_iterator *element) const =0 |
| returns the distance from an element | |
Static Public Attributes | |
| const miUint | DIMENSION = DIM |
| DIMENSION of the distance functor, same of the map. | |
Protected Attributes | |
| float | m_point [DIM] |
| m_point is the search point | |
Copyright © 1986-2008 by
mental images GmbH