Package org.blender.dna
Class DualQuat
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.DualQuat
-
public class DualQuat extends CFacade
Generated facet for DNA struct type 'DualQuat'.Class Documentation
Blender Source Code
dual quaternion.
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD__quat
Field descriptor (offset) for struct member 'quat'.static long[]
__DNA__FIELD__scale
Field descriptor (offset) for struct member 'scale'.static long[]
__DNA__FIELD__scale_weight
Field descriptor (offset) for struct member 'scale_weight'.static long[]
__DNA__FIELD__trans
Field descriptor (offset) for struct member 'trans'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct DualQuat.-
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 DualQuat(long __address, Block __block, BlockTable __blockTable)
protected
DualQuat(DualQuat that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<DualQuat>
__io__addressof()
Instantiates a pointer on this instance.CArrayFacade<java.lang.Float>
getQuat()
Get method for struct member 'quat'.CArrayFacade<CArrayFacade<java.lang.Float>>
getScale()
Get method for struct member 'scale'.float
getScale_weight()
Get method for struct member 'scale_weight'.CArrayFacade<java.lang.Float>
getTrans()
Get method for struct member 'trans'.void
setQuat(CArrayFacade<java.lang.Float> quat)
Set method for struct member 'quat'.void
setScale(CArrayFacade<CArrayFacade<java.lang.Float>> scale)
Set method for struct member 'scale'.void
setScale_weight(float scale_weight)
Set method for struct member 'scale_weight'.void
setTrans(CArrayFacade<java.lang.Float> trans)
Set method for struct member 'trans'.-
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 DualQuat.It is required when allocating a new block to store data for DualQuat.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__quat
public static final long[] __DNA__FIELD__quat
Field descriptor (offset) for struct member 'quat'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
DualQuat dualquat = ...; CPointer<Object> p = dualquat.__dna__addressof(DualQuat.__DNA__FIELD__quat); CPointer<CArrayFacade<Float>> p_quat = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'quat'
- Signature: 'float[4]'
- Actual Size (32bit/64bit): 16/16
-
__DNA__FIELD__trans
public static final long[] __DNA__FIELD__trans
Field descriptor (offset) for struct member 'trans'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
DualQuat dualquat = ...; CPointer<Object> p = dualquat.__dna__addressof(DualQuat.__DNA__FIELD__trans); CPointer<CArrayFacade<Float>> p_trans = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'trans'
- Signature: 'float[4]'
- Actual Size (32bit/64bit): 16/16
-
__DNA__FIELD__scale
public static final long[] __DNA__FIELD__scale
Field descriptor (offset) for struct member 'scale'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
DualQuat dualquat = ...; CPointer<Object> p = dualquat.__dna__addressof(DualQuat.__DNA__FIELD__scale); CPointer<CArrayFacade<CArrayFacade<Float>>> p_scale = p.cast(new Class[]{CArrayFacade.class, CArrayFacade.class, Float.class});
Metadata
- Field: 'scale'
- Signature: 'float[4][4]'
- Actual Size (32bit/64bit): 64/64
-
__DNA__FIELD__scale_weight
public static final long[] __DNA__FIELD__scale_weight
Field descriptor (offset) for struct member 'scale_weight'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
DualQuat dualquat = ...; CPointer<Object> p = dualquat.__dna__addressof(DualQuat.__DNA__FIELD__scale_weight); CPointer<Float> p_scale_weight = p.cast(new Class[]{Float.class});
Metadata
- Field: 'scale_weight'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
-
Constructor Detail
-
DualQuat
public DualQuat(long __address, Block __block, BlockTable __blockTable)
-
DualQuat
protected DualQuat(DualQuat that)
-
-
Method Detail
-
getQuat
public CArrayFacade<java.lang.Float> getQuat() throws java.io.IOException
Get method for struct member 'quat'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__quat
-
setQuat
public void setQuat(CArrayFacade<java.lang.Float> quat) throws java.io.IOException
Set method for struct member 'quat'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__quat
-
getTrans
public CArrayFacade<java.lang.Float> getTrans() throws java.io.IOException
Get method for struct member 'trans'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__trans
-
setTrans
public void setTrans(CArrayFacade<java.lang.Float> trans) throws java.io.IOException
Set method for struct member 'trans'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__trans
-
getScale
public CArrayFacade<CArrayFacade<java.lang.Float>> getScale() throws java.io.IOException
Get method for struct member 'scale'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__scale
-
setScale
public void setScale(CArrayFacade<CArrayFacade<java.lang.Float>> scale) throws java.io.IOException
Set method for struct member 'scale'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__scale
-
getScale_weight
public float getScale_weight() throws java.io.IOException
Get method for struct member 'scale_weight'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__scale_weight
-
setScale_weight
public void setScale_weight(float scale_weight) throws java.io.IOException
Set method for struct member 'scale_weight'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__scale_weight
-
-