Assimp
v3.1.1 (June 2014)
|
Entry point to the jassimp library. More...
Static Public Member Functions | |
static native int | getdoublesize () |
static native String | getErrorString () |
Returns a human readable error description. More... | |
static native int | getfloatsize () |
static native int | getintsize () |
static native int | getlongsize () |
static native int | getQKeysize () |
static native int | getuintsize () |
static native int | getV3Dsize () |
static native int | getVKeysize () |
Returns the size of a struct or ptimitive. More... | |
static AiWrapperProvider<?, ?, ?, ?, ?> | getWrapperProvider () |
Returns the active wrapper provider. More... | |
static AiScene | importFile (String filename) throws IOException |
Imports a file via assimp without post processing. More... | |
static AiScene | importFile (String filename, Set< AiPostProcessSteps > postProcessing) throws IOException |
Imports a file via assimp. More... | |
static void | setWrapperProvider (AiWrapperProvider<?, ?, ?, ?, ?> wrapperProvider) |
Sets a new wrapper provider. More... | |
Static Public Attributes | |
static final AiWrapperProvider<?, ?, ?, ?, ?> | BUILTIN |
The default wrapper provider using built in types. More... | |
static final int | NATIVE_AIQUATKEY_SIZE |
static final int | NATIVE_AIVEKTOR3D_SIZE |
static final int | NATIVE_AIVEKTORKEY_SIZE |
static final int | NATIVE_DOUBLE_SIZE |
static final int | NATIVE_FLOAT_SIZE |
static final int | NATIVE_INT_SIZE |
static final int | NATIVE_LONG_SIZE |
static final int | NATIVE_UINT_SIZE |
Entry point to the jassimp library.
Use importFile(String, Set) to load a file.
Due to the loading via JNI, strings (for example as returned by the getName()
methods) are not interned. You should therefore compare strings the way it should be done, i.e, via equals()
. Pointer comparison will fail.
|
static |
|
static |
Returns a human readable error description.
This method can be called when one of the import methods fails, i.e., throws an exception, to get a human readable error description.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Returns the size of a struct or ptimitive.
|
inlinestatic |
Returns the active wrapper provider.
This method is part of the wrapped API (see AiWrapperProvider for details on wrappers).
|
inlinestatic |
Imports a file via assimp without post processing.
filename | the file to import |
IOException | if an error occurs |
|
inlinestatic |
Imports a file via assimp.
filename | the file to import |
postProcessing | post processing flags |
IOException | if an error occurs |
|
inlinestatic |
Sets a new wrapper provider.
This method is part of the wrapped API (see AiWrapperProvider for details on wrappers).
wrapperProvider | the new wrapper provider |
|
static |
The default wrapper provider using built in types.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |