public class DualQuat extends CFacade
dual quaternion.
Modifier and Type | Field and 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.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
DualQuat(DualQuat that) |
|
DualQuat(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<DualQuat> |
__io__addressof()
Instantiates a pointer on this instance.
|
CArrayFacade<java.lang.Float> |
getQuat()
Get method for struct member 'quat'.
|
float |
getScale_weight()
Get method for struct member 'scale_weight'.
|
CArrayFacade<CArrayFacade<java.lang.Float>> |
getScale()
Get method for struct member 'scale'.
|
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_weight(float scale_weight)
Set method for struct member 'scale_weight'.
|
void |
setScale(CArrayFacade<CArrayFacade<java.lang.Float>> scale)
Set method for struct member 'scale'.
|
void |
setTrans(CArrayFacade<java.lang.Float> trans)
Set method for struct member 'trans'.
|
__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 DualQuat.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__quat
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});
public static final long[] __DNA__FIELD__trans
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});
public static final long[] __DNA__FIELD__scale
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});
public static final long[] __DNA__FIELD__scale_weight
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});
public DualQuat(long __address, Block __block, BlockTable __blockTable)
protected DualQuat(DualQuat that)
public CArrayFacade<java.lang.Float> getQuat() throws java.io.IOException
java.io.IOException
__DNA__FIELD__quat
public void setQuat(CArrayFacade<java.lang.Float> quat) throws java.io.IOException
java.io.IOException
__DNA__FIELD__quat
public CArrayFacade<java.lang.Float> getTrans() throws java.io.IOException
java.io.IOException
__DNA__FIELD__trans
public void setTrans(CArrayFacade<java.lang.Float> trans) throws java.io.IOException
java.io.IOException
__DNA__FIELD__trans
public CArrayFacade<CArrayFacade<java.lang.Float>> getScale() throws java.io.IOException
java.io.IOException
__DNA__FIELD__scale
public void setScale(CArrayFacade<CArrayFacade<java.lang.Float>> scale) throws java.io.IOException
java.io.IOException
__DNA__FIELD__scale
public float getScale_weight() throws java.io.IOException
java.io.IOException
__DNA__FIELD__scale_weight
public void setScale_weight(float scale_weight) throws java.io.IOException
java.io.IOException
__DNA__FIELD__scale_weight