| MFnFluid ()
|
| MFnFluid ( MObject & object, MStatus * ReturnStatus = NULL )
|
| MFnFluid ( const MObject & object, MStatus * ReturnStatus = NULL )
|
| MFnFluid ( const MDagPath & object, MStatus * ReturnStatus = NULL )
|
virtual | ~MFnFluid ()
|
virtual MFn::Type | type () const
|
enum | FluidMethod
| kZero
all values in grid are zero
| | kStaticGrid
values in the grid are static
| | kDynamicGrid
values in the grid come from a dynamic solver
| | kGradient
ramps the value based on the gradient setting
|
|
enum | FluidGradient
| kConstant
value is set to one across the volume
| | kXGradient
ramp the value from zero to one along the X axis
| | kYGradient
ramp the value from zero to one along the Y axis
| | kZGradient
ramp the value from zero to one along the Z axis
| | kNegXGradient
ramp the value from one to zero along the X axis
| | kNegYGradient
ramp the value from one to zero along the Y axis
| | kNegZGradient
ramp the value from one to zero along the Z axis
| | kCenterGradient
ramps the value from one at the center to zero at the edges
|
|
enum | FalloffMethod
| kNoFalloffGrid
No falloff grid should be defined.
| | kStaticFalloffGrid
Values in the falloff grid are static.
|
|
enum | ColorMethod
| kUseShadingColor
off, use shading color instead
| | kStaticColorGrid
values in the grid are static
| | kDynamicColorGrid
values in the grid come from a dynamic solver
|
|
enum | CoordinateMethod
| kFixed
values are equal the object space coordinates
| | kGrid
coordinate values will be moved using the current density solver
|
|
MObject | create3D ( unsigned int Xres, unsigned int Yres, unsigned int Zres, double Xdim, double Ydim, double Zdim, MObject parentOrOwner = MObject::kNullObj , MStatus * ReturnStatus = NULL )
|
MObject | create2D ( unsigned int Xres, unsigned int Yres, double Xdim, double Ydim, MObject parentOrOwner = MObject::kNullObj , MStatus * ReturnStatus = NULL )
|
MStatus | getResolution ( unsigned int &Xres, unsigned int &Yres, unsigned int &Zres ) const
|
MStatus | getResolution ( unsigned int &Xres, unsigned int &Yres ) const
|
MStatus | getDimensions ( double &Xdim, double &Ydim, double &Zdim ) const
|
MStatus | setSize ( unsigned int Xres, unsigned int Yres, unsigned int Zres, double Xdim, double Ydim, double Zdim, bool resample )
|
MStatus | setSize ( unsigned int Xres, unsigned int Yres, double Xdim, double Ydim, bool resample )
|
unsigned int | gridSize ( MStatus * ReturnStatus = NULL )
|
MStatus | velocityGridSizes ( int & xsize, int & ysize, int & zsize )
|
float * | falloff ( MStatus * ReturnStatus = NULL )
|
float * | density ( MStatus * ReturnStatus = NULL )
|
MStatus | getVelocity ( float *& Xvel, float *& Yvel, float *& Zvel )
|
float * | pressure ( MStatus * ReturnStatus = NULL )
|
float * | temperature ( MStatus * ReturnStatus = NULL )
|
float * | fuel ( MStatus * ReturnStatus = NULL )
|
MStatus | getCoordinates ( float *& u, float *& v, float *& w )
|
MStatus | getColors ( float *& r, float *& g, float *& b )
|
MStatus | setFalloffMode ( FalloffMethod mode )
|
MStatus | getFalloffMode ( FalloffMethod &mode )
|
MStatus | setDensityMode ( FluidMethod mode, FluidGradient gradient )
|
MStatus | getDensityMode ( FluidMethod &mode, FluidGradient &gradient )
|
MStatus | setVelocityMode ( FluidMethod mode, FluidGradient gradient )
|
MStatus | getVelocityMode ( FluidMethod &mode, FluidGradient &gradient )
|
MStatus | setTemperatureMode ( FluidMethod mode, FluidGradient gradient )
|
MStatus | getTemperatureMode ( FluidMethod &mode, FluidGradient &gradient )
|
MStatus | setFuelMode ( FluidMethod mode, FluidGradient gradient )
|
MStatus | getFuelMode ( FluidMethod &mode, FluidGradient &gradient )
|
MStatus | setCoordinateMode ( CoordinateMethod mode )
|
MStatus | getCoordinateMode ( CoordinateMethod & mode )
|
MStatus | setColorMode ( ColorMethod mode )
|
MStatus | getColorMode ( ColorMethod & mode )
|
MStatus | getForceAtPoint (const MPointArray & point, const MVectorArray & velocity, const MDoubleArray & mass, MVectorArray & force, double deltaTime = 1.0 / 24.0 )
|
MStatus | getForceAtPoint (const MVectorArray & point, const MVectorArray & velocity, const MDoubleArray & mass, MVectorArray & force, double deltaTime = 1.0 / 24.0 )
|
bool | toGridIndex ( const MPoint & objectSpacePoint, int3& gridCoords, MStatus *status = NULL )
|
MStatus | voxelCenterPosition (int xi, int yi, int zi, MPoint & objectSpacePoint)
|
MStatus | updateGrid ()
|
void | emitIntoArrays ( float val, int x, int y, int z, float density , float heat, float fuel , bool doColor, const MColor & emitColor )
|
int | index ( int xi, int yi )
|
int | index ( int xi, int yi, int zi )
|
void | index ( int ai, int & xi, int & yi, int & zi )
|
int | index ( int xi, int yi, int zi, int xres, int yres, int zres )
|
void | index ( int ai, int xres, int yres, int zres, int & xi, int & yi, int & zi )
|