Class NodeChroma


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         NodeChroma nodechroma = ...;
         CPointer<Object> p = nodechroma.__dna__addressof(NodeChroma.__DNA__FIELD__t1);
         CPointer<Float> p_t1 = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 't1'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__t2

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

        Pointer Arithmetics

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

         NodeChroma nodechroma = ...;
         CPointer<Object> p = nodechroma.__dna__addressof(NodeChroma.__DNA__FIELD__t2);
         CPointer<Float> p_t2 = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 't2'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__t3

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

        Pointer Arithmetics

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

         NodeChroma nodechroma = ...;
         CPointer<Object> p = nodechroma.__dna__addressof(NodeChroma.__DNA__FIELD__t3);
         CPointer<Float> p_t3 = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 't3'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__fsize

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

        Pointer Arithmetics

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

         NodeChroma nodechroma = ...;
         CPointer<Object> p = nodechroma.__dna__addressof(NodeChroma.__DNA__FIELD__fsize);
         CPointer<Float> p_fsize = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'fsize'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__fstrength

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

        Pointer Arithmetics

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

         NodeChroma nodechroma = ...;
         CPointer<Object> p = nodechroma.__dna__addressof(NodeChroma.__DNA__FIELD__fstrength);
         CPointer<Float> p_fstrength = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'fstrength'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__falpha

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

        Pointer Arithmetics

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

         NodeChroma nodechroma = ...;
         CPointer<Object> p = nodechroma.__dna__addressof(NodeChroma.__DNA__FIELD__falpha);
         CPointer<Float> p_falpha = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'falpha'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__key

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

        Pointer Arithmetics

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

         NodeChroma nodechroma = ...;
         CPointer<Object> p = nodechroma.__dna__addressof(NodeChroma.__DNA__FIELD__key);
         CPointer<CArrayFacade<Float>> p_key = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'key'
        • Signature: 'float[4]'
        • Actual Size (32bit/64bit): 16/16
      • __DNA__FIELD__algorithm

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

        Pointer Arithmetics

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

         NodeChroma nodechroma = ...;
         CPointer<Object> p = nodechroma.__dna__addressof(NodeChroma.__DNA__FIELD__algorithm);
         CPointer<Short> p_algorithm = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'algorithm'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__channel

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

        Pointer Arithmetics

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

         NodeChroma nodechroma = ...;
         CPointer<Object> p = nodechroma.__dna__addressof(NodeChroma.__DNA__FIELD__channel);
         CPointer<Short> p_channel = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'channel'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
    • Constructor Detail

      • NodeChroma

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

        protected NodeChroma​(NodeChroma that)
    • Method Detail

      • getT1

        public float getT1()
                    throws java.io.IOException
        Get method for struct member 't1'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__t1
      • setT1

        public void setT1​(float t1)
                   throws java.io.IOException
        Set method for struct member 't1'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__t1
      • getT2

        public float getT2()
                    throws java.io.IOException
        Get method for struct member 't2'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__t2
      • setT2

        public void setT2​(float t2)
                   throws java.io.IOException
        Set method for struct member 't2'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__t2
      • getT3

        public float getT3()
                    throws java.io.IOException
        Get method for struct member 't3'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__t3
      • setT3

        public void setT3​(float t3)
                   throws java.io.IOException
        Set method for struct member 't3'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__t3
      • getFsize

        public float getFsize()
                       throws java.io.IOException
        Get method for struct member 'fsize'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fsize
      • setFsize

        public void setFsize​(float fsize)
                      throws java.io.IOException
        Set method for struct member 'fsize'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fsize
      • getFstrength

        public float getFstrength()
                           throws java.io.IOException
        Get method for struct member 'fstrength'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fstrength
      • setFstrength

        public void setFstrength​(float fstrength)
                          throws java.io.IOException
        Set method for struct member 'fstrength'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fstrength
      • getFalpha

        public float getFalpha()
                        throws java.io.IOException
        Get method for struct member 'falpha'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__falpha
      • setFalpha

        public void setFalpha​(float falpha)
                       throws java.io.IOException
        Set method for struct member 'falpha'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__falpha
      • getKey

        public CArrayFacade<java.lang.Float> getKey()
                                             throws java.io.IOException
        Get method for struct member 'key'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__key
      • setKey

        public void setKey​(CArrayFacade<java.lang.Float> key)
                    throws java.io.IOException
        Set method for struct member 'key'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__key
      • getAlgorithm

        public short getAlgorithm()
                           throws java.io.IOException
        Get method for struct member 'algorithm'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__algorithm
      • setAlgorithm

        public void setAlgorithm​(short algorithm)
                          throws java.io.IOException
        Set method for struct member 'algorithm'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__algorithm
      • getChannel

        public short getChannel()
                         throws java.io.IOException
        Get method for struct member 'channel'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__channel
      • setChannel

        public void setChannel​(short channel)
                        throws java.io.IOException
        Set method for struct member 'channel'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__channel
      • __io__addressof

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