SPH
Classes | Functions
SsfToVdb.cpp File Reference
#include "io/FileSystem.h"
#include "io/Output.h"
#include "objects/containers/Grid.h"
#include "objects/finders/NeighbourFinder.h"
#include "objects/geometry/Box.h"
#include "objects/geometry/Indices.h"
#include "openvdb/openvdb.h"
#include "quantities/IMaterial.h"
#include "sph/kernel/Kernel.h"
#include "system/Factory.h"
#include "system/Statistics.h"
#include "system/Timer.h"
#include "thread/Pool.h"
#include <iostream>

Go to the source code of this file.

Classes

struct  VdbParams
 

Functions

Storage loadSsf (const Path &path)
 
INLINE openvdb::Vec3R vectorToVec3R (const Vector &v)
 
Vector worldToRelative (const Vector &r, const VdbParams &params)
 
Vector relativeToWorld (const Vector &r, const VdbParams &params)
 
Tuple< Indices, IndicesgetParticleBox (const Vector &r, const VdbParams &params)
 
void convert (const Path &path, const VdbParams params)
 
int main (int argc, char *argv[])
 

Function Documentation

◆ convert()

void convert ( const Path path,
const VdbParams  params 
)

Definition at line 55 of file SsfToVdb.cpp.

◆ getParticleBox()

Tuple<Indices, Indices> getParticleBox ( const Vector r,
const VdbParams params 
)

Definition at line 47 of file SsfToVdb.cpp.

◆ loadSsf()

Storage loadSsf ( const Path path)

Definition at line 18 of file SsfToVdb.cpp.

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 157 of file SsfToVdb.cpp.

◆ relativeToWorld()

Vector relativeToWorld ( const Vector r,
const VdbParams params 
)

Definition at line 43 of file SsfToVdb.cpp.

◆ vectorToVec3R()

INLINE openvdb::Vec3R vectorToVec3R ( const Vector v)

Definition at line 26 of file SsfToVdb.cpp.

◆ worldToRelative()

Vector worldToRelative ( const Vector r,
const VdbParams params 
)

Definition at line 39 of file SsfToVdb.cpp.