Class CurveMap


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         CurveMap curvemap = ...;
         CPointer<Object> p = curvemap.__dna__addressof(CurveMap.__DNA__FIELD__totpoint);
         CPointer<Short> p_totpoint = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'totpoint'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__flag

        public static final long[] __DNA__FIELD__flag
        Deprecated.
        Deprecated

        Pointer Arithmetics

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

         CurveMap curvemap = ...;
         CPointer<Object> p = curvemap.__dna__addressof(CurveMap.__DNA__FIELD__flag);
         CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'flag'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
        Field descriptor (offset) for struct member 'flag'.

        Field Documentation

        Blender Source Code

      • __DNA__FIELD__range

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

        Field Documentation

        Blender Source Code

        Quick multiply value for reading table.

        Pointer Arithmetics

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

         CurveMap curvemap = ...;
         CPointer<Object> p = curvemap.__dna__addressof(CurveMap.__DNA__FIELD__range);
         CPointer<Float> p_range = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'range'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__mintable

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

        Field Documentation

        Blender Source Code

        The x-axis range for the table.

        Pointer Arithmetics

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

         CurveMap curvemap = ...;
         CPointer<Object> p = curvemap.__dna__addressof(CurveMap.__DNA__FIELD__mintable);
         CPointer<Float> p_mintable = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'mintable'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__maxtable

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

        Pointer Arithmetics

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

         CurveMap curvemap = ...;
         CPointer<Object> p = curvemap.__dna__addressof(CurveMap.__DNA__FIELD__maxtable);
         CPointer<Float> p_maxtable = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'maxtable'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__ext_in

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

        Field Documentation

        Blender Source Code

        For extrapolated curves, the direction vector.

        Pointer Arithmetics

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

         CurveMap curvemap = ...;
         CPointer<Object> p = curvemap.__dna__addressof(CurveMap.__DNA__FIELD__ext_in);
         CPointer<CArrayFacade<Float>> p_ext_in = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

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

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

        Pointer Arithmetics

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

         CurveMap curvemap = ...;
         CPointer<Object> p = curvemap.__dna__addressof(CurveMap.__DNA__FIELD__ext_out);
         CPointer<CArrayFacade<Float>> p_ext_out = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

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

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

        Field Documentation

        Blender Source Code

        Actual curve.

        Pointer Arithmetics

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

         CurveMap curvemap = ...;
         CPointer<Object> p = curvemap.__dna__addressof(CurveMap.__DNA__FIELD__curve);
         CPointer<CPointer<CurveMapPoint>> p_curve = p.cast(new Class[]{CPointer.class, CurveMapPoint.class});
         

        Metadata

        • Field: 'curve'
        • Signature: 'CurveMapPoint*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__table

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

        Field Documentation

        Blender Source Code

        Display and evaluate table.

        Pointer Arithmetics

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

         CurveMap curvemap = ...;
         CPointer<Object> p = curvemap.__dna__addressof(CurveMap.__DNA__FIELD__table);
         CPointer<CPointer<CurveMapPoint>> p_table = p.cast(new Class[]{CPointer.class, CurveMapPoint.class});
         

        Metadata

        • Field: 'table'
        • Signature: 'CurveMapPoint*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__premultable

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

        Field Documentation

        Blender Source Code

        For RGB curves, pre-multiplied table.

        Pointer Arithmetics

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

         CurveMap curvemap = ...;
         CPointer<Object> p = curvemap.__dna__addressof(CurveMap.__DNA__FIELD__premultable);
         CPointer<CPointer<CurveMapPoint>> p_premultable = p.cast(new Class[]{CPointer.class, CurveMapPoint.class});
         

        Metadata

        • Field: 'premultable'
        • Signature: 'CurveMapPoint*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__premul_ext_in

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

        Field Documentation

        Blender Source Code

        For RGB curves, pre-multiplied extrapolation vector.

        Pointer Arithmetics

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

         CurveMap curvemap = ...;
         CPointer<Object> p = curvemap.__dna__addressof(CurveMap.__DNA__FIELD__premul_ext_in);
         CPointer<CArrayFacade<Float>> p_premul_ext_in = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

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

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

        Pointer Arithmetics

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

         CurveMap curvemap = ...;
         CPointer<Object> p = curvemap.__dna__addressof(CurveMap.__DNA__FIELD__premul_ext_out);
         CPointer<CArrayFacade<Float>> p_premul_ext_out = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'premul_ext_out'
        • Signature: 'float[2]'
        • Actual Size (32bit/64bit): 8/8
    • Constructor Detail

      • CurveMap

        public CurveMap​(long __address,
                        Block __block,
                        BlockTable __blockTable)
      • CurveMap

        protected CurveMap​(CurveMap that)
    • Method Detail

      • getTotpoint

        public short getTotpoint()
                          throws java.io.IOException
        Get method for struct member 'totpoint'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__totpoint
      • setTotpoint

        public void setTotpoint​(short totpoint)
                         throws java.io.IOException
        Set method for struct member 'totpoint'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__totpoint
      • getFlag

        public short getFlag()
                      throws java.io.IOException
        Deprecated.
        Deprecated

        Get method for struct member 'flag'.

        Field Documentation

        Blender Source Code

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • setFlag

        public void setFlag​(short flag)
                     throws java.io.IOException
        Deprecated.
        Deprecated

        Set method for struct member 'flag'.

        Field Documentation

        Blender Source Code

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • getRange

        public float getRange()
                       throws java.io.IOException
        Get method for struct member 'range'.

        Field Documentation

        Blender Source Code

        Quick multiply value for reading table.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__range
      • setRange

        public void setRange​(float range)
                      throws java.io.IOException
        Set method for struct member 'range'.

        Field Documentation

        Blender Source Code

        Quick multiply value for reading table.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__range
      • getMintable

        public float getMintable()
                          throws java.io.IOException
        Get method for struct member 'mintable'.

        Field Documentation

        Blender Source Code

        The x-axis range for the table.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mintable
      • setMintable

        public void setMintable​(float mintable)
                         throws java.io.IOException
        Set method for struct member 'mintable'.

        Field Documentation

        Blender Source Code

        The x-axis range for the table.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mintable
      • getMaxtable

        public float getMaxtable()
                          throws java.io.IOException
        Get method for struct member 'maxtable'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__maxtable
      • setMaxtable

        public void setMaxtable​(float maxtable)
                         throws java.io.IOException
        Set method for struct member 'maxtable'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__maxtable
      • getExt_in

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

        Field Documentation

        Blender Source Code

        For extrapolated curves, the direction vector.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ext_in
      • setExt_in

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

        Field Documentation

        Blender Source Code

        For extrapolated curves, the direction vector.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ext_in
      • getExt_out

        public CArrayFacade<java.lang.Float> getExt_out()
                                                 throws java.io.IOException
        Get method for struct member 'ext_out'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ext_out
      • setExt_out

        public void setExt_out​(CArrayFacade<java.lang.Float> ext_out)
                        throws java.io.IOException
        Set method for struct member 'ext_out'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ext_out
      • getCurve

        public CPointer<CurveMapPoint> getCurve()
                                         throws java.io.IOException
        Get method for struct member 'curve'.

        Field Documentation

        Blender Source Code

        Actual curve.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__curve
      • setCurve

        public void setCurve​(CPointer<CurveMapPoint> curve)
                      throws java.io.IOException
        Set method for struct member 'curve'.

        Field Documentation

        Blender Source Code

        Actual curve.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__curve
      • getTable

        public CPointer<CurveMapPoint> getTable()
                                         throws java.io.IOException
        Get method for struct member 'table'.

        Field Documentation

        Blender Source Code

        Display and evaluate table.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__table
      • setTable

        public void setTable​(CPointer<CurveMapPoint> table)
                      throws java.io.IOException
        Set method for struct member 'table'.

        Field Documentation

        Blender Source Code

        Display and evaluate table.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__table
      • getPremultable

        public CPointer<CurveMapPoint> getPremultable()
                                               throws java.io.IOException
        Get method for struct member 'premultable'.

        Field Documentation

        Blender Source Code

        For RGB curves, pre-multiplied table.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__premultable
      • setPremultable

        public void setPremultable​(CPointer<CurveMapPoint> premultable)
                            throws java.io.IOException
        Set method for struct member 'premultable'.

        Field Documentation

        Blender Source Code

        For RGB curves, pre-multiplied table.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__premultable
      • getPremul_ext_in

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

        Field Documentation

        Blender Source Code

        For RGB curves, pre-multiplied extrapolation vector.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__premul_ext_in
      • setPremul_ext_in

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

        Field Documentation

        Blender Source Code

        For RGB curves, pre-multiplied extrapolation vector.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__premul_ext_in
      • getPremul_ext_out

        public CArrayFacade<java.lang.Float> getPremul_ext_out()
                                                        throws java.io.IOException
        Get method for struct member 'premul_ext_out'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__premul_ext_out
      • setPremul_ext_out

        public void setPremul_ext_out​(CArrayFacade<java.lang.Float> premul_ext_out)
                               throws java.io.IOException
        Set method for struct member 'premul_ext_out'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__premul_ext_out
      • __io__addressof

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