public class MeshToVolumeModifierData extends CFacade
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD___pad1
Field descriptor (offset) for struct member '_pad1'.
|
static long[] |
__DNA__FIELD___pad2
Field descriptor (offset) for struct member '_pad2'.
|
static long[] |
__DNA__FIELD__density
Field descriptor (offset) for struct member 'density'.
|
static long[] |
__DNA__FIELD__exterior_band_width
Field descriptor (offset) for struct member 'exterior_band_width'.
|
static long[] |
__DNA__FIELD__fill_volume
Field descriptor (offset) for struct member 'fill_volume'.
|
static long[] |
__DNA__FIELD__interior_band_width
Field descriptor (offset) for struct member 'interior_band_width'.
|
static long[] |
__DNA__FIELD__modifier
Field descriptor (offset) for struct member 'modifier'.
|
static long[] |
__DNA__FIELD__object
Field descriptor (offset) for struct member 'object'.
|
static long[] |
__DNA__FIELD__resolution_mode
Field descriptor (offset) for struct member 'resolution_mode'.
|
static long[] |
__DNA__FIELD__voxel_amount
Field descriptor (offset) for struct member 'voxel_amount'.
|
static long[] |
__DNA__FIELD__voxel_size
Field descriptor (offset) for struct member 'voxel_size'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct MeshToVolumeModifierData.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
|
MeshToVolumeModifierData(long __address,
Block __block,
BlockTable __blockTable) |
protected |
MeshToVolumeModifierData(MeshToVolumeModifierData that) |
Modifier and Type | Method and Description |
---|---|
CPointer<MeshToVolumeModifierData> |
__io__addressof()
Instantiates a pointer on this instance.
|
CArrayFacade<java.lang.Byte> |
get_pad1()
Get method for struct member '_pad1'.
|
CArrayFacade<java.lang.Byte> |
get_pad2()
Get method for struct member '_pad2'.
|
float |
getDensity()
Get method for struct member 'density'.
|
float |
getExterior_band_width()
Get method for struct member 'exterior_band_width'.
|
byte |
getFill_volume()
Get method for struct member 'fill_volume'.
|
float |
getInterior_band_width()
Get method for struct member 'interior_band_width'.
|
ModifierData |
getModifier()
Get method for struct member 'modifier'.
|
CPointer<BlenderObject> |
getObject()
Get method for struct member 'object'.
|
int |
getResolution_mode()
Get method for struct member 'resolution_mode'.
|
int |
getVoxel_amount()
Get method for struct member 'voxel_amount'.
|
float |
getVoxel_size()
Get method for struct member 'voxel_size'.
|
void |
set_pad1(CArrayFacade<java.lang.Byte> _pad1)
Set method for struct member '_pad1'.
|
void |
set_pad2(CArrayFacade<java.lang.Byte> _pad2)
Set method for struct member '_pad2'.
|
void |
setDensity(float density)
Set method for struct member 'density'.
|
void |
setExterior_band_width(float exterior_band_width)
Set method for struct member 'exterior_band_width'.
|
void |
setFill_volume(byte fill_volume)
Set method for struct member 'fill_volume'.
|
void |
setInterior_band_width(float interior_band_width)
Set method for struct member 'interior_band_width'.
|
void |
setModifier(ModifierData modifier)
Set method for struct member 'modifier'.
|
void |
setObject(CPointer<BlenderObject> object)
Set method for struct member 'object'.
|
void |
setResolution_mode(int resolution_mode)
Set method for struct member 'resolution_mode'.
|
void |
setVoxel_amount(int voxel_amount)
Set method for struct member 'voxel_amount'.
|
void |
setVoxel_size(float voxel_size)
Set method for struct member 'voxel_size'.
|
__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 MeshToVolumeModifierData.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__modifier
This is how you get a reference on the corresponding field in the struct:
MeshToVolumeModifierData meshtovolumemodifierdata = ...; CPointer<Object> p = meshtovolumemodifierdata.__dna__addressof(MeshToVolumeModifierData.__DNA__FIELD__modifier); CPointer<ModifierData> p_modifier = p.cast(new Class[]{ModifierData.class});
public static final long[] __DNA__FIELD__object
This is the object that is supposed to be converted to a volume.
This is how you get a reference on the corresponding field in the struct:
MeshToVolumeModifierData meshtovolumemodifierdata = ...; CPointer<Object> p = meshtovolumemodifierdata.__dna__addressof(MeshToVolumeModifierData.__DNA__FIELD__object); CPointer<CPointer<BlenderObject>> p_object = p.cast(new Class[]{CPointer.class, BlenderObject.class});
public static final long[] __DNA__FIELD__resolution_mode
ToVolumeModifierResolutionMode
This is how you get a reference on the corresponding field in the struct:
MeshToVolumeModifierData meshtovolumemodifierdata = ...; CPointer<Object> p = meshtovolumemodifierdata.__dna__addressof(MeshToVolumeModifierData.__DNA__FIELD__resolution_mode); CPointer<Integer> p_resolution_mode = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__voxel_size
Size of a voxel in object space.
This is how you get a reference on the corresponding field in the struct:
MeshToVolumeModifierData meshtovolumemodifierdata = ...; CPointer<Object> p = meshtovolumemodifierdata.__dna__addressof(MeshToVolumeModifierData.__DNA__FIELD__voxel_size); CPointer<Float> p_voxel_size = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__voxel_amount
The desired amount of voxels along one axis. The actual amount of voxels might be slightly different.
This is how you get a reference on the corresponding field in the struct:
MeshToVolumeModifierData meshtovolumemodifierdata = ...; CPointer<Object> p = meshtovolumemodifierdata.__dna__addressof(MeshToVolumeModifierData.__DNA__FIELD__voxel_amount); CPointer<Integer> p_voxel_amount = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__fill_volume
If true, every cell in the enclosed volume gets a density. Otherwise, the interior_band_width is used.
This is how you get a reference on the corresponding field in the struct:
MeshToVolumeModifierData meshtovolumemodifierdata = ...; CPointer<Object> p = meshtovolumemodifierdata.__dna__addressof(MeshToVolumeModifierData.__DNA__FIELD__fill_volume); CPointer<Byte> p_fill_volume = p.cast(new Class[]{Byte.class});
public static final long[] __DNA__FIELD___pad1
This is how you get a reference on the corresponding field in the struct:
MeshToVolumeModifierData meshtovolumemodifierdata = ...; CPointer<Object> p = meshtovolumemodifierdata.__dna__addressof(MeshToVolumeModifierData.__DNA__FIELD___pad1); CPointer<CArrayFacade<Byte>> p__pad1 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public static final long[] __DNA__FIELD__interior_band_width
Band widths are in object space.
This is how you get a reference on the corresponding field in the struct:
MeshToVolumeModifierData meshtovolumemodifierdata = ...; CPointer<Object> p = meshtovolumemodifierdata.__dna__addressof(MeshToVolumeModifierData.__DNA__FIELD__interior_band_width); CPointer<Float> p_interior_band_width = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__exterior_band_width
This is how you get a reference on the corresponding field in the struct:
MeshToVolumeModifierData meshtovolumemodifierdata = ...; CPointer<Object> p = meshtovolumemodifierdata.__dna__addressof(MeshToVolumeModifierData.__DNA__FIELD__exterior_band_width); CPointer<Float> p_exterior_band_width = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__density
This is how you get a reference on the corresponding field in the struct:
MeshToVolumeModifierData meshtovolumemodifierdata = ...; CPointer<Object> p = meshtovolumemodifierdata.__dna__addressof(MeshToVolumeModifierData.__DNA__FIELD__density); CPointer<Float> p_density = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD___pad2
This is how you get a reference on the corresponding field in the struct:
MeshToVolumeModifierData meshtovolumemodifierdata = ...; CPointer<Object> p = meshtovolumemodifierdata.__dna__addressof(MeshToVolumeModifierData.__DNA__FIELD___pad2); CPointer<CArrayFacade<Byte>> p__pad2 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public MeshToVolumeModifierData(long __address, Block __block, BlockTable __blockTable)
protected MeshToVolumeModifierData(MeshToVolumeModifierData that)
public ModifierData getModifier() throws java.io.IOException
java.io.IOException
__DNA__FIELD__modifier
public void setModifier(ModifierData modifier) throws java.io.IOException
java.io.IOException
__DNA__FIELD__modifier
public CPointer<BlenderObject> getObject() throws java.io.IOException
This is the object that is supposed to be converted to a volume.
java.io.IOException
__DNA__FIELD__object
public void setObject(CPointer<BlenderObject> object) throws java.io.IOException
This is the object that is supposed to be converted to a volume.
java.io.IOException
__DNA__FIELD__object
public int getResolution_mode() throws java.io.IOException
ToVolumeModifierResolutionMode
java.io.IOException
__DNA__FIELD__resolution_mode
public void setResolution_mode(int resolution_mode) throws java.io.IOException
ToVolumeModifierResolutionMode
java.io.IOException
__DNA__FIELD__resolution_mode
public float getVoxel_size() throws java.io.IOException
Size of a voxel in object space.
java.io.IOException
__DNA__FIELD__voxel_size
public void setVoxel_size(float voxel_size) throws java.io.IOException
Size of a voxel in object space.
java.io.IOException
__DNA__FIELD__voxel_size
public int getVoxel_amount() throws java.io.IOException
The desired amount of voxels along one axis. The actual amount of voxels might be slightly different.
java.io.IOException
__DNA__FIELD__voxel_amount
public void setVoxel_amount(int voxel_amount) throws java.io.IOException
The desired amount of voxels along one axis. The actual amount of voxels might be slightly different.
java.io.IOException
__DNA__FIELD__voxel_amount
public byte getFill_volume() throws java.io.IOException
If true, every cell in the enclosed volume gets a density. Otherwise, the interior_band_width is used.
java.io.IOException
__DNA__FIELD__fill_volume
public void setFill_volume(byte fill_volume) throws java.io.IOException
If true, every cell in the enclosed volume gets a density. Otherwise, the interior_band_width is used.
java.io.IOException
__DNA__FIELD__fill_volume
public CArrayFacade<java.lang.Byte> get_pad1() throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad1
public void set_pad1(CArrayFacade<java.lang.Byte> _pad1) throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad1
public float getInterior_band_width() throws java.io.IOException
Band widths are in object space.
java.io.IOException
__DNA__FIELD__interior_band_width
public void setInterior_band_width(float interior_band_width) throws java.io.IOException
Band widths are in object space.
java.io.IOException
__DNA__FIELD__interior_band_width
public float getExterior_band_width() throws java.io.IOException
java.io.IOException
__DNA__FIELD__exterior_band_width
public void setExterior_band_width(float exterior_band_width) throws java.io.IOException
java.io.IOException
__DNA__FIELD__exterior_band_width
public float getDensity() throws java.io.IOException
java.io.IOException
__DNA__FIELD__density
public void setDensity(float density) throws java.io.IOException
java.io.IOException
__DNA__FIELD__density
public CArrayFacade<java.lang.Byte> get_pad2() throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad2
public void set_pad2(CArrayFacade<java.lang.Byte> _pad2) throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad2
public CPointer<MeshToVolumeModifierData> __io__addressof()