neuray API Programmer's Manual

mi::neuraylib::IPick_array Class Reference

[Rendering and Picking]

Description

This interface represents the return value of a pick operation. Essentially it represents an array of interfaces of type mi::neuraylib::IPick_result, which describe the individual objects hit by the pick operation.

See also:

mi::neuraylib::IRender_context::pick()

Public Member Functions

virtual Uint32 get_length() const =0
Returns the number of pick results.
virtual IPick_resultget_pick_result( Uint32 index) const =0
Returns the pick result at index. More...

Member Functions

virtual Uint32 mi::​neuraylib::​IPick_array::get_length() const [pure virtual]

Returns the number of pick results.

virtual IPick_result* mi::​neuraylib::​IPick_array::get_pick_result( Uint32 index) const [pure virtual]

Returns the pick result at index.

Returns

The pick result at index , or NULL if index is out-of-bounds.