NVIDIA IndeX API nvidia_logo_transpbg.gif Up
ipath_query_results.h
Go to the documentation of this file.
1/******************************************************************************
2 * Copyright 2023 NVIDIA Corporation. All rights reserved.
3 *****************************************************************************/
6
7#ifndef NVIDIA_INDEX_IPATH_QUERY_RESULTS_H
8#define NVIDIA_INDEX_IPATH_QUERY_RESULTS_H
9
10#include <mi/base/interface_declare.h>
11#include <mi/dice.h>
12
14
15namespace nv
16{
17namespace index
18{
19
30 public mi::base::Interface_declare<0x48da609d,0x1f76,0x4a53,0x91,0x06,0x92,0x26,0xdf,0x3e,0x86,0x7c,
31 nv::index::IScene_pick_result>
32{
33public:
40 virtual mi::Uint32 get_segment() const = 0;
41};
42
50 public mi::base::Interface_declare<0x44666ae9,0x28b3,0x4f79,0xb5,0x63,0x2d,0x02,0xba,0xdc,0xf3,0x15,
51 nv::index::IScene_lookup_result>
52{
53public:
59 virtual const mi::math::Vector_struct<mi::Float32, 3>& get_vertex() const = 0;
60
66 virtual const mi::math::Color_struct& get_color() const = 0;
67
74 virtual mi::Uint32 get_color_index() const = 0;
75
81 virtual mi::Float32 get_radius() const = 0;
82};
83
84}} // namespace index / nv
85
86#endif // NVIDIA_INDEX_IPATH_QUERY_RESULTS_H
Interface class that represents the path specific entry lookup result.
Definition: ipath_query_results.h:52
virtual mi::Uint32 get_color_index() const =0
The color index values defined with the vertices are used to index color maps that determine a color ...
virtual mi::Float32 get_radius() const =0
A radius defines the path's shape and is currently set per path.
virtual const mi::math::Color_struct & get_color() const =0
The color values defined with the vertices defines a path's appearance.
virtual const mi::math::Vector_struct< mi::Float32, 3 > & get_vertex() const =0
The set of vertices defines the path in 3D space.
Interface class that represents the path-specific result of a pick operation/query.
Definition: ipath_query_results.h:32
virtual mi::Uint32 get_segment() const =0
Returns the index that specifies which of the path segment.
Results exposed by the NVIDIA IndeX library when querying a scene's contents.
Common namespace for all NVIDIA APIs.
Definition: iindex.h:349