Class StripTransform


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

        public static final int __DNA__SDNA_INDEX
        This is the sdna index of the struct StripTransform.

        It is required when allocating a new block to store data for StripTransform.

        See Also:
        StructDNA, BlockTable, Constant Field Values
      • __DNA__FIELD__xofs

        public static final long[] __DNA__FIELD__xofs
        Field descriptor (offset) for struct member 'xofs'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         StripTransform striptransform = ...;
         CPointer<Object> p = striptransform.__dna__addressof(StripTransform.__DNA__FIELD__xofs);
         CPointer<Float> p_xofs = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'xofs'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__yofs

        public static final long[] __DNA__FIELD__yofs
        Field descriptor (offset) for struct member 'yofs'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         StripTransform striptransform = ...;
         CPointer<Object> p = striptransform.__dna__addressof(StripTransform.__DNA__FIELD__yofs);
         CPointer<Float> p_yofs = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'yofs'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__scale_x

        public static final long[] __DNA__FIELD__scale_x
        Field descriptor (offset) for struct member 'scale_x'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         StripTransform striptransform = ...;
         CPointer<Object> p = striptransform.__dna__addressof(StripTransform.__DNA__FIELD__scale_x);
         CPointer<Float> p_scale_x = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'scale_x'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__scale_y

        public static final long[] __DNA__FIELD__scale_y
        Field descriptor (offset) for struct member 'scale_y'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         StripTransform striptransform = ...;
         CPointer<Object> p = striptransform.__dna__addressof(StripTransform.__DNA__FIELD__scale_y);
         CPointer<Float> p_scale_y = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'scale_y'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__rotation

        public static final long[] __DNA__FIELD__rotation
        Field descriptor (offset) for struct member 'rotation'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         StripTransform striptransform = ...;
         CPointer<Object> p = striptransform.__dna__addressof(StripTransform.__DNA__FIELD__rotation);
         CPointer<Float> p_rotation = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'rotation'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__origin

        public static final long[] __DNA__FIELD__origin
        Field descriptor (offset) for struct member 'origin'.

        Field Documentation

        Blender Source Code

        0-1 range, use SEQ_image_transform_origin_offset_pixelspace_get to convert to pixel space.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         StripTransform striptransform = ...;
         CPointer<Object> p = striptransform.__dna__addressof(StripTransform.__DNA__FIELD__origin);
         CPointer<CArrayFacade<Float>> p_origin = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'origin'
        • Signature: 'float[2]'
        • Actual Size (32bit/64bit): 8/8
      • __DNA__FIELD__filter

        public static final long[] __DNA__FIELD__filter
        Field descriptor (offset) for struct member 'filter'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         StripTransform striptransform = ...;
         CPointer<Object> p = striptransform.__dna__addressof(StripTransform.__DNA__FIELD__filter);
         CPointer<Integer> p_filter = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'filter'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
    • Constructor Detail

      • StripTransform

        public StripTransform​(long __address,
                              Block __block,
                              BlockTable __blockTable)
    • Method Detail

      • getXofs

        public float getXofs()
                      throws java.io.IOException
        Get method for struct member 'xofs'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__xofs
      • setXofs

        public void setXofs​(float xofs)
                     throws java.io.IOException
        Set method for struct member 'xofs'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__xofs
      • getYofs

        public float getYofs()
                      throws java.io.IOException
        Get method for struct member 'yofs'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__yofs
      • setYofs

        public void setYofs​(float yofs)
                     throws java.io.IOException
        Set method for struct member 'yofs'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__yofs
      • getScale_x

        public float getScale_x()
                         throws java.io.IOException
        Get method for struct member 'scale_x'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__scale_x
      • setScale_x

        public void setScale_x​(float scale_x)
                        throws java.io.IOException
        Set method for struct member 'scale_x'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__scale_x
      • getScale_y

        public float getScale_y()
                         throws java.io.IOException
        Get method for struct member 'scale_y'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__scale_y
      • setScale_y

        public void setScale_y​(float scale_y)
                        throws java.io.IOException
        Set method for struct member 'scale_y'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__scale_y
      • getRotation

        public float getRotation()
                          throws java.io.IOException
        Get method for struct member 'rotation'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rotation
      • setRotation

        public void setRotation​(float rotation)
                         throws java.io.IOException
        Set method for struct member 'rotation'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rotation
      • getOrigin

        public CArrayFacade<java.lang.Float> getOrigin()
                                                throws java.io.IOException
        Get method for struct member 'origin'.

        Field Documentation

        Blender Source Code

        0-1 range, use SEQ_image_transform_origin_offset_pixelspace_get to convert to pixel space.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__origin
      • setOrigin

        public void setOrigin​(CArrayFacade<java.lang.Float> origin)
                       throws java.io.IOException
        Set method for struct member 'origin'.

        Field Documentation

        Blender Source Code

        0-1 range, use SEQ_image_transform_origin_offset_pixelspace_get to convert to pixel space.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__origin
      • getFilter

        public int getFilter()
                      throws java.io.IOException
        Get method for struct member 'filter'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__filter
      • setFilter

        public void setFilter​(int filter)
                       throws java.io.IOException
        Set method for struct member 'filter'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__filter
      • __io__addressof

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