mantaflow
0.10
A framework for fluid simulation
|
#include "painter.h"
#include "simpleimage.h"
#include <QtOpenGL>
#include <sstream>
#include <iomanip>
Macros | |
#define | FOR_P_SLICE(__g, __dim, __plane) |
Functions | |
Vec3i | Manta::getQuad (const Vec3 &l0, const Vec3 &l1, int dim, int plane, Real dx) |
Vec3i | Manta::__fRange (Vec3i size, int dim, int plane) |
void | Manta::getCellCoordinates (const Vec3i &pos, Vec3 box[4], int dim, bool offset=false) |
void | Manta::glBox (const Vec3 &p0, const Vec3 &p1, const float dx) |
void | Manta::projectImg (SimpleImage &img, Grid< Real > &val, int shadeMode=0, Real scale=1.) |
helper to project a grid intro an image (used for ppm export and GUI displauy) | |
#define FOR_P_SLICE | ( | __g, | |
__dim, | |||
__plane | |||
) |