OSSIA
Open Scenario System for Interactive Application
|
Parameter min / max. More...
Parameter min / max.
Functions | |
OSSIA_EXPORT ossia_domain_t | ossia_domain_create (void) |
ossia_domain_create Create a domain More... | |
OSSIA_EXPORT ossia_domain_t | ossia_domain_make_min_max (ossia_value_t min, ossia_value_t max) |
Create a domain from two values. More... | |
OSSIA_EXPORT ossia_value_t | ossia_domain_get_min (ossia_domain_t domain) |
Get the min of a domain. More... | |
OSSIA_EXPORT void | ossia_domain_set_min (ossia_domain_t domain, ossia_value_t value) |
Set the min of a domain. More... | |
OSSIA_EXPORT ossia_value_t | ossia_domain_get_max (ossia_domain_t domain) |
Get the max of a domain. More... | |
OSSIA_EXPORT void | ossia_domain_set_max (ossia_domain_t domain, ossia_value_t value) |
Set the max of a domain. More... | |
OSSIA_EXPORT ossia_domain_t | ossia_domain_make_string_set (const char **strings, size_t n) |
Create a domain from a set of strings. More... | |
OSSIA_EXPORT ossia_domain_t | ossia_domain_make_int_set (const int *values, size_t n) |
Create a domain from a set of ints. More... | |
OSSIA_EXPORT ossia_domain_t | ossia_domain_make_float_set (const float *values, size_t n) |
Create a domain from a set of floats. More... | |
OSSIA_EXPORT ossia_domain_t | ossia_domain_make_value_set (const ossia_value_t *values, size_t n) |
Create a domain from a set of values. More... | |
OSSIA_EXPORT void | ossia_domain_get_values (ossia_domain_t domain, ossia_value_t **values, size_t *n) |
Get the values of a domain. More... | |
OSSIA_EXPORT void | ossia_domain_set_values (ossia_domain_t domain, const ossia_value_t *values, size_t n) |
Set the values of a domain. More... | |
OSSIA_EXPORT void | ossia_domain_free (ossia_domain_t domain) |
Free a domain. More... | |
OSSIA_EXPORT ossia_domain_t ossia_domain_create | ( | void | ) |
ossia_domain_create Create a domain
OSSIA_EXPORT ossia_domain_t ossia_domain_make_min_max | ( | ossia_value_t | min, |
ossia_value_t | max | ||
) |
Create a domain from two values.
OSSIA_EXPORT ossia_value_t ossia_domain_get_min | ( | ossia_domain_t | domain | ) |
Get the min of a domain.
OSSIA_EXPORT void ossia_domain_set_min | ( | ossia_domain_t | domain, |
ossia_value_t | value | ||
) |
Set the min of a domain.
OSSIA_EXPORT ossia_value_t ossia_domain_get_max | ( | ossia_domain_t | domain | ) |
Get the max of a domain.
OSSIA_EXPORT void ossia_domain_set_max | ( | ossia_domain_t | domain, |
ossia_value_t | value | ||
) |
Set the max of a domain.
OSSIA_EXPORT ossia_domain_t ossia_domain_make_string_set | ( | const char ** | strings, |
size_t | n | ||
) |
Create a domain from a set of strings.
OSSIA_EXPORT ossia_domain_t ossia_domain_make_int_set | ( | const int * | values, |
size_t | n | ||
) |
Create a domain from a set of ints.
OSSIA_EXPORT ossia_domain_t ossia_domain_make_float_set | ( | const float * | values, |
size_t | n | ||
) |
Create a domain from a set of floats.
OSSIA_EXPORT ossia_domain_t ossia_domain_make_value_set | ( | const ossia_value_t * | values, |
size_t | n | ||
) |
Create a domain from a set of values.
OSSIA_EXPORT void ossia_domain_get_values | ( | ossia_domain_t | domain, |
ossia_value_t ** | values, | ||
size_t * | n | ||
) |
Get the values of a domain.
OSSIA_EXPORT void ossia_domain_set_values | ( | ossia_domain_t | domain, |
const ossia_value_t * | values, | ||
size_t | n | ||
) |
Set the values of a domain.
OSSIA_EXPORT void ossia_domain_free | ( | ossia_domain_t | domain | ) |
Free a domain.