Iray SDK API nvidia_logo_transpbg.gif Up
ipick_result.h
Go to the documentation of this file.
1/***************************************************************************************************
2 * Copyright 2024 NVIDIA Corporation. All rights reserved.
3 **************************************************************************************************/
6
7#ifndef MI_NEURAYLIB_IPICK_RESULT_H
8#define MI_NEURAYLIB_IPICK_RESULT_H
9
12
13namespace mi {
14
15namespace neuraylib {
16
25class IPick_result : public
26 mi::base::Interface_declare<0x1d9690d1,0xcde6,0x432f,0x8c,0x2f,0x60,0x99,0x30,0x6f,0xb1,0xae>
27{
28public:
32 virtual const char* get_picked_object_name() const = 0;
33
35 virtual const Float64_3_struct& get_world_point() const = 0;
36
40 virtual Uint32 get_path_length() const = 0;
41
50 virtual const char* get_path( Uint32 index) const = 0;
51};
52 // end group mi_neuray_rendering
54
55} // namespace neuraylib
56
57} // namespace mi
58
59#endif // MI_NEURAYLIB_IPICK_RESULT_H
Mixin class template for deriving new interface declarations.
Definition: interface_declare.h:43
This interface represents a single object hit by a pick operation.
Definition: ipick_result.h:27
virtual Uint32 get_path_length() const =0
Returns the length of the path from the picked object to the root group.
virtual const char * get_path(Uint32 index) const =0
Returns the name of an element on the path from the picked object to the root group.
virtual const Float64_3_struct & get_world_point() const =0
Returns the world point of the pick operation.
virtual const char * get_picked_object_name() const =0
Returns the name of the picked object.
unsigned int Uint32
32-bit unsigned integer.
Definition: types.h:49
Mixin class template for deriving new interface declarations.
Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH.
Definition: neuraylib.h:179
Generic storage class template for math vector representations storing DIM elements of type T.
Definition: vector.h:135
Typedefs for types from the math API.