Iray SDK API nvidia_logo_transpbg.gif Up
isection_object.h
Go to the documentation of this file.
1/***************************************************************************************************
2 * Copyright 2024 NVIDIA Corporation. All rights reserved.
3 **************************************************************************************************/
6
7#ifndef MI_NEURAYLIB_ISECTION_OBJECT_H
8#define MI_NEURAYLIB_ISECTION_OBJECT_H
9
12
13namespace mi {
14
15namespace neuraylib {
16
27 public base::Interface_declare<0xa89f8533,0x0896,0x4aa5,0xaf,0xb4,0x6e,0xf9,0xfb,0x50,0xc3,0xb0,
28 neuraylib::IScene_element>
29{
30public:
35 virtual bool get_clip_light() const = 0;
36
38 virtual void set_clip_light( bool flag) = 0;
39
46 virtual Color_struct get_cap_color() const = 0;
47
56 virtual void set_cap_color(const Color_struct&) = 0;
57};
58 // end group mi_neuray_misc
60
61} // namespace neuraylib
62
63} // namespace mi
64
65#endif // MI_NEURAYLIB_ISECTION_OBJECT_H
Mixin class template for deriving new interface declarations.
Definition: interface_declare.h:43
Section objects are used to cull parts of the scene.
Definition: isection_object.h:29
virtual bool get_clip_light() const =0
Indicates whether the section plane also affects lights (or only geometry).
virtual void set_clip_light(bool flag)=0
Specifies whether the section plane also affects lights (or only geometry).
virtual Color_struct get_cap_color() const =0
Retrieves this plane's capping color.
virtual void set_cap_color(const Color_struct &)=0
Sets an individual section capping color for this plane.
Base class for all scene elements.
Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH.
Definition: neuraylib.h:179
Generic storage class template for an RGBA color representation storing four floating points elements...
Definition: vector.h:67
Typedefs for types from the math API.