public class SPHFluidSettings extends CFacade
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__buoyancy
Field descriptor (offset) for struct member 'buoyancy'.
|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
static long[] |
__DNA__FIELD__pad
Field descriptor (offset) for struct member 'pad'.
|
static long[] |
__DNA__FIELD__plasticity_balance
Field descriptor (offset) for struct member 'plasticity_balance'.
|
static long[] |
__DNA__FIELD__plasticity_constant
Field descriptor (offset) for struct member 'plasticity_constant'.
|
static long[] |
__DNA__FIELD__radius
Field descriptor (offset) for struct member 'radius'.
|
static long[] |
__DNA__FIELD__rest_density
Field descriptor (offset) for struct member 'rest_density'.
|
static long[] |
__DNA__FIELD__rest_length
Field descriptor (offset) for struct member 'rest_length'.
|
static long[] |
__DNA__FIELD__solver
Field descriptor (offset) for struct member 'solver'.
|
static long[] |
__DNA__FIELD__spring_frames
Field descriptor (offset) for struct member 'spring_frames'.
|
static long[] |
__DNA__FIELD__spring_k
Field descriptor (offset) for struct member 'spring_k'.
|
static long[] |
__DNA__FIELD__stiffness_k
Field descriptor (offset) for struct member 'stiffness_k'.
|
static long[] |
__DNA__FIELD__stiffness_knear
Field descriptor (offset) for struct member 'stiffness_knear'.
|
static long[] |
__DNA__FIELD__viscosity_beta
Field descriptor (offset) for struct member 'viscosity_beta'.
|
static long[] |
__DNA__FIELD__viscosity_omega
Field descriptor (offset) for struct member 'viscosity_omega'.
|
static long[] |
__DNA__FIELD__yield_balance
Field descriptor (offset) for struct member 'yield_balance'.
|
static long[] |
__DNA__FIELD__yield_ratio
Field descriptor (offset) for struct member 'yield_ratio'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct SPHFluidSettings.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
|
SPHFluidSettings(long __address,
Block __block,
BlockTable __blockTable) |
protected |
SPHFluidSettings(SPHFluidSettings that) |
Modifier and Type | Method and Description |
---|---|
CPointer<SPHFluidSettings> |
__io__addressof()
Instantiates a pointer on this instance.
|
float |
getBuoyancy()
Get method for struct member 'buoyancy'.
|
int |
getFlag()
Get method for struct member 'flag'.
|
CArrayFacade<java.lang.Short> |
getPad()
Get method for struct member 'pad'.
|
float |
getPlasticity_balance()
Get method for struct member 'plasticity_balance'.
|
float |
getPlasticity_constant()
Get method for struct member 'plasticity_constant'.
|
float |
getRadius()
Get method for struct member 'radius'.
|
float |
getRest_density()
Get method for struct member 'rest_density'.
|
float |
getRest_length()
Get method for struct member 'rest_length'.
|
short |
getSolver()
Get method for struct member 'solver'.
|
int |
getSpring_frames()
Get method for struct member 'spring_frames'.
|
float |
getSpring_k()
Get method for struct member 'spring_k'.
|
float |
getStiffness_k()
Get method for struct member 'stiffness_k'.
|
float |
getStiffness_knear()
Get method for struct member 'stiffness_knear'.
|
float |
getViscosity_beta()
Get method for struct member 'viscosity_beta'.
|
float |
getViscosity_omega()
Get method for struct member 'viscosity_omega'.
|
float |
getYield_balance()
Get method for struct member 'yield_balance'.
|
float |
getYield_ratio()
Get method for struct member 'yield_ratio'.
|
void |
setBuoyancy(float buoyancy)
Set method for struct member 'buoyancy'.
|
void |
setFlag(int flag)
Set method for struct member 'flag'.
|
void |
setPad(CArrayFacade<java.lang.Short> pad)
Set method for struct member 'pad'.
|
void |
setPlasticity_balance(float plasticity_balance)
Set method for struct member 'plasticity_balance'.
|
void |
setPlasticity_constant(float plasticity_constant)
Set method for struct member 'plasticity_constant'.
|
void |
setRadius(float radius)
Set method for struct member 'radius'.
|
void |
setRest_density(float rest_density)
Set method for struct member 'rest_density'.
|
void |
setRest_length(float rest_length)
Set method for struct member 'rest_length'.
|
void |
setSolver(short solver)
Set method for struct member 'solver'.
|
void |
setSpring_frames(int spring_frames)
Set method for struct member 'spring_frames'.
|
void |
setSpring_k(float spring_k)
Set method for struct member 'spring_k'.
|
void |
setStiffness_k(float stiffness_k)
Set method for struct member 'stiffness_k'.
|
void |
setStiffness_knear(float stiffness_knear)
Set method for struct member 'stiffness_knear'.
|
void |
setViscosity_beta(float viscosity_beta)
Set method for struct member 'viscosity_beta'.
|
void |
setViscosity_omega(float viscosity_omega)
Set method for struct member 'viscosity_omega'.
|
void |
setYield_balance(float yield_balance)
Set method for struct member 'yield_balance'.
|
void |
setYield_ratio(float yield_ratio)
Set method for struct member 'yield_ratio'.
|
__io__addressof, __io__addressof, __io__equals, __io__generic__copy, __io__generic__copy, __io__instanceof, __io__native__copy, __io__newInstance, __io__same__encoding, __io__sizeof, __io__sizeof, __io__subclassof
public static final int __DNA__SDNA_INDEX
It is required when allocating a new block to store data for SPHFluidSettings.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__radius
Particle
Fluid
This is how you get a reference on the corresponding field in the struct:
SPHFluidSettings sphfluidsettings = ...; CPointer<Object> p = sphfluidsettings.__dna__addressof(SPHFluidSettings.__DNA__FIELD__radius); CPointer<Float> p_radius = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__spring_k
This is how you get a reference on the corresponding field in the struct:
SPHFluidSettings sphfluidsettings = ...; CPointer<Object> p = sphfluidsettings.__dna__addressof(SPHFluidSettings.__DNA__FIELD__spring_k); CPointer<Float> p_spring_k = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__rest_length
This is how you get a reference on the corresponding field in the struct:
SPHFluidSettings sphfluidsettings = ...; CPointer<Object> p = sphfluidsettings.__dna__addressof(SPHFluidSettings.__DNA__FIELD__rest_length); CPointer<Float> p_rest_length = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__plasticity_constant
This is how you get a reference on the corresponding field in the struct:
SPHFluidSettings sphfluidsettings = ...; CPointer<Object> p = sphfluidsettings.__dna__addressof(SPHFluidSettings.__DNA__FIELD__plasticity_constant); CPointer<Float> p_plasticity_constant = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__yield_ratio
This is how you get a reference on the corresponding field in the struct:
SPHFluidSettings sphfluidsettings = ...; CPointer<Object> p = sphfluidsettings.__dna__addressof(SPHFluidSettings.__DNA__FIELD__yield_ratio); CPointer<Float> p_yield_ratio = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__plasticity_balance
This is how you get a reference on the corresponding field in the struct:
SPHFluidSettings sphfluidsettings = ...; CPointer<Object> p = sphfluidsettings.__dna__addressof(SPHFluidSettings.__DNA__FIELD__plasticity_balance); CPointer<Float> p_plasticity_balance = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__yield_balance
This is how you get a reference on the corresponding field in the struct:
SPHFluidSettings sphfluidsettings = ...; CPointer<Object> p = sphfluidsettings.__dna__addressof(SPHFluidSettings.__DNA__FIELD__yield_balance); CPointer<Float> p_yield_balance = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__viscosity_omega
This is how you get a reference on the corresponding field in the struct:
SPHFluidSettings sphfluidsettings = ...; CPointer<Object> p = sphfluidsettings.__dna__addressof(SPHFluidSettings.__DNA__FIELD__viscosity_omega); CPointer<Float> p_viscosity_omega = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__viscosity_beta
This is how you get a reference on the corresponding field in the struct:
SPHFluidSettings sphfluidsettings = ...; CPointer<Object> p = sphfluidsettings.__dna__addressof(SPHFluidSettings.__DNA__FIELD__viscosity_beta); CPointer<Float> p_viscosity_beta = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__stiffness_k
This is how you get a reference on the corresponding field in the struct:
SPHFluidSettings sphfluidsettings = ...; CPointer<Object> p = sphfluidsettings.__dna__addressof(SPHFluidSettings.__DNA__FIELD__stiffness_k); CPointer<Float> p_stiffness_k = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__stiffness_knear
This is how you get a reference on the corresponding field in the struct:
SPHFluidSettings sphfluidsettings = ...; CPointer<Object> p = sphfluidsettings.__dna__addressof(SPHFluidSettings.__DNA__FIELD__stiffness_knear); CPointer<Float> p_stiffness_knear = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__rest_density
This is how you get a reference on the corresponding field in the struct:
SPHFluidSettings sphfluidsettings = ...; CPointer<Object> p = sphfluidsettings.__dna__addressof(SPHFluidSettings.__DNA__FIELD__rest_density); CPointer<Float> p_rest_density = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__buoyancy
This is how you get a reference on the corresponding field in the struct:
SPHFluidSettings sphfluidsettings = ...; CPointer<Object> p = sphfluidsettings.__dna__addressof(SPHFluidSettings.__DNA__FIELD__buoyancy); CPointer<Float> p_buoyancy = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__flag
This is how you get a reference on the corresponding field in the struct:
SPHFluidSettings sphfluidsettings = ...; CPointer<Object> p = sphfluidsettings.__dna__addressof(SPHFluidSettings.__DNA__FIELD__flag); CPointer<Integer> p_flag = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__spring_frames
This is how you get a reference on the corresponding field in the struct:
SPHFluidSettings sphfluidsettings = ...; CPointer<Object> p = sphfluidsettings.__dna__addressof(SPHFluidSettings.__DNA__FIELD__spring_frames); CPointer<Integer> p_spring_frames = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__solver
This is how you get a reference on the corresponding field in the struct:
SPHFluidSettings sphfluidsettings = ...; CPointer<Object> p = sphfluidsettings.__dna__addressof(SPHFluidSettings.__DNA__FIELD__solver); CPointer<Short> p_solver = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__pad
This is how you get a reference on the corresponding field in the struct:
SPHFluidSettings sphfluidsettings = ...; CPointer<Object> p = sphfluidsettings.__dna__addressof(SPHFluidSettings.__DNA__FIELD__pad); CPointer<CArrayFacade<Short>> p_pad = p.cast(new Class[]{CArrayFacade.class, Short.class});
public SPHFluidSettings(long __address, Block __block, BlockTable __blockTable)
protected SPHFluidSettings(SPHFluidSettings that)
public float getRadius() throws java.io.IOException
Particle
Fluid
java.io.IOException
__DNA__FIELD__radius
public void setRadius(float radius) throws java.io.IOException
Particle
Fluid
java.io.IOException
__DNA__FIELD__radius
public float getSpring_k() throws java.io.IOException
java.io.IOException
__DNA__FIELD__spring_k
public void setSpring_k(float spring_k) throws java.io.IOException
java.io.IOException
__DNA__FIELD__spring_k
public float getRest_length() throws java.io.IOException
java.io.IOException
__DNA__FIELD__rest_length
public void setRest_length(float rest_length) throws java.io.IOException
java.io.IOException
__DNA__FIELD__rest_length
public float getPlasticity_constant() throws java.io.IOException
java.io.IOException
__DNA__FIELD__plasticity_constant
public void setPlasticity_constant(float plasticity_constant) throws java.io.IOException
java.io.IOException
__DNA__FIELD__plasticity_constant
public float getYield_ratio() throws java.io.IOException
java.io.IOException
__DNA__FIELD__yield_ratio
public void setYield_ratio(float yield_ratio) throws java.io.IOException
java.io.IOException
__DNA__FIELD__yield_ratio
public float getPlasticity_balance() throws java.io.IOException
java.io.IOException
__DNA__FIELD__plasticity_balance
public void setPlasticity_balance(float plasticity_balance) throws java.io.IOException
java.io.IOException
__DNA__FIELD__plasticity_balance
public float getYield_balance() throws java.io.IOException
java.io.IOException
__DNA__FIELD__yield_balance
public void setYield_balance(float yield_balance) throws java.io.IOException
java.io.IOException
__DNA__FIELD__yield_balance
public float getViscosity_omega() throws java.io.IOException
java.io.IOException
__DNA__FIELD__viscosity_omega
public void setViscosity_omega(float viscosity_omega) throws java.io.IOException
java.io.IOException
__DNA__FIELD__viscosity_omega
public float getViscosity_beta() throws java.io.IOException
java.io.IOException
__DNA__FIELD__viscosity_beta
public void setViscosity_beta(float viscosity_beta) throws java.io.IOException
java.io.IOException
__DNA__FIELD__viscosity_beta
public float getStiffness_k() throws java.io.IOException
java.io.IOException
__DNA__FIELD__stiffness_k
public void setStiffness_k(float stiffness_k) throws java.io.IOException
java.io.IOException
__DNA__FIELD__stiffness_k
public float getStiffness_knear() throws java.io.IOException
java.io.IOException
__DNA__FIELD__stiffness_knear
public void setStiffness_knear(float stiffness_knear) throws java.io.IOException
java.io.IOException
__DNA__FIELD__stiffness_knear
public float getRest_density() throws java.io.IOException
java.io.IOException
__DNA__FIELD__rest_density
public void setRest_density(float rest_density) throws java.io.IOException
java.io.IOException
__DNA__FIELD__rest_density
public float getBuoyancy() throws java.io.IOException
java.io.IOException
__DNA__FIELD__buoyancy
public void setBuoyancy(float buoyancy) throws java.io.IOException
java.io.IOException
__DNA__FIELD__buoyancy
public int getFlag() throws java.io.IOException
java.io.IOException
__DNA__FIELD__flag
public void setFlag(int flag) throws java.io.IOException
java.io.IOException
__DNA__FIELD__flag
public int getSpring_frames() throws java.io.IOException
java.io.IOException
__DNA__FIELD__spring_frames
public void setSpring_frames(int spring_frames) throws java.io.IOException
java.io.IOException
__DNA__FIELD__spring_frames
public short getSolver() throws java.io.IOException
java.io.IOException
__DNA__FIELD__solver
public void setSolver(short solver) throws java.io.IOException
java.io.IOException
__DNA__FIELD__solver
public CArrayFacade<java.lang.Short> getPad() throws java.io.IOException
java.io.IOException
__DNA__FIELD__pad
public void setPad(CArrayFacade<java.lang.Short> pad) throws java.io.IOException
java.io.IOException
__DNA__FIELD__pad
public CPointer<SPHFluidSettings> __io__addressof()