neuray Services API Programmer's Manual

mi::nservices::IPick_response_handler Class Reference

[Render Loops]

Description

Abstract interface called when a pick operation on a render loop has completed.

Public Member Functions

virtual void error( mi::Sint32 code, const char* error) =0
This is called when the pick operation has completed with an error result. More...
virtual void picked( mi::neuraylib::IPick_array* pick_results) =0
This is called when the pick operation has completed successfully. More...

Member Functions

virtual void mi::​nservices::​IPick_response_handler::error( mi::Sint32 code, const char* error) [pure virtual]

This is called when the pick operation has completed with an error result.

Parameters

code
the error code.
error
the error message string.
virtual void mi::​nservices::​IPick_response_handler::picked( mi::neuraylib::IPick_array* pick_results) [pure virtual]

This is called when the pick operation has completed successfully.

Parameters

pick_results
the results of the pick operation.