OpenVDB  9.0.1
Namespaces | Functions
ax.h File Reference

Single header include which provides methods for initializing AX and running a full AX pipeline (parsing, compiling and executing) across standard OpenVDB Grid types. More...

#include <openvdb_ax/compiler/AttributeBindings.h>
#include <openvdb/openvdb.h>
#include <openvdb/version.h>

Go to the source code of this file.

Namespaces

 openvdb
 
 openvdb::v9_0
 
 openvdb::v9_0::ax
 

Functions

void initialize ()
 Initializes OpenVDB AX and subsequent LLVM components. More...
 
bool isInitialized ()
 Check to see if OpenVDB AX components have been initialized. More...
 
void uninitialize ()
 Uninitialize and deregister OpenVDB AX. More...
 
void run (const char *ax, openvdb::GridBase &grid, const AttributeBindings &bindings={})
 Run a full AX pipeline (parse, compile and execute) on a single OpenVDB Grid. More...
 
void run (const char *ax, openvdb::GridPtrVec &grids, const AttributeBindings &bindings={})
 Run a full AX pipeline (parse, compile and execute) on a vector of OpenVDB numerical grids OR a vector of OpenVDB Point Data grids. More...
 

Detailed Description

Single header include which provides methods for initializing AX and running a full AX pipeline (parsing, compiling and executing) across standard OpenVDB Grid types.

Author
Nick Avramoussis

These methods wrap the internal components of OpenVDB AX to provide easier and quick access to running AX code. Users who wish to further optimise and customise the process may interface with these components directly. See the body of the methods provided in this file for example implementations.