NVIDIA Iray API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
iexport_api.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_IEXPORT_API_H
9 #define MI_NEURAYLIB_IEXPORT_API_H
10 
12 
13 namespace mi {
14 
15 class IArray;
16 class IBsdf_isotropic_data;
17 class IExport_result;
18 class IImpexp_state;
19 class IMap;
20 class IString;
21 class IWriter;
22 
23 namespace neuraylib {
24 
25 class ICanvas;
26 class IExporter;
27 class ITransaction;
28 
33 class IExport_api : public
35  mi::base::Interface_declare<0xe254f559,0x4056,0x4166,0x83,0x6a,0x4c,0x00,0x90,0x0a,0xdb,0x22>
36 {
37 public:
39 
40 
81  virtual const IExport_result* export_scene(
82  ITransaction* transaction,
83  const char* uri,
84  const char* rootgroup,
85  const char* caminst = 0,
86  const char* options = 0,
87  const IMap* exporter_options = 0) const = 0;
88 
145  virtual const IExport_result* export_elements(
146  ITransaction* transaction,
147  const char* uri,
148  const IArray* elements,
149  const IMap* exporter_options = 0) const = 0;
150 
183  virtual Sint32 export_canvas(
184  const char* uri, const ICanvas* canvas, Uint32 quality = 100) const = 0;
185 
197  virtual Sint32 export_bsdf_data(
198  const char* uri,
199  const IBsdf_isotropic_data* reflection,
200  const IBsdf_isotropic_data* transmission) const = 0;
201 
203 
205 
212  virtual Size get_exporter_length() const = 0;
213 
221  virtual const IExporter* get_exporter( Size index) const = 0;
222 
233  virtual const IExporter* select_exporter_by_extension( const char* extension) const = 0;
234 
240  virtual IWriter* get_writer( const char* uri) const = 0;
241 
243 
245 
287  virtual const IString* convert_filename_to_uri( const char* filename) const = 0;
288 
341  virtual const IString* convert_uri_to_filename( const char* uri) const = 0;
342 
344 };
345  // end group mi_neuray_impexp
347 
348 } // namespace neuraylib
349 
350 } // namespace mi
351 
352 #endif // MI_NEURAYLIB_IEXPORT_API_H