Go to the documentation of this file.
12 #ifndef OPENVDB_AX_COMPILER_POINT_EXECUTABLE_HAS_BEEN_INCLUDED
13 #define OPENVDB_AX_COMPILER_POINT_EXECUTABLE_HAS_BEEN_INCLUDED
19 #include <openvdb/version.h>
22 #include <unordered_map>
24 class TestPointExecutable;
27 class ExecutionEngine;
72 using Ptr = std::shared_ptr<PointExecutable>;
103 void setGroupExecution(
const std::string& name);
106 const std::string& getGroupExecution()
const;
113 void setCreateMissing(
const bool flag);
115 bool getCreateMissing()
const;
120 void setGrainSize(
const size_t grain);
122 size_t getGrainSize()
const;
131 friend class ::TestPointExecutable;
147 PointExecutable(
const std::shared_ptr<const llvm::LLVMContext>& context,
148 const std::shared_ptr<const llvm::ExecutionEngine>& engine,
151 const std::unordered_map<std::string, uint64_t>& functions,
157 const std::shared_ptr<const llvm::LLVMContext> mContext;
158 const std::shared_ptr<const llvm::ExecutionEngine> mExecutionEngine;
161 const std::unordered_map<std::string, uint64_t> mFunctionAddresses;
162 std::unique_ptr<Settings> mSettings;
169 #endif // OPENVDB_AX_COMPILER_POINT_EXECUTABLE_HAS_BEEN_INCLUDED
Definition: Compiler.h:31
#define OPENVDB_VERSION_NAME
The version namespace name for this library version.
Definition: version.h.in:116
#define OPENVDB_USE_VERSION_NAMESPACE
Definition: version.h.in:178
A Tree is the highest concrete (non-abstract) node in the entire AX AST hierarchy....
Definition: AST.h:561
Access to the CustomData class which can provide custom user user data to the OpenVDB AX Compiler.
std::shared_ptr< const CustomData > ConstPtr
Definition: CustomData.h:38
Attribute-owned data structure for points. Point attributes are stored in leaf nodes and ordered by v...
std::shared_ptr< const AttributeRegistry > ConstPtr
Definition: AttributeRegistry.h:42
Object that encapsulates compiled AX code which can be executed on a collection of VDB Point Data gri...
Definition: PointExecutable.h:69
The compiler class. This holds an llvm context and set of compiler options, and constructs executable...
Definition: Compiler.h:49
These classes contain lists of expected attributes and volumes which are populated by compiler during...
Definition: openvdb/Exceptions.h:13
std::shared_ptr< PointExecutable > Ptr
Definition: PointExecutable.h:72
Container class that associates a tree with a transform and metadata.
Definition: Grid.h:28