NVIDIA Iray API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ion_demand_mesh.h
Go to the documentation of this file.
1 //*****************************************************************************
2 // Copyright 1986, 2014 NVIDIA Corporation. All rights reserved.
3 //*****************************************************************************
6 //*****************************************************************************
7 
8 #ifndef MI_NEURAYLIB_ION_DEMAND_MESH_H
9 #define MI_NEURAYLIB_ION_DEMAND_MESH_H
10 
12 #include <mi/neuraylib/typedefs.h>
13 
14 namespace mi {
15 
16 namespace neuraylib { class ITransaction; }
17 
18 class IOn_demand_mesh_callback;
19 class ISimple_mesh;
20 
25 class IOn_demand_mesh :
46  public base::Interface_declare<0x0c1cb14f,0x985a,0x426e,0xa3,0x79,0xa7,0xf5,0x62,0x60,0xd6,0x8d,
47  IScene_element>
48 {
49 public:
54  virtual void set_callback( IOn_demand_mesh_callback* callback) = 0;
55 
57  virtual const IOn_demand_mesh_callback* get_callback() const = 0;
58 
60 
61 
63  virtual void set_bbox_min( const Float32_3_struct& bbox_min) = 0;
64 
66  virtual void set_bbox_max( const Float32_3_struct& bbox_max) = 0;
67 
69  virtual const Float32_3_struct& get_bbox_min() const = 0;
70 
72  virtual const Float32_3_struct& get_bbox_max() const = 0;
73 
75 
77 
83  virtual void set_maximum_displacement( Float32 displacement) = 0;
84 
88  virtual Float32 get_maximum_displacement() const = 0;
89 
91 };
92 
97  public base::Interface_declare<0x7cadfdf7,0xd26f,0x48ac,0x91,0x18,0x2d,0x6d,0x6f,0x7a,0x78,0xf4>
98 {
99 public:
108  virtual const ISimple_mesh* call() const = 0;
109 };
110  // end group mi_neuray_leaf_nodes
112 
113 } // namespace mi
114 
115 #endif // MI_NEURAYLIB_ION_DEMAND_MESH_H