Class SDefBind


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         SDefBind sdefbind = ...;
         CPointer<Object> p = sdefbind.__dna__addressof(SDefBind.__DNA__FIELD__vert_inds);
         CPointer<CPointer<Integer>> p_vert_inds = p.cast(new Class[]{CPointer.class, Integer.class});
         

        Metadata

        • Field: 'vert_inds'
        • Signature: 'int*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__numverts

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

        Pointer Arithmetics

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

         SDefBind sdefbind = ...;
         CPointer<Object> p = sdefbind.__dna__addressof(SDefBind.__DNA__FIELD__numverts);
         CPointer<Integer> p_numverts = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'numverts'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__mode

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

        Pointer Arithmetics

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

         SDefBind sdefbind = ...;
         CPointer<Object> p = sdefbind.__dna__addressof(SDefBind.__DNA__FIELD__mode);
         CPointer<Integer> p_mode = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'mode'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__vert_weights

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

        Pointer Arithmetics

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

         SDefBind sdefbind = ...;
         CPointer<Object> p = sdefbind.__dna__addressof(SDefBind.__DNA__FIELD__vert_weights);
         CPointer<CPointer<Float>> p_vert_weights = p.cast(new Class[]{CPointer.class, Float.class});
         

        Metadata

        • Field: 'vert_weights'
        • Signature: 'float*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__normal_dist

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

        Pointer Arithmetics

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

         SDefBind sdefbind = ...;
         CPointer<Object> p = sdefbind.__dna__addressof(SDefBind.__DNA__FIELD__normal_dist);
         CPointer<Float> p_normal_dist = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'normal_dist'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__influence

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

        Pointer Arithmetics

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

         SDefBind sdefbind = ...;
         CPointer<Object> p = sdefbind.__dna__addressof(SDefBind.__DNA__FIELD__influence);
         CPointer<Float> p_influence = p.cast(new Class[]{Float.class});
         

        Metadata

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

      • SDefBind

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

        protected SDefBind​(SDefBind that)
    • Method Detail

      • getVert_inds

        public CPointer<java.lang.Integer> getVert_inds()
                                                 throws java.io.IOException
        Get method for struct member 'vert_inds'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vert_inds
      • setVert_inds

        public void setVert_inds​(CPointer<java.lang.Integer> vert_inds)
                          throws java.io.IOException
        Set method for struct member 'vert_inds'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vert_inds
      • getNumverts

        public int getNumverts()
                        throws java.io.IOException
        Get method for struct member 'numverts'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__numverts
      • setNumverts

        public void setNumverts​(int numverts)
                         throws java.io.IOException
        Set method for struct member 'numverts'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__numverts
      • getMode

        public int getMode()
                    throws java.io.IOException
        Get method for struct member 'mode'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mode
      • setMode

        public void setMode​(int mode)
                     throws java.io.IOException
        Set method for struct member 'mode'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mode
      • getVert_weights

        public CPointer<java.lang.Float> getVert_weights()
                                                  throws java.io.IOException
        Get method for struct member 'vert_weights'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vert_weights
      • setVert_weights

        public void setVert_weights​(CPointer<java.lang.Float> vert_weights)
                             throws java.io.IOException
        Set method for struct member 'vert_weights'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vert_weights
      • getNormal_dist

        public float getNormal_dist()
                             throws java.io.IOException
        Get method for struct member 'normal_dist'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__normal_dist
      • setNormal_dist

        public void setNormal_dist​(float normal_dist)
                            throws java.io.IOException
        Set method for struct member 'normal_dist'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__normal_dist
      • getInfluence

        public float getInfluence()
                           throws java.io.IOException
        Get method for struct member 'influence'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__influence
      • setInfluence

        public void setInfluence​(float influence)
                          throws java.io.IOException
        Set method for struct member 'influence'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__influence
      • __io__addressof

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