NVIDIA IndeX API nvidia_logo_transpbg.gif Up
idistributed_data.h
Go to the documentation of this file.
1/******************************************************************************
2 * Copyright 2023 NVIDIA Corporation. All rights reserved.
3 *****************************************************************************/
6
7#ifndef NVIDIA_INDEX_IDISTRIBUTED_DATA_H
8#define NVIDIA_INDEX_IDISTRIBUTED_DATA_H
9
10#include <mi/base/interface_declare.h>
11#include <mi/dice.h>
12
13#include <mi/math/bbox.h>
14#include <mi/math/matrix.h>
15
17
18namespace nv
19{
20namespace index
21{
22
28 public mi::base::Interface_declare<0xe7159219,0x4b05,0x4201,0x82,0x70,0x5a,0xaf,0xfc,0x8b,0xf4,0xdb,
29 nv::index::IScene_element>
30{
31public:
39 virtual mi::math::Bbox_struct<mi::Float32, 3> get_bounding_box() const = 0;
40
45 virtual mi::math::Matrix_struct<mi::Float32, 4, 4> get_transform() const = 0;
46
59 virtual void set_clip_region(const mi::math::Bbox_struct<mi::Float32, 3>& clip_region) = 0;
60
67 virtual mi::math::Bbox_struct<mi::Float32, 3> get_clip_region() const = 0;
68
75 virtual bool get_pickable() const = 0;
76
81 virtual void set_pickable(bool pickable) = 0;
82};
83
84}} // namespace index / nv
85
86#endif // NVIDIA_INDEX_IDISTRIBUTED_DATA_H
The base class of all distributed datasets.
Definition: idistributed_data.h:30
virtual bool get_pickable() const =0
Each distributed dataset may be pickable, so that the ray cast through the scene can intersect and qu...
virtual mi::math::Bbox_struct< mi::Float32, 3 > get_clip_region() const =0
A distributed dataset's extent in 3D space that shall be considered for rendering or computing can be...
virtual void set_pickable(bool pickable)=0
Sets the pickable state of the distributed data scene element.
virtual mi::math::Bbox_struct< mi::Float32, 3 > get_bounding_box() const =0
A distributed data has an extent in 3D space and thus defines a 3D bounding box.
virtual mi::math::Matrix_struct< mi::Float32, 4, 4 > get_transform() const =0
Returns the transformation matrix applied to the distributed data.
virtual void set_clip_region(const mi::math::Bbox_struct< mi::Float32, 3 > &clip_region)=0
A distributed dataset's extent in 3D space that shall be considered for rendering or computing can be...
Interface class representing scene elements in the scene description.
Common namespace for all NVIDIA APIs.
Definition: iindex.h:349