NVIDIA Iray API Home  Up
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
igroup.h
Go to the documentation of this file.
1 //*****************************************************************************
2 // Copyright 1986, 2016 NVIDIA Corporation. All rights reserved.
3 //*****************************************************************************
6 //*****************************************************************************
7 
8 #ifndef MI_NEURAYLIB_IGROUP_H
9 #define MI_NEURAYLIB_IGROUP_H
10 
12 #include <mi/neuraylib/version.h>
13 
14 namespace mi {
15 
16 namespace neuraylib {
17 
28 class IGroup :
39  public base::Interface_declare<0x3b26d1b4,0x4aa8,0x4876,0xad,0x7c,0x4a,0xaa,0xd9,0x25,0x0d,0xce,
40  neuraylib::IScene_element>
41 {
42 public:
44  virtual Uint32 get_length() const = 0;
45 
50  virtual const char* get_element( Uint32 index) const = 0;
51 
63  virtual Sint32 attach( const char* scene_element) = 0;
64 
76  virtual Sint32 detach( const char* scene_element) = 0;
77 
79  virtual void clear () = 0;
80 };
81  // end group mi_neuray_scene_graph_structure
83 
84 } // namespace neuraylib
85 
86 #ifdef MI_NEURAYLIB_DEPRECATED_NAMESPACE_MI_TRANSITION
87 using neuraylib::IGroup;
88 using neuraylib::IScene_element;
89 #endif // MI_NEURAYLIB_DEPRECATED_NAMESPACE_MI_TRANSITION
90 
91 } // namespace mi
92 
93 #endif // MI_NEURAYLIB_IGROUP_H