Class Volume_Runtime
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.Volume_Runtime
-
public class Volume_Runtime extends CFacade
Generated facet for DNA struct type 'Volume_Runtime'.Class Documentation
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD__default_simplify_level
Field descriptor (offset) for struct member 'default_simplify_level'.static long[]
__DNA__FIELD__frame
Field descriptor (offset) for struct member 'frame'.static long[]
__DNA__FIELD__grids
Field descriptor (offset) for struct member 'grids'.static long[]
__DNA__FIELD__velocity_x_grid
Field descriptor (offset) for struct member 'velocity_x_grid'.static long[]
__DNA__FIELD__velocity_y_grid
Field descriptor (offset) for struct member 'velocity_y_grid'.static long[]
__DNA__FIELD__velocity_z_grid
Field descriptor (offset) for struct member 'velocity_z_grid'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct Volume_Runtime.-
Fields inherited from class org.cakelab.blender.nio.CFacade
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
-
-
Constructor Summary
Constructors Modifier Constructor Description Volume_Runtime(long __address, Block __block, BlockTable __blockTable)
protected
Volume_Runtime(Volume_Runtime that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<Volume_Runtime>
__io__addressof()
Instantiates a pointer on this instance.int
getDefault_simplify_level()
Get method for struct member 'default_simplify_level'.int
getFrame()
Get method for struct member 'frame'.CPointer<java.lang.Object>
getGrids()
Get method for struct member 'grids'.CArrayFacade<java.lang.Byte>
getVelocity_x_grid()
Get method for struct member 'velocity_x_grid'.CArrayFacade<java.lang.Byte>
getVelocity_y_grid()
Get method for struct member 'velocity_y_grid'.CArrayFacade<java.lang.Byte>
getVelocity_z_grid()
Get method for struct member 'velocity_z_grid'.void
setDefault_simplify_level(int default_simplify_level)
Set method for struct member 'default_simplify_level'.void
setFrame(int frame)
Set method for struct member 'frame'.void
setGrids(CPointer<java.lang.Object> grids)
Set method for struct member 'grids'.void
setVelocity_x_grid(CArrayFacade<java.lang.Byte> velocity_x_grid)
Set method for struct member 'velocity_x_grid'.void
setVelocity_y_grid(CArrayFacade<java.lang.Byte> velocity_y_grid)
Set method for struct member 'velocity_y_grid'.void
setVelocity_z_grid(CArrayFacade<java.lang.Byte> velocity_z_grid)
Set method for struct member 'velocity_z_grid'.-
Methods inherited from class org.cakelab.blender.nio.CFacade
__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, equals, hashCode
-
-
-
-
Field Detail
-
__DNA__SDNA_INDEX
public static final int __DNA__SDNA_INDEX
This is the sdna index of the struct Volume_Runtime.It is required when allocating a new block to store data for Volume_Runtime.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__grids
public static final long[] __DNA__FIELD__grids
Field descriptor (offset) for struct member 'grids'.Field Documentation
Blender Source Code
OpenVDB Grids.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Volume_Runtime volume_runtime = ...; CPointer<Object> p = volume_runtime.__dna__addressof(Volume_Runtime.__DNA__FIELD__grids); CPointer<CPointer<Object>> p_grids = p.cast(new Class[]{CPointer.class, Object.class});
Metadata
- Field: 'grids'
- Signature: 'VolumeGridVector*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__frame
public static final long[] __DNA__FIELD__frame
Field descriptor (offset) for struct member 'frame'.Field Documentation
Blender Source Code
Current frame in sequence for evaluated volume.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Volume_Runtime volume_runtime = ...; CPointer<Object> p = volume_runtime.__dna__addressof(Volume_Runtime.__DNA__FIELD__frame); CPointer<Integer> p_frame = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'frame'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__default_simplify_level
public static final long[] __DNA__FIELD__default_simplify_level
Field descriptor (offset) for struct member 'default_simplify_level'.Field Documentation
Blender Source Code
Default simplify level for volume grids loaded from files.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Volume_Runtime volume_runtime = ...; CPointer<Object> p = volume_runtime.__dna__addressof(Volume_Runtime.__DNA__FIELD__default_simplify_level); CPointer<Integer> p_default_simplify_level = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'default_simplify_level'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__velocity_x_grid
public static final long[] __DNA__FIELD__velocity_x_grid
Field descriptor (offset) for struct member 'velocity_x_grid'.Field Documentation
Blender Source Code
Names for scalar grids which would need to be merged to recompose the velocity grid.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Volume_Runtime volume_runtime = ...; CPointer<Object> p = volume_runtime.__dna__addressof(Volume_Runtime.__DNA__FIELD__velocity_x_grid); CPointer<CArrayFacade<Byte>> p_velocity_x_grid = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: 'velocity_x_grid'
- Signature: 'char[64]'
- Actual Size (32bit/64bit): 64/64
-
__DNA__FIELD__velocity_y_grid
public static final long[] __DNA__FIELD__velocity_y_grid
Field descriptor (offset) for struct member 'velocity_y_grid'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Volume_Runtime volume_runtime = ...; CPointer<Object> p = volume_runtime.__dna__addressof(Volume_Runtime.__DNA__FIELD__velocity_y_grid); CPointer<CArrayFacade<Byte>> p_velocity_y_grid = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: 'velocity_y_grid'
- Signature: 'char[64]'
- Actual Size (32bit/64bit): 64/64
-
__DNA__FIELD__velocity_z_grid
public static final long[] __DNA__FIELD__velocity_z_grid
Field descriptor (offset) for struct member 'velocity_z_grid'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Volume_Runtime volume_runtime = ...; CPointer<Object> p = volume_runtime.__dna__addressof(Volume_Runtime.__DNA__FIELD__velocity_z_grid); CPointer<CArrayFacade<Byte>> p_velocity_z_grid = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: 'velocity_z_grid'
- Signature: 'char[64]'
- Actual Size (32bit/64bit): 64/64
-
-
Constructor Detail
-
Volume_Runtime
public Volume_Runtime(long __address, Block __block, BlockTable __blockTable)
-
Volume_Runtime
protected Volume_Runtime(Volume_Runtime that)
-
-
Method Detail
-
getGrids
public CPointer<java.lang.Object> getGrids() throws java.io.IOException
Get method for struct member 'grids'.Field Documentation
Blender Source Code
OpenVDB Grids.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__grids
-
setGrids
public void setGrids(CPointer<java.lang.Object> grids) throws java.io.IOException
Set method for struct member 'grids'.Field Documentation
Blender Source Code
OpenVDB Grids.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__grids
-
getFrame
public int getFrame() throws java.io.IOException
Get method for struct member 'frame'.Field Documentation
Blender Source Code
Current frame in sequence for evaluated volume.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__frame
-
setFrame
public void setFrame(int frame) throws java.io.IOException
Set method for struct member 'frame'.Field Documentation
Blender Source Code
Current frame in sequence for evaluated volume.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__frame
-
getDefault_simplify_level
public int getDefault_simplify_level() throws java.io.IOException
Get method for struct member 'default_simplify_level'.Field Documentation
Blender Source Code
Default simplify level for volume grids loaded from files.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__default_simplify_level
-
setDefault_simplify_level
public void setDefault_simplify_level(int default_simplify_level) throws java.io.IOException
Set method for struct member 'default_simplify_level'.Field Documentation
Blender Source Code
Default simplify level for volume grids loaded from files.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__default_simplify_level
-
getVelocity_x_grid
public CArrayFacade<java.lang.Byte> getVelocity_x_grid() throws java.io.IOException
Get method for struct member 'velocity_x_grid'.Field Documentation
Blender Source Code
Names for scalar grids which would need to be merged to recompose the velocity grid.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__velocity_x_grid
-
setVelocity_x_grid
public void setVelocity_x_grid(CArrayFacade<java.lang.Byte> velocity_x_grid) throws java.io.IOException
Set method for struct member 'velocity_x_grid'.Field Documentation
Blender Source Code
Names for scalar grids which would need to be merged to recompose the velocity grid.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__velocity_x_grid
-
getVelocity_y_grid
public CArrayFacade<java.lang.Byte> getVelocity_y_grid() throws java.io.IOException
Get method for struct member 'velocity_y_grid'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__velocity_y_grid
-
setVelocity_y_grid
public void setVelocity_y_grid(CArrayFacade<java.lang.Byte> velocity_y_grid) throws java.io.IOException
Set method for struct member 'velocity_y_grid'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__velocity_y_grid
-
getVelocity_z_grid
public CArrayFacade<java.lang.Byte> getVelocity_z_grid() throws java.io.IOException
Get method for struct member 'velocity_z_grid'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__velocity_z_grid
-
setVelocity_z_grid
public void setVelocity_z_grid(CArrayFacade<java.lang.Byte> velocity_z_grid) throws java.io.IOException
Set method for struct member 'velocity_z_grid'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__velocity_z_grid
-
__io__addressof
public CPointer<Volume_Runtime> __io__addressof()
Instantiates a pointer on this instance.
-
-