Microflow 3D  v1.0
VDBGridOperations.h File Reference
#include <iostream>
#include <openvdb/openvdb.h>
#include <openvdb/tools/MeshToVolume.h>
#include <openvdb/tools/ChangeBackground.h>
#include <openvdb/tools/LevelSetUtil.h>
#include <openvdb/tools/Composite.h>
#include "STLReader.h"
#include "VDBWriter.h"
Include dependency graph for VDBGridOperations.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 MF
 
 MF::GB
 

Functions

template<typename T >
void MF::GB::setGridName (T VDBGridPtr, const std::string &GridName)
 Adds grid name to a VDBGrid. More...
 
template<typename T >
void MF::GB::insertMetaDataFloat (T VDBGridPtr, const std::string &MetaName, float value)
 Adds float metadata to a VDBGrid. More...
 
template<typename T >
void MF::GB::insertMetaDataInt (T VDBGridPtr, const std::string &MetaName, int32_t value)
 Adds integer metadata to a VDBGrid. More...
 
template<typename T >
void MF::GB::insertMetaDataDouble (T VDBGridPtr, const std::string &MetaName, double value)
 Adds double metadata to a VDBGrid. More...
 
template<typename T >
void MF::GB::insertMetaDataString (T VDBGridPtr, const std::string &MetaName, const std::string &string)
 Adds string metadata to a VDBGrid. More...
 
template<typename T , typename T2 >
const T2 & MF::GB::getMetaData (T VDBGridPtr, const std::string &MetaName)
 Returns from a VDBGrid the metadata of a MetaName. More...
 
template<typename T >
void MF::GB::setGridToFogVolume (T VDBGridPtr, bool voxelizeActiveTiles=true)
 Changes a VDBGrid type to a FogVolume. More...
 
template<typename T >
void MF::GB::setGridBackgroundValue (T VDBGridPtr, float value)
 Sets the background value of a VDBGrid. More...
 
template<typename T >
openvdb::FloatGrid::Ptr MF::GB::getGridNewCopy (T VDBGridPtr)
 Copies of a VDBGrid. More...
 
template<typename T >
void MF::GB::VDBFileWrite (T VDBGridPtr, const std::string &FileName)
 Writes to file a VDBGrid. More...
 
void MF::GB::unionOfTwoGrids (const openvdb::FloatGrid::Ptr &gridA, const openvdb::FloatGrid::Ptr &gridB)
 Union of two VDBGrids. More...
 
void MF::GB::intersectionOfTwoGrids (const openvdb::FloatGrid::Ptr &gridA, const openvdb::FloatGrid::Ptr &gridB)
 Intersection of two VDBGrids. More...
 
void MF::GB::differenceOfTwoGrids (const openvdb::FloatGrid::Ptr &gridA, const openvdb::FloatGrid::Ptr &gridB)
 Difference of two VDBGrids. More...