Microflow 3D
v1.0
|
Data Structures | |
class | AutoSettingNode |
A class of methods that automatically classify nodes of any geometry. More... | |
class | BoundaryFromThread |
Adds boundary nodes from thread_params.cfg file to VDBGrid. More... | |
class | FluidFromThread |
Adds fluid nodes from thread_params.cfg file to VDBGrid. More... | |
class | GeometryBuildFromSTL |
class | NodeID |
A class that allows to determine the proper NodeID from combined nodeType, uidThreadNr, ThreadCount, ComponentNr and PhaseNr. More... | |
class | SolidFromThread |
Adds solid nodes from thread_params.cfg file to VDBGrid. More... | |
class | StlMesher |
Converts surface mesh to volumetric grid with constant voxelSize spacing. More... | |
Functions | |
template<typename T > | |
void | setGridName (T VDBGridPtr, const std::string &GridName) |
Adds grid name to a VDBGrid. More... | |
template<typename T > | |
void | insertMetaDataFloat (T VDBGridPtr, const std::string &MetaName, float value) |
Adds float metadata to a VDBGrid. More... | |
template<typename T > | |
void | insertMetaDataInt (T VDBGridPtr, const std::string &MetaName, int32_t value) |
Adds integer metadata to a VDBGrid. More... | |
template<typename T > | |
void | insertMetaDataDouble (T VDBGridPtr, const std::string &MetaName, double value) |
Adds double metadata to a VDBGrid. More... | |
template<typename T > | |
void | 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 & | getMetaData (T VDBGridPtr, const std::string &MetaName) |
Returns from a VDBGrid the metadata of a MetaName. More... | |
template<typename T > | |
void | setGridToFogVolume (T VDBGridPtr, bool voxelizeActiveTiles=true) |
Changes a VDBGrid type to a FogVolume. More... | |
template<typename T > | |
void | setGridBackgroundValue (T VDBGridPtr, float value) |
Sets the background value of a VDBGrid. More... | |
template<typename T > | |
openvdb::FloatGrid::Ptr | getGridNewCopy (T VDBGridPtr) |
Copies of a VDBGrid. More... | |
template<typename T > | |
void | VDBFileWrite (T VDBGridPtr, const std::string &FileName) |
Writes to file a VDBGrid. More... | |
void | unionOfTwoGrids (const openvdb::FloatGrid::Ptr &gridA, const openvdb::FloatGrid::Ptr &gridB) |
Union of two VDBGrids. More... | |
void | intersectionOfTwoGrids (const openvdb::FloatGrid::Ptr &gridA, const openvdb::FloatGrid::Ptr &gridB) |
Intersection of two VDBGrids. More... | |
void | differenceOfTwoGrids (const openvdb::FloatGrid::Ptr &gridA, const openvdb::FloatGrid::Ptr &gridB) |
Difference of two VDBGrids. More... | |
|
inline |
Difference of two VDBGrids.
Definition at line 73 of file VDBGridOperations.h.
openvdb::FloatGrid::Ptr MF::GB::getGridNewCopy | ( | T | VDBGridPtr | ) |
Copies of a VDBGrid.
Definition at line 60 of file VDBGridOperations.h.
const T2& MF::GB::getMetaData | ( | T | VDBGridPtr, |
const std::string & | MetaName | ||
) |
Returns from a VDBGrid the metadata of a MetaName.
Definition at line 47 of file VDBGridOperations.h.
void MF::GB::insertMetaDataDouble | ( | T | VDBGridPtr, |
const std::string & | MetaName, | ||
double | value | ||
) |
Adds double metadata to a VDBGrid.
Definition at line 39 of file VDBGridOperations.h.
void MF::GB::insertMetaDataFloat | ( | T | VDBGridPtr, |
const std::string & | MetaName, | ||
float | value | ||
) |
Adds float metadata to a VDBGrid.
Definition at line 31 of file VDBGridOperations.h.
void MF::GB::insertMetaDataInt | ( | T | VDBGridPtr, |
const std::string & | MetaName, | ||
int32_t | value | ||
) |
Adds integer metadata to a VDBGrid.
Definition at line 35 of file VDBGridOperations.h.
void MF::GB::insertMetaDataString | ( | T | VDBGridPtr, |
const std::string & | MetaName, | ||
const std::string & | string | ||
) |
Adds string metadata to a VDBGrid.
Definition at line 43 of file VDBGridOperations.h.
|
inline |
Intersection of two VDBGrids.
Definition at line 71 of file VDBGridOperations.h.
void MF::GB::setGridBackgroundValue | ( | T | VDBGridPtr, |
float | value | ||
) |
Sets the background value of a VDBGrid.
Definition at line 56 of file VDBGridOperations.h.
void MF::GB::setGridName | ( | T | VDBGridPtr, |
const std::string & | GridName | ||
) |
Adds grid name to a VDBGrid.
Definition at line 27 of file VDBGridOperations.h.
void MF::GB::setGridToFogVolume | ( | T | VDBGridPtr, |
bool | voxelizeActiveTiles = true |
||
) |
Changes a VDBGrid type to a FogVolume.
Definition at line 51 of file VDBGridOperations.h.
|
inline |
Union of two VDBGrids.
Definition at line 69 of file VDBGridOperations.h.
void MF::GB::VDBFileWrite | ( | T | VDBGridPtr, |
const std::string & | FileName | ||
) |
Writes to file a VDBGrid.
Definition at line 64 of file VDBGridOperations.h.