NVIDIA IndeX API
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
13
#include <
nv/index/iscene_query_results.h
>
14
15
namespace
nv
16
{
17
namespace
index
18
{
19
26
class
IHeightfield_pick_result
:
27
public
mi::base::Interface_declare<0x5634e199,0xb768,0x4512,0xba,0xe9,0xd7,0x70,0x50,0xa3,0x6c,0xc9,
28
nv::index::IScene_pick_result>
29
{
30
public
:
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
nv::index::IHeightfield_pick_result
Interface class that returns the heightfield specific result of a pick operation/query.
Definition:
iheightfield_pick_result.h:29
nv::index::IHeightfield_pick_result::is_computing_enabled
virtual bool is_computing_enabled() const =0
A heightfield can also serve as a canvas for displaying compute results.
nv::index::IHeightfield_pick_result::get_computed_color
virtual const mi::math::Color_struct & get_computed_color() const =0
Returns the color value of the color value computed for the intersection point.
iscene_query_results.h
Results exposed by the NVIDIA IndeX library when querying a scene's contents.
nv
Common namespace for all NVIDIA APIs.
Definition:
iindex.h:349
20 February 2024, 19:55, rev375192
© 2024 NVIDIA Corporation.
All rights reserved.