API Documentation
Loading...
Searching...
No Matches
NDEVRFileExporter.h
Go to the documentation of this file.
1
/*--------------------------------------------------------------------------------------------
2
Copyright (c) 2021, NDEVR LLC
3
tyler.parke@ndevr.org
4
__ __ ____ _____ __ __ _______
5
| \ | | | __ \ | ___|\ \ / / | __ \
6
| \ | | | | \ \ | |___ \ \ / / | |__) |
7
| . \| | | |__/ / | |___ \ V / | _ /
8
| |\ |_|_____/__|_____|___\_/____| | \ \
9
|__| \__________________________________| \__\
10
11
Subject to the terms of the Enterprise+ Agreement, NDEVR hereby grants
12
Licensee a limited, non-exclusive, non-transferable, royalty-free license
13
(without the right to sublicense) to use the API solely for the purpose of
14
Licensee's internal development efforts to develop applications for which
15
the API was provided.
16
17
The above copyright notice and this permission notice shall be included in all
18
copies or substantial portions of the Software.
19
20
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
21
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
22
PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
23
FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
24
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
25
DEALINGS IN THE SOFTWARE.
26
27
Library: Base
28
File: Angle
29
Included in API: True
30
Author(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
42
struct
aiScene;
43
struct
aiNode;
44
struct
aiMesh;
45
46
namespace
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
DLLInfo.h
ASSIMP_INTERFACE_API
#define ASSIMP_INTERFACE_API
Definition
DLLInfo.h:57
Assimp
Definition
NDEVRFileExporter.h:46
AssimpInterface
Headers
NDEVRFileExporter.h