Blender V2.61 - r43446
Classes | Defines | Typedefs | Enumerations

DNA_object_force.h File Reference

#include "DNA_listBase.h"

Go to the source code of this file.

Classes

struct  PartDeflect
struct  EffectorWeights
struct  PTCacheExtra
struct  PTCacheMem
struct  PointCache
struct  SBVertex
struct  BulletSoftBody
struct  SoftBody

Defines

#define EFF_WEIGHT_DO_HAIR   1
#define BPHYS_DATA_INDEX   0
#define BPHYS_DATA_LOCATION   1
#define BPHYS_DATA_SMOKE_LOW   1
#define BPHYS_DATA_VELOCITY   2
#define BPHYS_DATA_SMOKE_HIGH   2
#define BPHYS_DATA_ROTATION   3
#define BPHYS_DATA_DYNAMICPAINT   3
#define BPHYS_DATA_AVELOCITY   4
#define BPHYS_DATA_XCONST   4
#define BPHYS_DATA_SIZE   5
#define BPHYS_DATA_TIMES   6
#define BPHYS_DATA_BOIDS   7
#define BPHYS_TOT_DATA   8
#define BPHYS_EXTRA_FLUID_SPRINGS   1
#define OB_BSB_SHAPE_MATCHING   2
#define OB_BSB_UNUSED   4
#define OB_BSB_BENDING_CONSTRAINTS   8
#define OB_BSB_AERO_VPOINT   16
#define OB_BSB_AERO_VTWOSIDE   32
#define OB_BSB_COL_SDF_RS   2
#define OB_BSB_COL_CL_RS   4
#define OB_BSB_COL_CL_SS   8
#define OB_BSB_COL_VF_SS   16
#define PFIELD_USEMAX   1
#define PFIELD_GUIDE_PATH_ADD   4
#define PFIELD_PLANAR   8
#define PDEFLE_KILL_PART   16
#define PFIELD_POSZ   32
#define PFIELD_TEX_OBJECT   64
#define PFIELD_GLOBAL_CO   64
#define PFIELD_TEX_2D   128
#define PFIELD_MULTIPLE_SPRINGS   128
#define PFIELD_USEMIN   256
#define PFIELD_USEMAXR   512
#define PFIELD_USEMINR   1024
#define PFIELD_TEX_ROOTCO   2048
#define PFIELD_SURFACE   (1<<12)
#define PFIELD_VISIBILITY   (1<<13)
#define PFIELD_DO_LOCATION   (1<<14)
#define PFIELD_DO_ROTATION   (1<<15)
#define PFIELD_GUIDE_PATH_WEIGHT   (1<<16)
#define PFIELD_FALL_SPHERE   0
#define PFIELD_FALL_TUBE   1
#define PFIELD_FALL_CONE   2
#define PFIELD_SHAPE_POINT   0
#define PFIELD_SHAPE_PLANE   1
#define PFIELD_SHAPE_SURFACE   2
#define PFIELD_SHAPE_POINTS   3
#define PFIELD_TEX_RGB   0
#define PFIELD_TEX_GRAD   1
#define PFIELD_TEX_CURL   2
#define PFIELD_Z_BOTH   0
#define PFIELD_Z_POS   1
#define PFIELD_Z_NEG   2
#define PTCACHE_BAKED   1
#define PTCACHE_OUTDATED   2
#define PTCACHE_SIMULATION_VALID   4
#define PTCACHE_BAKING   8
#define PTCACHE_DISK_CACHE   64
#define PTCACHE_QUICK_CACHE   128
#define PTCACHE_FRAMES_SKIPPED   256
#define PTCACHE_EXTERNAL   512
#define PTCACHE_READ_INFO   1024
#define PTCACHE_IGNORE_LIBPATH   2048
#define PTCACHE_FAKE_SMOKE   (1<<12)
#define PTCACHE_IGNORE_CLEAR   (1<<13)
#define PTCACHE_REDO_NEEDED   258
#define PTCACHE_COMPRESS_NO   0
#define PTCACHE_COMPRESS_LZO   1
#define PTCACHE_COMPRESS_LZMA   2
#define OB_SB_ENABLE   1
#define OB_SB_GOAL   2
#define OB_SB_EDGES   4
#define OB_SB_QUADS   8
#define OB_SB_POSTDEF   16
#define OB_SB_SELF   512
#define OB_SB_FACECOLL   1024
#define OB_SB_EDGECOLL   2048
#define OB_SB_AERO_ANGLE   16384
#define SBSO_MONITOR   1
#define SBSO_OLDERR   2
#define SBSO_ESTIMATEIPO   4
#define SBC_MODE_MANUAL   0
#define SBC_MODE_AVG   1
#define SBC_MODE_MIN   2
#define SBC_MODE_MAX   3
#define SBC_MODE_AVGMINMAX   4

Typedefs

typedef enum PFieldType PFieldType
typedef struct PartDeflect PartDeflect
typedef struct EffectorWeights EffectorWeights
typedef struct PTCacheExtra PTCacheExtra
typedef struct PTCacheMem PTCacheMem
typedef struct PointCache PointCache
typedef struct SBVertex SBVertex
typedef struct BulletSoftBody BulletSoftBody
typedef struct SoftBody SoftBody

Enumerations

enum  PFieldType {
  PFIELD_NULL = 0, PFIELD_FORCE, PFIELD_VORTEX, PFIELD_MAGNET,
  PFIELD_WIND, PFIELD_GUIDE, PFIELD_TEXTURE, PFIELD_HARMONIC,
  PFIELD_CHARGE, PFIELD_LENNARDJ, PFIELD_BOID, PFIELD_TURBULENCE,
  PFIELD_DRAG, NUM_PFIELD_TYPES
}

Detailed Description

Definition in file DNA_object_force.h.


Define Documentation

#define BPHYS_DATA_AVELOCITY   4
#define BPHYS_DATA_BOIDS   7
#define BPHYS_DATA_DYNAMICPAINT   3

Definition at line 140 of file DNA_object_force.h.

Referenced by BKE_ptcache_id_from_dynamicpaint().

#define BPHYS_DATA_INDEX   0
#define BPHYS_DATA_LOCATION   1
#define BPHYS_DATA_ROTATION   3
#define BPHYS_DATA_SIZE   5
#define BPHYS_DATA_SMOKE_HIGH   2

Definition at line 138 of file DNA_object_force.h.

Referenced by BKE_ptcache_id_from_smoke().

#define BPHYS_DATA_SMOKE_LOW   1

Definition at line 136 of file DNA_object_force.h.

Referenced by BKE_ptcache_id_from_smoke().

#define BPHYS_DATA_TIMES   6
#define BPHYS_DATA_VELOCITY   2
#define BPHYS_DATA_XCONST   4
#define BPHYS_EXTRA_FLUID_SPRINGS   1
#define BPHYS_TOT_DATA   8
#define EFF_WEIGHT_DO_HAIR   1

Definition at line 126 of file DNA_object_force.h.

Referenced by basic_force_cb(), basic_integrate(), and rna_def_effector_weight().

#define OB_BSB_AERO_VPOINT   16

Definition at line 254 of file DNA_object_force.h.

Referenced by BL_CreatePhysicsObjectNew(), and bsbNew().

#define OB_BSB_AERO_VTWOSIDE   32

Definition at line 255 of file DNA_object_force.h.

#define OB_BSB_BENDING_CONSTRAINTS   8

Definition at line 253 of file DNA_object_force.h.

Referenced by BL_CreatePhysicsObjectNew(), bsbNew(), and rna_def_game_softbody().

#define OB_BSB_COL_CL_RS   4

Definition at line 259 of file DNA_object_force.h.

Referenced by rna_def_game_softbody().

#define OB_BSB_COL_CL_SS   8

Definition at line 260 of file DNA_object_force.h.

Referenced by rna_def_game_softbody().

#define OB_BSB_COL_SDF_RS   2

Definition at line 258 of file DNA_object_force.h.

Referenced by BL_CreatePhysicsObjectNew().

#define OB_BSB_COL_VF_SS   16

Definition at line 261 of file DNA_object_force.h.

Referenced by BL_CreatePhysicsObjectNew().

#define OB_BSB_SHAPE_MATCHING   2

Definition at line 251 of file DNA_object_force.h.

Referenced by BL_CreatePhysicsObjectNew(), bsbNew(), and rna_def_game_softbody().

#define OB_BSB_UNUSED   4

Definition at line 252 of file DNA_object_force.h.

#define OB_SB_AERO_ANGLE   16384

Definition at line 427 of file DNA_object_force.h.

Referenced by _scan_for_ext_spring_forces().

#define OB_SB_EDGECOLL   2048
#define OB_SB_EDGES   4
#define OB_SB_ENABLE   1

Definition at line 413 of file DNA_object_force.h.

Referenced by do_versions().

#define OB_SB_FACECOLL   1024
#define OB_SB_GOAL   2
#define OB_SB_POSTDEF   16

Definition at line 417 of file DNA_object_force.h.

Referenced by do_versions().

#define OB_SB_QUADS   8

Definition at line 416 of file DNA_object_force.h.

Referenced by lattice_to_softbody(), and mesh_to_softbody().

#define OB_SB_SELF   512
#define PDEFLE_KILL_PART   16

Definition at line 350 of file DNA_object_force.h.

Referenced by collision_response(), and rna_def_collision().

#define PFIELD_DO_LOCATION   (1<<14)
#define PFIELD_DO_ROTATION   (1<<15)
#define PFIELD_FALL_CONE   2

Definition at line 369 of file DNA_object_force.h.

Referenced by draw_forcefield(), effector_falloff(), and rna_def_field().

#define PFIELD_FALL_SPHERE   0

Definition at line 367 of file DNA_object_force.h.

Referenced by draw_forcefield(), effector_falloff(), and rna_def_field().

#define PFIELD_FALL_TUBE   1

Definition at line 368 of file DNA_object_force.h.

Referenced by draw_forcefield(), effector_falloff(), and rna_def_field().

#define PFIELD_GLOBAL_CO   64

Definition at line 353 of file DNA_object_force.h.

Referenced by do_physical_effector(), and rna_def_field().

#define PFIELD_GUIDE_PATH_ADD   4

Definition at line 348 of file DNA_object_force.h.

Referenced by do_guides(), and rna_def_field().

#define PFIELD_GUIDE_PATH_WEIGHT   (1<<16)

Definition at line 364 of file DNA_object_force.h.

Referenced by do_guides(), and rna_def_field().

#define PFIELD_MULTIPLE_SPRINGS   128

Definition at line 355 of file DNA_object_force.h.

Referenced by get_effector_tot(), and rna_def_field().

#define PFIELD_PLANAR   8

Definition at line 349 of file DNA_object_force.h.

Referenced by do_versions().

#define PFIELD_POSZ   32

Definition at line 351 of file DNA_object_force.h.

Referenced by draw_forcefield().

#define PFIELD_SHAPE_PLANE   1
#define PFIELD_SHAPE_POINT   0

Definition at line 372 of file DNA_object_force.h.

Referenced by do_physical_effector().

#define PFIELD_SHAPE_POINTS   3
#define PFIELD_SHAPE_SURFACE   2
#define PFIELD_SURFACE   (1<<12)

Definition at line 360 of file DNA_object_force.h.

Referenced by do_versions().

#define PFIELD_TEX_2D   128

Definition at line 354 of file DNA_object_force.h.

Referenced by do_texture_effector(), and rna_def_field().

#define PFIELD_TEX_CURL   2

Definition at line 380 of file DNA_object_force.h.

Referenced by rna_def_field().

#define PFIELD_TEX_GRAD   1

Definition at line 379 of file DNA_object_force.h.

Referenced by do_texture_effector(), and rna_def_field().

#define PFIELD_TEX_OBJECT   64

Definition at line 352 of file DNA_object_force.h.

Referenced by do_texture_effector(), and rna_def_field().

#define PFIELD_TEX_RGB   0

Definition at line 378 of file DNA_object_force.h.

Referenced by do_texture_effector(), and rna_def_field().

#define PFIELD_TEX_ROOTCO   2048

Definition at line 359 of file DNA_object_force.h.

Referenced by rna_def_field().

#define PFIELD_USEMAX   1

Definition at line 346 of file DNA_object_force.h.

Referenced by draw_forcefield(), falloff_func_dist(), and rna_def_field().

#define PFIELD_USEMAXR   512

Definition at line 357 of file DNA_object_force.h.

Referenced by draw_forcefield(), falloff_func_rad(), and rna_def_field().

#define PFIELD_USEMIN   256

Definition at line 356 of file DNA_object_force.h.

Referenced by draw_forcefield(), falloff_func_dist(), and rna_def_field().

#define PFIELD_USEMINR   1024

Definition at line 358 of file DNA_object_force.h.

Referenced by draw_forcefield(), falloff_func_rad(), and rna_def_field().

#define PFIELD_VISIBILITY   (1<<13)

Definition at line 361 of file DNA_object_force.h.

Referenced by eff_calc_visibility(), and rna_def_field().

#define PFIELD_Z_BOTH   0

Definition at line 383 of file DNA_object_force.h.

Referenced by rna_def_field().

#define PFIELD_Z_NEG   2

Definition at line 385 of file DNA_object_force.h.

Referenced by effector_falloff(), and rna_def_field().

#define PFIELD_Z_POS   1

Definition at line 384 of file DNA_object_force.h.

Referenced by effector_falloff(), and rna_def_field().

#define PTCACHE_BAKED   1
#define PTCACHE_BAKING   8
#define PTCACHE_COMPRESS_LZMA   2

Definition at line 410 of file DNA_object_force.h.

Referenced by rna_def_pointcache().

#define PTCACHE_COMPRESS_LZO   1

Definition at line 409 of file DNA_object_force.h.

Referenced by rna_def_pointcache().

#define PTCACHE_COMPRESS_NO   0

Definition at line 408 of file DNA_object_force.h.

Referenced by rna_def_pointcache().

#define PTCACHE_DISK_CACHE   64
#define PTCACHE_EXTERNAL   512
#define PTCACHE_FAKE_SMOKE   (1<<12)

Definition at line 402 of file DNA_object_force.h.

Referenced by direct_link_modifiers(), and write_modifiers().

#define PTCACHE_FRAMES_SKIPPED   256
#define PTCACHE_IGNORE_CLEAR   (1<<13)

Definition at line 403 of file DNA_object_force.h.

Referenced by BKE_ptcache_id_clear(), and object_cacheIgnoreClear().

#define PTCACHE_IGNORE_LIBPATH   2048

Definition at line 400 of file DNA_object_force.h.

Referenced by ptcache_path(), and rna_def_pointcache().

#define PTCACHE_OUTDATED   2
#define PTCACHE_QUICK_CACHE   128
#define PTCACHE_READ_INFO   1024

Definition at line 398 of file DNA_object_force.h.

Referenced by BKE_ptcache_load_external(), and BKE_ptcache_read().

#define PTCACHE_REDO_NEEDED   258
#define PTCACHE_SIMULATION_VALID   4
#define SBC_MODE_AVG   1

Definition at line 436 of file DNA_object_force.h.

Referenced by calculate_collision_balls(), and rna_def_softbody().

#define SBC_MODE_AVGMINMAX   4

Definition at line 439 of file DNA_object_force.h.

Referenced by calculate_collision_balls(), and rna_def_softbody().

#define SBC_MODE_MANUAL   0

Definition at line 435 of file DNA_object_force.h.

Referenced by calculate_collision_balls(), and rna_def_softbody().

#define SBC_MODE_MAX   3

Definition at line 438 of file DNA_object_force.h.

Referenced by calculate_collision_balls(), and rna_def_softbody().

#define SBC_MODE_MIN   2

Definition at line 437 of file DNA_object_force.h.

Referenced by calculate_collision_balls(), and rna_def_softbody().

#define SBSO_ESTIMATEIPO   4

Definition at line 432 of file DNA_object_force.h.

Referenced by draw_object(), rna_def_softbody(), and softbody_to_object().

#define SBSO_MONITOR   1

Definition at line 430 of file DNA_object_force.h.

Referenced by rna_def_softbody(), and softbody_step().

#define SBSO_OLDERR   2

Definition at line 431 of file DNA_object_force.h.

Referenced by rna_def_softbody(), sbNew(), and softbody_apply_forces().


Typedef Documentation

typedef struct PartDeflect PartDeflect
typedef enum PFieldType PFieldType
typedef struct PointCache PointCache
typedef struct PTCacheExtra PTCacheExtra
typedef struct PTCacheMem PTCacheMem
typedef struct SBVertex SBVertex
typedef struct SoftBody SoftBody

Enumeration Type Documentation

enum PFieldType
Enumerator:
PFIELD_NULL 
PFIELD_FORCE 
PFIELD_VORTEX 
PFIELD_MAGNET 
PFIELD_WIND 
PFIELD_GUIDE 
PFIELD_TEXTURE 
PFIELD_HARMONIC 
PFIELD_CHARGE 
PFIELD_LENNARDJ 
PFIELD_BOID 
PFIELD_TURBULENCE 
PFIELD_DRAG 
NUM_PFIELD_TYPES 

Definition at line 44 of file DNA_object_force.h.