NVIDIA Iray SDK API nvidia_logo_transpbg.gif Up
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mi::neuraylib::ISection_object Class Referenceabstract

Section objects are used to cull parts of the scene. More...

Inheritance diagram for mi::neuraylib::ISection_object:
mi::base::Interface_declare< 0xa89f8533, 0x0896, 0x4aa5, 0xaf, 0xb4, 0x6e, 0xf9, 0xfb, 0x50, 0xc3, 0xb0, neuraylib::IScene_element > mi::neuraylib::IScene_element mi::base::Interface_declare< 0x8a2a4da9, 0xe323, 0x452c, 0xb8, 0xda, 0x92, 0x45, 0x67, 0x85, 0xd7, 0x78, neuraylib::IAttribute_set > mi::neuraylib::IAttribute_set mi::base::Interface_declare< 0x1bcb8d48, 0x10c1, 0x4b3e, 0x9b, 0xfa, 0x06, 0x23, 0x61, 0x81, 0xd3, 0xe1 > mi::base::IInterface

Public Member Functions

virtual bool get_clip_light () const =0
 Indicates whether the section plane also affects lights (or only geometry). More...
 
virtual void set_clip_light (bool flag)=0
 Specifies whether the section plane also affects lights (or only geometry). More...
 

Additional Inherited Members

- Public Types inherited from mi::base::Interface_declare< 0xa89f8533, 0x0896, 0x4aa5, 0xaf, 0xb4, 0x6e, 0xf9, 0xfb, 0x50, 0xc3, 0xb0, neuraylib::IScene_element >
typedef Interface_declare< id1,
id2, id3, id4, id5, id6, id7,
id8, id9, id10, id11,
neuraylib::IScene_element
Self
 Own type. More...
 
typedef Uuid_t< id1, id2, id3,
id4, id5, id6, id7, id8, id9,
id10, id11 > 
IID
 Declares the interface ID (IID) of this interface. More...
 
- Static Public Member Functions inherited from mi::base::Interface_declare< 0xa89f8533, 0x0896, 0x4aa5, 0xaf, 0xb4, 0x6e, 0xf9, 0xfb, 0x50, 0xc3, 0xb0, neuraylib::IScene_element >
static bool compare_iid (const Uuid &iid)
 Compares the interface ID iid against the interface ID of this interface and of its ancestors. More...
 

Detailed Description

Section objects are used to cull parts of the scene.

For now, planes are the only supported type of section objects. They are positioned at the origin of the local space. Their normal in local space points down the negative z -axis, like the camera.

Member Function Documentation

virtual bool mi::neuraylib::ISection_object::get_clip_light ( ) const
pure virtual

Indicates whether the section plane also affects lights (or only geometry).

When the parameter is set to true, also the geometry behind the section plane occludes incoming light. The default is false.

virtual void mi::neuraylib::ISection_object::set_clip_light ( bool  flag)
pure virtual

Specifies whether the section plane also affects lights (or only geometry).