NVIDIA Iray API Home  Up
 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, 2016 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 #include <mi/neuraylib/version.h>
14 
15 namespace mi {
16 
17 namespace neuraylib {
18 
19 class ITransaction;
20 
21 class IOn_demand_mesh_callback;
22 class ISimple_mesh;
23 
28 class IOn_demand_mesh :
50  public base::Interface_declare<0x0c1cb14f,0x985a,0x426e,0xa3,0x79,0xa7,0xf5,0x62,0x60,0xd6,0x8d,
51  neuraylib::IScene_element>
52 {
53 public:
58  virtual void set_callback( IOn_demand_mesh_callback* callback) = 0;
59 
61  virtual const IOn_demand_mesh_callback* get_callback() const = 0;
62 
64 
65 
67  virtual void set_bbox_min( const Float32_3_struct& bbox_min) = 0;
68 
70  virtual void set_bbox_max( const Float32_3_struct& bbox_max) = 0;
71 
73  virtual const Float32_3_struct& get_bbox_min() const = 0;
74 
76  virtual const Float32_3_struct& get_bbox_max() const = 0;
77 
79 
81 
86  virtual void set_maximum_displacement( Float32 displacement) = 0;
87 
91  virtual Float32 get_maximum_displacement() const = 0;
92 
94 };
95 
100  public base::Interface_declare<0x7cadfdf7,0xd26f,0x48ac,0x91,0x18,0x2d,0x6d,0x6f,0x7a,0x78,0xf4>
101 {
102 public:
111  virtual const ISimple_mesh* call() const = 0;
112 };
113  // end group mi_neuray_leaf_nodes
115 
116 } // namespace neuraylib
117 
118 #ifdef MI_NEURAYLIB_DEPRECATED_NAMESPACE_MI_TRANSITION
123 #endif // MI_NEURAYLIB_DEPRECATED_NAMESPACE_MI_TRANSITION
124 
125 } // namespace mi
126 
127 #endif // MI_NEURAYLIB_ION_DEMAND_MESH_H