NDEVR
API Documentation
NDEVRFileImporter.h
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 NDEVR_FILE_IMPORTER_H_INC
33#define NDEVR_FILE_IMPORTER_H_INC
34#include "DLLInfo.h"
35#ifdef ASSIMP_BUILD_NDV_IMPORTER
36#include <assimp/BaseImporter.h>
37
38struct aiMesh;
39struct aiNode;
40
41namespace Assimp {
42
43 namespace ObjFile {
44 struct Object;
45 struct Model;
46 } // namespace ObjFile
47
60 // ------------------------------------------------------------------------------------------------
61 class NDEVRFileImporter : public BaseImporter {
62 public:
64 ASSIMP_INTERFACE_API NDEVRFileImporter();
65
67 ~NDEVRFileImporter();
68
69 public:
72 bool CanRead(const std::string& pFile, IOSystem* pIOHandler, bool checkSig) const override;
73
74 private:
76 const aiImporterDesc* GetInfo() const override;
77
78 // -------------------------------------------------------------------
122 void InternReadFile(const std::string& pFile, aiScene* pScene, IOSystem* pIOHandler) override;
123
124 };
125
126} // Namespace Assimp
127
128#endif
129#endif