NVIDIA IndeX API nvidia_logo_transpbg.gif Up
nv::index::IPath_pick_result Class Referenceabstract

Interface class that represents the path-specific result of a pick operation/query. More...

#include <ipath_query_results.h>

Inherits mi::base::Interface_declare< 0x48da609d, ... >.

Public Member Functions

virtual mi::Uint32 get_segment () const =0
 Returns the index that specifies which of the path segment. More...
 

Detailed Description

Interface class that represents the path-specific result of a pick operation/query.

The interface class sub classes from IScene_pick_result to provide additional intersection results specific to IPath_2d or IPath_3d scene elements. In the future, the path specific pick result interface class may be extended by a derived interface class that returns 3D related pick information such as the normal or 1D/2D-texture coordinates at an intersection point.

Member Function Documentation

 get_segment()

virtual mi::Uint32 nv::index::IPath_pick_result::get_segment ( ) const
pure virtual

Returns the index that specifies which of the path segment.

Each path in constructed by segments defined two consecutive vertices. For instance, the i-th segment is defined by the i-th and the (i+1)-th path vertices.

Returns
Returns the index of the picked segment.

The documentation for this class was generated from the following file: