exe2->execute(a);
void setName(const std::string &)
Specify a name for this grid.
TreeType & tree()
Return a reference to this grid's tree, which might be shared with other grids.
Definition Grid.h:904
The compiler class. This holds a set of compiler options and constructs executable objects (e....
Definition Compiler.h:51
ExecutableT::Ptr compile(const ast::Tree &syntaxTree, Logger &logger, const CustomData::Ptr data=CustomData::Ptr())
Compile a given AST into an executable object of the given type.
Object that encapsulates compiled AX code which can be executed on a collection of VDB volume grids....
Definition VolumeExecutable.h:87
std::shared_ptr< VolumeExecutable > Ptr
Definition VolumeExecutable.h:89
void setValueIterator(const IterType &iter)
Set the value iterator type to use with this executable. Options are ON, OFF, ALL....
void execute(openvdb::GridPtrVec &grids) const
Run this volume executable binary on target volumes.
const ValueType & getValue(const Coord &xyz) const
Return the value of the voxel at the given coordinates.
Definition Tree.h:1500
void setValueOn(const Coord &xyz)
Mark the voxel at the given coordinates as active but don't change its value.
Definition Tree.h:1572
Grid< FloatTree > FloatGrid
Definition openvdb.h:76
Definition Exceptions.h:13