|
TransferFunctionFeatureHandle | create_feature () |
|
void | delete_feature (const std::string &feature_id) |
|
void | clear () |
|
TextureHandle | get_diffuse_lut () const |
| Get the lookup texture of the diffuse color.
|
|
TextureHandle | get_specular_lut () const |
|
TransferFunctionFeatureHandle | get_feature (const std::string &feature_id) const |
|
Public Member Functions inherited from Core::StateHandler |
| StateHandler (const std::string &type_str, bool auto_id) |
|
template<class HANDLE , class T > |
bool | add_state (const std::string &key, HANDLE &state, const T &default_value) |
| Add a local state variable with default value.
|
|
template<class HANDLE , class T > |
bool | add_state (const std::string &key, HANDLE &state, const T &default_value, const T &min_value, const T &max_value, const T &step) |
| Add a local state variable with default value and min and max.
|
|
template<class HANDLE > |
bool | add_state (const std::string &key, HANDLE &state) |
| Add a local state variable without default value.
|
|
template<class HANDLE > |
bool | add_state (const std::string &key, HANDLE &state, const std::string &default_option, const std::string &option_list) |
| Add a local state variable with option list.
|
|
template<class HANDLE > |
bool | add_state (const std::string &key, HANDLE &state, const std::string &default_option, const std::vector< std::string > option_list) |
| Add a local state variable with option list.
|
|
template<class HANDLE > |
bool | add_state (const std::string &key, HANDLE &state, const std::string &default_option, const std::vector< OptionLabelPair > option_list) |
| Add a local state variable with option list.
|
|
template<class HANDLE > |
bool | add_state (const std::string &key, HANDLE &state, const std::vector< std::string > &default_options, const std::vector< OptionLabelPair > option_list) |
| Add a local state variable with option list.
|
|
template<class HANDLE > |
bool | add_state (const std::string &key, HANDLE &state, const std::vector< std::string > &default_options, const std::string &option_list) |
| Add a local state variable with option list.
|
|
template<class HANDLE , class T > |
bool | add_state (const std::string &key, HANDLE &state, const std::vector< T > &default_value) |
| Add a local state variable without default value.
|
|
void | invalidate () |
| this function is called when you need to delete something from the state engine, but may have More...
|
|
bool | is_valid () |
| returns true if the function hasn't been invalidated
|
|
void | mark_as_project_data () |
| Mask the states that are added to this state handler as project data.
|
|
void | do_not_save_id_number () |
| The id number of the statehandler will not be saved.
|
|
void | set_initializing (bool initializing) |
|
bool | load_states (const StateIO &state_io) |
| Load the states into the StateIO variable.
|
|
bool | save_states (StateIO &state_io) |
| Save the states into the StateIO variable.
|
|
const std::string & | get_statehandler_id () const |
| The id of the handler that will be the prefix of the state variables.
|
|
const std::string & | get_statehandler_id_base () const |
| The id of the handler that will be the prefix of the state variables.
|
|
size_t | get_statehandler_id_number () const |
| The id number of the handler that will be at the end of the prefix.
|
|