#include <shader_map.h>
Public Member Functions | |
virtual void | release () const =0 |
deletes the object | |
virtual Map_status | set_declaration (const Map_declaration_handle &declaration)=0 |
sets the declaration of the element | |
virtual Map_status | get_position (float *position) const =0 |
retrieves the position of the element | |
virtual Map_status | get_position (miVector &position) const =0 |
retrieves the position of the element, 3D case | |
virtual Map_status | get (const Map_field_id field_id, float &value) const =0 |
retrieves the value of the desired field | |
virtual Map_status | get (const Map_field_id field_id, int &value) const =0 |
retrieves the value of the desired field | |
virtual Map_status | get (const Map_field_id field_id, miVector &value) const =0 |
retrieves the value of the desired field | |
virtual Map_status | get (const Map_field_id field_id, miColor &value) const =0 |
retrieves the value of the desired field | |
virtual Map_status | get (const Map_field_id field_id, miMatrix &value) const =0 |
retrieves the value of the desired field | |
virtual Map_status | get (const Map_field_id field_id, float *value) const =0 |
retrieves the value of the desired field | |
virtual Map_status | get (const Map_field_id field_id, int *value) const =0 |
retrieves the value of the desired field | |
virtual Map_status | set_position (const float *position)=0 |
sets the position of the element | |
virtual Map_status | set_position (const miVector &position)=0 |
sets the position of the element, 3D case | |
virtual Map_status | set (const Map_field_id field_id, const float value)=0 |
sets the value of the desired field | |
virtual Map_status | set (const Map_field_id field_id, const int value)=0 |
sets the value of the desired field | |
virtual Map_status | set (const Map_field_id field_id, const miVector &value)=0 |
sets the value of the desired field | |
virtual Map_status | set (const Map_field_id field_id, const miColor &value)=0 |
sets the value of the desired field | |
virtual Map_status | set (const Map_field_id field_id, const miMatrix &value)=0 |
sets the value of the desired field | |
virtual Map_status | set (const Map_field_id field_id, const float *value)=0 |
sets the value of the desired field | |
virtual Map_status | set (const Map_field_id field_id, const int *value)=0 |
sets the value of the desired field |
The Map_element class is an abstract class which provides ways to get/set the values of fields. It's an isolated and independent piece of data, made up by a declaration and a set of values for its fields
|
retrieves the value of the desired field
|
|
retrieves the value of the desired field
|
|
retrieves the value of the desired field
|
|
retrieves the value of the desired field
|
|
retrieves the value of the desired field
|
|
retrieves the value of the desired field
|
|
retrieves the value of the desired field
|
|
retrieves the position of the element, 3D case
|
|
retrieves the position of the element
|
|
sets the value of the desired field
|
|
sets the value of the desired field
|
|
sets the value of the desired field
|
|
sets the value of the desired field
|
|
sets the value of the desired field
|
|
sets the value of the desired field
|
|
sets the value of the desired field
|
|
sets the declaration of the element
|
|
sets the position of the element, 3D case
|
|
sets the position of the element
|
Copyright © 1986-2008 by
mental images GmbH