API Documentation
Loading...
Searching...
No Matches
NDEVRFileExporter.h
Go to the documentation of this file.
1/*--------------------------------------------------------------------------------------------
2Copyright (c) 2021, NDEVR LLC
3tyler.parke@ndevr.org
4 __ __ ____ _____ __ __ _______
5 | \ | | | __ \ | ___|\ \ / / | __ \
6 | \ | | | | \ \ | |___ \ \ / / | |__) |
7 | . \| | | |__/ / | |___ \ V / | _ /
8 | |\ |_|_____/__|_____|___\_/____| | \ \
9 |__| \__________________________________| \__\
10
11Subject to the terms of the Enterprise+ Agreement, NDEVR hereby grants
12Licensee a limited, non-exclusive, non-transferable, royalty-free license
13(without the right to sublicense) to use the API solely for the purpose of
14Licensee's internal development efforts to develop applications for which
15the API was provided.
16
17The above copyright notice and this permission notice shall be included in all
18copies or substantial portions of the Software.
19
20THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
21INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
22PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
23FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
24OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
25DEALINGS IN THE SOFTWARE.
26
27Library: Base
28File: Angle
29Included in API: True
30Author(s): Tyler Parke
31 *-----------------------------------------------------------------------------------------**/
32#ifndef AI_OBJEXPORTER_H_INC
33#define AI_OBJEXPORTER_H_INC
34#include "DLLInfo.h"
35#ifndef ASSIMP_BUILD_NO_NDV_EXPORTER
36#include <assimp/Exporter.hpp>
37#include <assimp/types.h>
38#include <sstream>
39#include <vector>
40#include <map>
41
42struct aiScene;
43struct aiNode;
44struct aiMesh;
45
46namespace Assimp {
47
48 /**--------------------------------------------------------------------------------------------------
49 \brief Helper class to export a given Assimp scene to an NDV file.
50 To Add to Assimp, add the following line to Common/Exporter.cpp, at top of file:
51
52 #include <[path to this file]>
53
54 In function 'setupExporterArray(std::vector<Exporter::ExportFormatEntry>&)' add the following line:
55
56 exporters.push_back(NDEVRFileExporter::Entry()));
57 */
58 // ------------------------------------------------------------------------------------------------
59 class ASSIMP_INTERFACE_API NDEVRFileExporter {
60 public:
61 /// Constructor for a specific scene to export
62 static void ExportNDEVRFile(const char* pFile, IOSystem*, const aiScene* pScene, const ExportProperties*);
63 static Exporter::ExportFormatEntry Entry();
64 };
65
66}
67
68#endif
69#endif
#define ASSIMP_INTERFACE_API
Definition DLLInfo.h:57
Definition NDEVRFileExporter.h:46