mi::shader::Map_distance_base Class Reference

abstract class which defines the interface for all the lookup distance functors. Don't derive from this, either derive from Map_distance or from Map_quad_distance More...

#include <shader_map.h>

Inheritance diagram for mi::shader::Map_distance_base:

mi::shader::Map_distance< DIM > mi::shader::Map_quad_distance< DIM > List of all members.

Public Member Functions

virtual const miUint get_dimension () const =0
 returns the dimension
virtual const float * get_point () const =0
 returns the search point
virtual float operator() (const float *min, const float *max) const =0
 returns the distance from a bounding box
virtual float operator() (const Map_iterator *element) const =0
 returns the distance from an element

Detailed Description

abstract class which defines the interface for all the lookup distance functors. Don't derive from this, either derive from Map_distance or from Map_quad_distance


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

Copyright © 1986-2008 by mental images GmbH