NVIDIA IndeX API nvidia_logo_transpbg.gif Up
iscene_convenience_manipulation.h
Go to the documentation of this file.
1/******************************************************************************
2 * Copyright 2023 NVIDIA Corporation. All rights reserved.
3 *****************************************************************************/
6
7#ifndef NVIDIA_INDEX_ISCENE_CONVENIENCE_MANIPULATION_H
8#define NVIDIA_INDEX_ISCENE_CONVENIENCE_MANIPULATION_H
9
10#include <mi/dice.h>
11#include <mi/base/interface_declare.h>
12#include <mi/base/uuid.h>
13
14namespace nv
15{
16namespace index
17{
18
37 public mi::base::Interface_declare<0xc8934dfa,0xc049,0x401e,0x90,0x3a,0x8d,0x18,0x2f,0xfa,0x39,0x81>
38{
39public:
52 bool enable,
53 mi::neuraylib::Tag_struct tag,
54 mi::neuraylib::IDice_transaction* dice_transaction) = 0;
55
68 bool enable,
69 mi::neuraylib::Tag_struct tag,
70 mi::neuraylib::IDice_transaction* dice_transaction) = 0;
71
97 const mi::math::Color_struct& color,
98 mi::Float32 width,
99 mi::Float32 smoothness,
100 mi::Float32 discontinuity_limit,
101 mi::neuraylib::IDice_transaction* dice_transaction) = 0;
102
127 const mi::math::Color_struct& intensity,
128 const mi::math::Vector_struct<mi::Float32, 3>& direction,
129 mi::neuraylib::IDice_transaction* dice_transaction) = 0;
130
142 mi::math::Color_struct& intensity,
143 mi::math::Vector_struct<mi::Float32, 3>& direction,
144 mi::neuraylib::IDice_transaction* dice_transaction) const = 0;
145};
146
147}} // namespace index / nv
148
149#endif // NVIDIA_INDEX_ISCENE_CONVENIENCE_MANIPULATION_H
An interface class that provides a convenient way to change commonly used scene manipulations.
Definition: iscene_convenience_manipulation.h:38
virtual void set_default_intersection_highlighting_properties(const mi::math::Color_struct &color, mi::Float32 width, mi::Float32 smoothness, mi::Float32 discontinuity_limit, mi::neuraylib::IDice_transaction *dice_transaction)=0
Changing the default properties used for intersection highlighting.
virtual void get_values_of_default_light(mi::math::Color_struct &intensity, mi::math::Vector_struct< mi::Float32, 3 > &direction, mi::neuraylib::IDice_transaction *dice_transaction) const =0
Since the default light source is not exposed through the NVIDIA IndeX library, the following method ...
virtual void set_trianglemesh_intersection_highlighting(bool enable, mi::neuraylib::Tag_struct tag, mi::neuraylib::IDice_transaction *dice_transaction)=0
Enabling and disabling the highlighting of the intersections of all triangle meshes with a plane.
virtual void set_values_of_default_light(const mi::math::Color_struct &intensity, const mi::math::Vector_struct< mi::Float32, 3 > &direction, mi::neuraylib::IDice_transaction *dice_transaction)=0
Changing the parameter of the default light source.
virtual void set_heightfield_intersection_highlighting(bool enable, mi::neuraylib::Tag_struct tag, mi::neuraylib::IDice_transaction *dice_transaction)=0
Enabling and disabling the highlighting of the intersections of all heightfields with a plane.
Common namespace for all NVIDIA APIs.
Definition: iindex.h:349