NVIDIA IndeX API nvidia_logo_transpbg.gif Up
iheightfield_pick_result.h
Go to the documentation of this file.
1/******************************************************************************
2 * Copyright 2023 NVIDIA Corporation. All rights reserved.
3 *****************************************************************************/
6
7#ifndef NVIDIA_INDEX_IHEIGHTFIELD_PICK_RESULT_H
8#define NVIDIA_INDEX_IHEIGHTFIELD_PICK_RESULT_H
9
10#include <mi/base/interface_declare.h>
11#include <mi/dice.h>
12
14
15namespace nv
16{
17namespace index
18{
19
27 public mi::base::Interface_declare<0x5634e199,0xb768,0x4512,0xba,0xe9,0xd7,0x70,0x50,0xa3,0x6c,0xc9,
28 nv::index::IScene_pick_result>
29{
30public:
38 virtual bool is_computing_enabled() const = 0;
39
44 virtual const mi::math::Color_struct& get_computed_color() const = 0;
45};
46
47}} // namespace index / nv
48
49#endif // NVIDIA_INDEX_IHEIGHTFIELD_PICK_RESULT_H
Interface class that returns the heightfield specific result of a pick operation/query.
Definition: iheightfield_pick_result.h:29
virtual bool is_computing_enabled() const =0
A heightfield can also serve as a canvas for displaying compute results.
virtual const mi::math::Color_struct & get_computed_color() const =0
Returns the color value of the color value computed for the intersection point.
Results exposed by the NVIDIA IndeX library when querying a scene's contents.
Common namespace for all NVIDIA APIs.
Definition: iindex.h:349