Blender V5.3
physics_fluid.cc File Reference
#include <cstdlib>
#include <cstring>
#include <sys/stat.h>
#include "MEM_guardedalloc.h"
#include "DNA_object_types.h"
#include "BLI_fileops.hh"
#include "BLI_path_utils.hh"
#include "BLI_string.hh"
#include "BLI_string_utf8.hh"
#include "BLI_time.hh"
#include "BLI_utildefines.hh"
#include "BLT_translation.hh"
#include "BKE_context.hh"
#include "BKE_fluid.h"
#include "BKE_global.hh"
#include "BKE_main.hh"
#include "BKE_modifier.hh"
#include "BKE_report.hh"
#include "BKE_screen.hh"
#include "DEG_depsgraph.hh"
#include "ED_object.hh"
#include "ED_screen.hh"
#include "WM_api.hh"
#include "WM_types.hh"
#include "physics_intern.hh"
#include "DNA_fluid_types.h"
#include "DNA_scene_types.h"

Go to the source code of this file.

Classes

struct  blender::FluidJob

Namespaces

namespace  blender
 BMesh Iterators.

Macros

#define FLUID_JOB_BAKE_ALL   "FLUID_OT_bake_all"
#define FLUID_JOB_BAKE_DATA   "FLUID_OT_bake_data"
#define FLUID_JOB_BAKE_NOISE   "FLUID_OT_bake_noise"
#define FLUID_JOB_BAKE_MESH   "FLUID_OT_bake_mesh"
#define FLUID_JOB_BAKE_PARTICLES   "FLUID_OT_bake_particles"
#define FLUID_JOB_BAKE_GUIDES   "FLUID_OT_bake_guides"
#define FLUID_JOB_FREE_ALL   "FLUID_OT_free_all"
#define FLUID_JOB_FREE_DATA   "FLUID_OT_free_data"
#define FLUID_JOB_FREE_NOISE   "FLUID_OT_free_noise"
#define FLUID_JOB_FREE_MESH   "FLUID_OT_free_mesh"
#define FLUID_JOB_FREE_PARTICLES   "FLUID_OT_free_particles"
#define FLUID_JOB_FREE_GUIDES   "FLUID_OT_free_guides"
#define FLUID_JOB_BAKE_PAUSE   "FLUID_OT_pause_bake"

Functions

static bool blender::fluid_is_bake_all (FluidJob *job)
static bool blender::fluid_is_bake_data (FluidJob *job)
static bool blender::fluid_is_bake_noise (FluidJob *job)
static bool blender::fluid_is_bake_mesh (FluidJob *job)
static bool blender::fluid_is_bake_particle (FluidJob *job)
static bool blender::fluid_is_bake_guiding (FluidJob *job)
static bool blender::fluid_is_free_all (FluidJob *job)
static bool blender::fluid_is_free_data (FluidJob *job)
static bool blender::fluid_is_free_noise (FluidJob *job)
static bool blender::fluid_is_free_mesh (FluidJob *job)
static bool blender::fluid_is_free_particles (FluidJob *job)
static bool blender::fluid_is_free_guiding (FluidJob *job)
static bool blender::fluid_job_init (bContext *C, FluidJob *job, wmOperator *op, char *error_msg, int error_msg_maxncpy)
static bool blender::fluid_validate_paths (FluidJob *job, ReportList *reports)
static void blender::fluid_job_free (void *customdata)
static FluidJob * blender::fluid_job_create (bContext *C, wmOperator *op)
static void blender::fluid_bake_sequence (FluidJob *job)
static void blender::fluid_bake_endjob (void *customdata)
static void blender::fluid_bake_startjob (void *customdata, wmJobWorkerStatus *worker_status)
static void blender::fluid_free_endjob (void *customdata)
static void blender::fluid_free_startjob (void *customdata, wmJobWorkerStatus *worker_status)
static wmOperatorStatus blender::fluid_bake_exec (bContext *C, wmOperator *op)
static wmOperatorStatus blender::fluid_bake_invoke (bContext *C, wmOperator *op, const wmEvent *)
static wmOperatorStatus blender::fluid_bake_modal (bContext *C, wmOperator *, const wmEvent *event)
static wmOperatorStatus blender::fluid_free_exec (bContext *C, wmOperator *op)
static wmOperatorStatus blender::fluid_free_invoke (bContext *C, wmOperator *op, const wmEvent *)
static wmOperatorStatus blender::fluid_free_modal (bContext *C, wmOperator *, const wmEvent *event)
static wmOperatorStatus blender::fluid_pause_exec (bContext *C, wmOperator *op)
void blender::FLUID_OT_bake_all (wmOperatorType *ot)
void blender::FLUID_OT_free_all (wmOperatorType *ot)
void blender::FLUID_OT_bake_data (wmOperatorType *ot)
void blender::FLUID_OT_free_data (wmOperatorType *ot)
void blender::FLUID_OT_bake_noise (wmOperatorType *ot)
void blender::FLUID_OT_free_noise (wmOperatorType *ot)
void blender::FLUID_OT_bake_mesh (wmOperatorType *ot)
void blender::FLUID_OT_free_mesh (wmOperatorType *ot)
void blender::FLUID_OT_bake_particles (wmOperatorType *ot)
void blender::FLUID_OT_free_particles (wmOperatorType *ot)
void blender::FLUID_OT_bake_guides (wmOperatorType *ot)
void blender::FLUID_OT_free_guides (wmOperatorType *ot)
void blender::FLUID_OT_pause_bake (wmOperatorType *ot)

Macro Definition Documentation

◆ FLUID_JOB_BAKE_ALL

#define FLUID_JOB_BAKE_ALL   "FLUID_OT_bake_all"

Definition at line 50 of file physics_fluid.cc.

Referenced by blender::fluid_is_bake_all(), and blender::FLUID_OT_bake_all().

◆ FLUID_JOB_BAKE_DATA

#define FLUID_JOB_BAKE_DATA   "FLUID_OT_bake_data"

Definition at line 51 of file physics_fluid.cc.

Referenced by blender::fluid_is_bake_data(), and blender::FLUID_OT_bake_data().

◆ FLUID_JOB_BAKE_GUIDES

#define FLUID_JOB_BAKE_GUIDES   "FLUID_OT_bake_guides"

◆ FLUID_JOB_BAKE_MESH

#define FLUID_JOB_BAKE_MESH   "FLUID_OT_bake_mesh"

Definition at line 53 of file physics_fluid.cc.

Referenced by blender::fluid_is_bake_mesh(), and blender::FLUID_OT_bake_mesh().

◆ FLUID_JOB_BAKE_NOISE

#define FLUID_JOB_BAKE_NOISE   "FLUID_OT_bake_noise"

Definition at line 52 of file physics_fluid.cc.

Referenced by blender::fluid_is_bake_noise(), and blender::FLUID_OT_bake_noise().

◆ FLUID_JOB_BAKE_PARTICLES

#define FLUID_JOB_BAKE_PARTICLES   "FLUID_OT_bake_particles"

◆ FLUID_JOB_BAKE_PAUSE

#define FLUID_JOB_BAKE_PAUSE   "FLUID_OT_pause_bake"

Definition at line 62 of file physics_fluid.cc.

Referenced by blender::FLUID_OT_pause_bake().

◆ FLUID_JOB_FREE_ALL

#define FLUID_JOB_FREE_ALL   "FLUID_OT_free_all"

Definition at line 56 of file physics_fluid.cc.

Referenced by blender::fluid_is_free_all(), and blender::FLUID_OT_free_all().

◆ FLUID_JOB_FREE_DATA

#define FLUID_JOB_FREE_DATA   "FLUID_OT_free_data"

Definition at line 57 of file physics_fluid.cc.

Referenced by blender::fluid_is_free_data(), and blender::FLUID_OT_free_data().

◆ FLUID_JOB_FREE_GUIDES

#define FLUID_JOB_FREE_GUIDES   "FLUID_OT_free_guides"

◆ FLUID_JOB_FREE_MESH

#define FLUID_JOB_FREE_MESH   "FLUID_OT_free_mesh"

Definition at line 59 of file physics_fluid.cc.

Referenced by blender::fluid_is_free_mesh(), and blender::FLUID_OT_free_mesh().

◆ FLUID_JOB_FREE_NOISE

#define FLUID_JOB_FREE_NOISE   "FLUID_OT_free_noise"

Definition at line 58 of file physics_fluid.cc.

Referenced by blender::fluid_is_free_noise(), and blender::FLUID_OT_free_noise().

◆ FLUID_JOB_FREE_PARTICLES

#define FLUID_JOB_FREE_PARTICLES   "FLUID_OT_free_particles"