Class DualQuat


  • public class DualQuat
    extends CFacade
    Generated facet for DNA struct type 'DualQuat'.

    Class Documentation

    Blender Source Code

    dual quaternion.

    • 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_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
      • __io__addressof

        public CPointer<DualQuat> __io__addressof()
        Instantiates a pointer on this instance.