Material Definition Language API nvidia_logo_transpbg.gif Up
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ibbox.h
Go to the documentation of this file.
1 /***************************************************************************************************
2  * Copyright 2020 NVIDIA Corporation. All rights reserved.
3  **************************************************************************************************/
6 
7 #ifndef MI_NEURAYLIB_IBBOX_H
8 #define MI_NEURAYLIB_IBBOX_H
9 
10 #include <mi/math/bbox.h>
11 #include <mi/neuraylib/icompound.h>
12 #include <mi/neuraylib/typedefs.h>
13 
14 namespace mi {
15 
20 class IBbox3 :
26  public base::Interface_declare<0x107953d0,0x70a0,0x48f5,0xb1,0x17,0x68,0x8e,0x7b,0xf8,0x85,0xa1,
27  ICompound>
28 {
29 public:
31  virtual Bbox3_struct get_value() const = 0;
32 
34  virtual void get_value( Bbox3_struct& value) const = 0;
35 
37  virtual void set_value( const Bbox3_struct& value) = 0;
38 
43  inline void get_value( Bbox3& value) const {
44  Bbox3_struct value_struct;
45  get_value( value_struct);
46  value = value_struct;
47  }
48 
53  inline void set_value( const Bbox3& value) {
54  Bbox3_struct value_struct = value;
55  set_value( value_struct);
56  }
57 
59 
61 };
62  // end group mi_neuray_compounds
64 
65 } // namespace mi
66 
67 #endif // MI_NEURAYLIB_IBBOX_H