neuray Services API Programmer's Manual

mi::nservices::ITonemap_context Class Reference

[Tonemapping]

Description

Defines a context in which a tonemapping operation is performed.

Public Member Functions

virtual const mi::neuraylib::IAttribute_setget_attributes() const =0
Gets the attributes associated with this tone mapping operation. More...
virtual const char* get_attributes_name() const =0
Gets the name of the attribute-set associated with this tone mapping operation. More...
virtual mi::neuraylib::ICanvasget_canvas() const =0
Gets the canvas associated with this tonemapping operation. More...
virtual mi::neuraylib::ITransactionget_execution_transaction() =0
Get the current transaction. More...
virtual mi::neuraylib::IPlugin_apiget_plugin_api() const =0
Gets the neuray IPlugin_api. More...
virtual mi::neuraylib::ITransactionget_user_state_transaction() =0
Gets a transaction into the user state. More...

Member Functions

virtual const mi::neuraylib::IAttribute_set* mi::​nservices::​ITonemap_context::get_attributes() const [pure virtual]

Gets the attributes associated with this tone mapping operation.

Returns

The attributes for the tone mapping.

virtual const char* mi::​nservices::​ITonemap_context::get_attributes_name() const [pure virtual]

Gets the name of the attribute-set associated with this tone mapping operation. It can be used to obtain an non-const version of the attributes.

Returns

The name of the attribute-set containing the tone mapping attributes.

virtual mi::neuraylib::ICanvas* mi::​nservices::​ITonemap_context::get_canvas() const [pure virtual]

Gets the canvas associated with this tonemapping operation.

Returns

The canvas for tone mapping.

virtual mi::neuraylib::ITransaction* mi::​nservices::​ITonemap_context::get_execution_transaction() [pure virtual]

Get the current transaction. This transaction is the primary entry point into the neuray database.

Returns

the transaction

virtual mi::neuraylib::IPlugin_api* mi::​nservices::​ITonemap_context::get_plugin_api() const [pure virtual]

Gets the neuray IPlugin_api. Provides direct access to the neuray library.

Returns

the plugin api

virtual mi::neuraylib::ITransaction* mi::​nservices::​ITonemap_context::get_user_state_transaction() [pure virtual]

Gets a transaction into the user state.

Returns

the state transaction or NULL if no state exists