NVIDIA Iray API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
iexporter.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_IEXPORTER_H
9 #define MI_NEURAYLIB_IEXPORTER_H
10 
13 
14 namespace mi
15 {
16 
17 class IArray;
18 class IExport_result;
19 class IImpexp_state;
20 class IMap;
21 class IWriter;
22 
23 namespace neuraylib
24 {
25 
26 class ITransaction;
27 
32 class IExporter :
34  public base::Interface_declare<0x543b5252,0x7c50,0x4998,0xa9,0xf3,0x97,0xa9,0x4e,0x11,0xfd,0x3a,
35  IImpexp_base>
36 {
37 public:
45  virtual bool test_file_type(const char* extension, const IWriter* writer) const = 0;
46 
48 
78  virtual IExport_result* export_scene(
79  ITransaction* transaction,
80  const char* extension,
81  IWriter* writer,
82  const char* rootgroup,
83  const char* caminst,
84  const char* options,
85  const IMap* exporter_options,
86  IImpexp_state* state) const = 0;
87 
115  virtual IExport_result* export_elements(
116  ITransaction* transaction,
117  const char* extension,
118  IWriter* writer,
119  const IArray* elements,
120  const IMap* exporter_options,
121  IImpexp_state* state) const = 0;
122 };
123  // end group mi_neuray_impexp
125 
126 } // namespace neuraylib
127 
128 } // namespace mi
129 
130 #endif // MI_NEURAYLIB_IEXPORTER_H