shader_map.h File Reference

#include "mi_shader_if.h"

Go to the source code of this file.

Namespaces

namespace  mi
namespace  mi::shader_v3

Classes

class  mi::shader_v3::Map_status
 Map_status class. The Map_status is an enumerative class which is meant to list all possible error conditions for the Map-related classes and methods. More...
class  mi::shader_v3::Map_field_type
 Map_field_type class. The Map_field_type is an enumerative class which is meant to list all possible field types for maps. More...
class  mi::shader_v3::Map_base
 Map_base class. The Map_base class is an interface class which provides access to a map, to its elements through the use of get/set methods and to its declaration, and it also provides ways to read/write maps from/to files. More...
class  mi::shader_v3::Map_access_dbhandle
 Map_access_dbhandle class, not to be used directly (use Map_access instead). More...
class  mi::shader_v3::Map_access
 Smart pointer (access-only) to a map in the DB or to a map to be read from file. More...
class  mi::shader_v3::Map_edit_dbhandle
 Map_edit_dbhandle class, not to be used directly (use Map_edit instead). More...
class  mi::shader_v3::Map_edit
 Smart pointer (read/write) to a map in the DB, to a map to be read from file, or to a newly created one. More...
class  mi::shader_v3::Map_declaration_base
 Map_declaration_base class. The Map_declaration_base class is an interface class which provides ways to add/query map field names and ids in a map declaration. More...
class  mi::shader_v3::Map_declaration
 Smart pointer to a map declaration, which allows to retrieve a copy of the declaration of an existing map, or to create a new map declaration. More...
class  mi::shader_v3::Map_element_base
 Map_element_base class. The Map_element_base class is an interface class that represents a map element, which is an isolated and independent piece of data, made up by a declaration and a set of values for its fields. It provides ways to get/set the values of the fields. More...
class  mi::shader_v3::Map_element
 Smart pointer to a map element, which allows to get/set the value of the individual fields. More...
class  mi::shader_v3::Map_iterator_base
 Map_iterator_base class. The Map_iterator_base class is an interface class which provides access to the elements of the map without having to copy them first. The constness of its methods refers actually to the constness of the map it's attached to, not to the constness of the iterator itself: for instance, the 'set' methods are non-const because they change the map, even if they don't change the iterator state; conversely, the 'reset' method is const even if it does change the state of the iterator, but the map itself is untouched. More...
class  mi::shader_v3::Map_iterator_access
 Smart pointer to an access-only map iterator, which allows to move in a map and query elements. More...
class  mi::shader_v3::Map_iterator_edit
 Smart pointer to a read-write map iterator, which allows to move in a map and query/set elements. More...
class  mi::shader_v3::Map_distance_base
 Map_distance_base class. The Map_distance_base class is an interface class for all the lookup distance functors. More...
class  mi::shader_v3::Map_distance< DIM >
 Map_distance<DIM> class. The Map_distance class is an interface template class, which defines all the virtual methods of Map_distance_base class except the distance from an element. The distance from a bounding box is quadratic. More...
class  mi::shader_v3::Map_quad_distance< DIM >
 Map_quad_distance class. The Map_quad_distance functor is a concrete distance functor that defines the operator that returns the distance from an element (quadratic distance). More...
struct  mi::shader_v3::Map_lookup_entry
 an entry in a map lookup, the index of an element and its distance from the search point. More...
class  mi::shader_v3::Map_lookup_base
 Map_lookup_base class. The Map_lookup_base class is an interface class which provides access (read-only) to elements which are the result of a lookup inside a map. More...
class  mi::shader_v3::Map_lookup
 Smart pointer to a map lookup. More...

Typedefs

typedef miUint Map_field_id
 Map_field_id.
typedef Map_quad_distance< 3 > Map_quad_distance3
 predefined quadratic distance functor for the 3-dimensional case.


Detailed Description

mental ray C++ shader interface extensions.

This file provides interfaces that allow interaction with map primitives.

shader_map.h is included by mi_shader_if.h, which in turn is included from shader.h if the shader is compiled as C++ code. A shader does not need to include this file directly.

Copyright © 1986-2008 by mental images GmbH