Class Nurb


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

    Class Documentation

    Blender Source Code

    Note

    Nurb name is misleading, since it can be used for polygons too, also, it should be NURBS (Nurb isn't the singular of Nurbs).

    name is misleading, since it can be used for polygons too, also, it should be NURBS (Nurb isn't the singular of Nurbs).

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Field Documentation

        Blender Source Code

        Multiple nurbs per curve object are allowed.

        Pointer Arithmetics

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

         Nurb nurb = ...;
         CPointer<Object> p = nurb.__dna__addressof(Nurb.__DNA__FIELD__next);
         CPointer<CPointer<Nurb>> p_next = p.cast(new Class[]{CPointer.class, Nurb.class});
         

        Metadata

        • Field: 'next'
        • Signature: 'Nurb*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__prev

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

        Pointer Arithmetics

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

         Nurb nurb = ...;
         CPointer<Object> p = nurb.__dna__addressof(Nurb.__DNA__FIELD__prev);
         CPointer<CPointer<Nurb>> p_prev = p.cast(new Class[]{CPointer.class, Nurb.class});
         

        Metadata

        • Field: 'prev'
        • Signature: 'Nurb*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__type

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

        Pointer Arithmetics

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

         Nurb nurb = ...;
         CPointer<Object> p = nurb.__dna__addressof(Nurb.__DNA__FIELD__type);
         CPointer<Short> p_type = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'type'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__mat_nr

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

        Field Documentation

        Blender Source Code

        Index into material list.

        Pointer Arithmetics

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

         Nurb nurb = ...;
         CPointer<Object> p = nurb.__dna__addressof(Nurb.__DNA__FIELD__mat_nr);
         CPointer<Short> p_mat_nr = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'mat_nr'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__hide

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

        Pointer Arithmetics

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

         Nurb nurb = ...;
         CPointer<Object> p = nurb.__dna__addressof(Nurb.__DNA__FIELD__hide);
         CPointer<Short> p_hide = p.cast(new Class[]{Short.class});
         

        Metadata

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

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

        Pointer Arithmetics

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

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

        Metadata

        • Field: 'flag'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__pntsu

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

        Field Documentation

        Blender Source Code

        Number of points in the U or V directions.

        Pointer Arithmetics

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

         Nurb nurb = ...;
         CPointer<Object> p = nurb.__dna__addressof(Nurb.__DNA__FIELD__pntsu);
         CPointer<Integer> p_pntsu = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'pntsu'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__pntsv

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

        Pointer Arithmetics

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

         Nurb nurb = ...;
         CPointer<Object> p = nurb.__dna__addressof(Nurb.__DNA__FIELD__pntsv);
         CPointer<Integer> p_pntsv = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'pntsv'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD___pad

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

        Pointer Arithmetics

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

         Nurb nurb = ...;
         CPointer<Object> p = nurb.__dna__addressof(Nurb.__DNA__FIELD___pad);
         CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad'
        • Signature: 'char[4]'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__resolu

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

        Field Documentation

        Blender Source Code

        Tessellation resolution in the U or V directions.

        Pointer Arithmetics

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

         Nurb nurb = ...;
         CPointer<Object> p = nurb.__dna__addressof(Nurb.__DNA__FIELD__resolu);
         CPointer<Short> p_resolu = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'resolu'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__resolv

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

        Pointer Arithmetics

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

         Nurb nurb = ...;
         CPointer<Object> p = nurb.__dna__addressof(Nurb.__DNA__FIELD__resolv);
         CPointer<Short> p_resolv = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'resolv'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__orderu

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

        Pointer Arithmetics

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

         Nurb nurb = ...;
         CPointer<Object> p = nurb.__dna__addressof(Nurb.__DNA__FIELD__orderu);
         CPointer<Short> p_orderu = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'orderu'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__orderv

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

        Pointer Arithmetics

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

         Nurb nurb = ...;
         CPointer<Object> p = nurb.__dna__addressof(Nurb.__DNA__FIELD__orderv);
         CPointer<Short> p_orderv = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'orderv'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__flagu

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

        Pointer Arithmetics

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

         Nurb nurb = ...;
         CPointer<Object> p = nurb.__dna__addressof(Nurb.__DNA__FIELD__flagu);
         CPointer<Short> p_flagu = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'flagu'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__flagv

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

        Pointer Arithmetics

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

         Nurb nurb = ...;
         CPointer<Object> p = nurb.__dna__addressof(Nurb.__DNA__FIELD__flagv);
         CPointer<Short> p_flagv = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'flagv'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__knotsu

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

        Pointer Arithmetics

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

         Nurb nurb = ...;
         CPointer<Object> p = nurb.__dna__addressof(Nurb.__DNA__FIELD__knotsu);
         CPointer<CPointer<Float>> p_knotsu = p.cast(new Class[]{CPointer.class, Float.class});
         

        Metadata

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

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

        Pointer Arithmetics

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

         Nurb nurb = ...;
         CPointer<Object> p = nurb.__dna__addressof(Nurb.__DNA__FIELD__knotsv);
         CPointer<CPointer<Float>> p_knotsv = p.cast(new Class[]{CPointer.class, Float.class});
         

        Metadata

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

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

        Pointer Arithmetics

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

         Nurb nurb = ...;
         CPointer<Object> p = nurb.__dna__addressof(Nurb.__DNA__FIELD__bp);
         CPointer<CPointer<BPoint>> p_bp = p.cast(new Class[]{CPointer.class, BPoint.class});
         

        Metadata

        • Field: 'bp'
        • Signature: 'BPoint*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__bezt

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

        Pointer Arithmetics

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

         Nurb nurb = ...;
         CPointer<Object> p = nurb.__dna__addressof(Nurb.__DNA__FIELD__bezt);
         CPointer<CPointer<BezTriple>> p_bezt = p.cast(new Class[]{CPointer.class, BezTriple.class});
         

        Metadata

        • Field: 'bezt'
        • Signature: 'BezTriple*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__tilt_interp

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

        Field Documentation

        Blender Source Code

        KEY_LINEAR, KEY_CARDINAL, KEY_BSPLINE.

        Pointer Arithmetics

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

         Nurb nurb = ...;
         CPointer<Object> p = nurb.__dna__addressof(Nurb.__DNA__FIELD__tilt_interp);
         CPointer<Short> p_tilt_interp = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'tilt_interp'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__radius_interp

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

        Pointer Arithmetics

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

         Nurb nurb = ...;
         CPointer<Object> p = nurb.__dna__addressof(Nurb.__DNA__FIELD__radius_interp);
         CPointer<Short> p_radius_interp = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'radius_interp'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__charidx

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

        Field Documentation

        Blender Source Code

        only used for dynamically generated Nurbs created from OB_FONT's

        Pointer Arithmetics

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

         Nurb nurb = ...;
         CPointer<Object> p = nurb.__dna__addressof(Nurb.__DNA__FIELD__charidx);
         CPointer<Integer> p_charidx = p.cast(new Class[]{Integer.class});
         

        Metadata

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

      • Nurb

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

        protected Nurb​(Nurb that)
    • Method Detail

      • getNext

        public CPointer<Nurb> getNext()
                               throws java.io.IOException
        Get method for struct member 'next'.

        Field Documentation

        Blender Source Code

        Multiple nurbs per curve object are allowed.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__next
      • setNext

        public void setNext​(CPointer<Nurb> next)
                     throws java.io.IOException
        Set method for struct member 'next'.

        Field Documentation

        Blender Source Code

        Multiple nurbs per curve object are allowed.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__next
      • getPrev

        public CPointer<Nurb> getPrev()
                               throws java.io.IOException
        Get method for struct member 'prev'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__prev
      • setPrev

        public void setPrev​(CPointer<Nurb> prev)
                     throws java.io.IOException
        Set method for struct member 'prev'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__prev
      • getType

        public short getType()
                      throws java.io.IOException
        Get method for struct member 'type'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__type
      • setType

        public void setType​(short type)
                     throws java.io.IOException
        Set method for struct member 'type'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__type
      • getMat_nr

        public short getMat_nr()
                        throws java.io.IOException
        Get method for struct member 'mat_nr'.

        Field Documentation

        Blender Source Code

        Index into material list.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mat_nr
      • setMat_nr

        public void setMat_nr​(short mat_nr)
                       throws java.io.IOException
        Set method for struct member 'mat_nr'.

        Field Documentation

        Blender Source Code

        Index into material list.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mat_nr
      • getHide

        public short getHide()
                      throws java.io.IOException
        Get method for struct member 'hide'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__hide
      • setHide

        public void setHide​(short hide)
                     throws java.io.IOException
        Set method for struct member 'hide'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__hide
      • getFlag

        public short getFlag()
                      throws java.io.IOException
        Get method for struct member 'flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • setFlag

        public void setFlag​(short flag)
                     throws java.io.IOException
        Set method for struct member 'flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • getPntsu

        public int getPntsu()
                     throws java.io.IOException
        Get method for struct member 'pntsu'.

        Field Documentation

        Blender Source Code

        Number of points in the U or V directions.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pntsu
      • setPntsu

        public void setPntsu​(int pntsu)
                      throws java.io.IOException
        Set method for struct member 'pntsu'.

        Field Documentation

        Blender Source Code

        Number of points in the U or V directions.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pntsu
      • getPntsv

        public int getPntsv()
                     throws java.io.IOException
        Get method for struct member 'pntsv'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pntsv
      • setPntsv

        public void setPntsv​(int pntsv)
                      throws java.io.IOException
        Set method for struct member 'pntsv'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pntsv
      • get_pad

        public CArrayFacade<java.lang.Byte> get_pad()
                                             throws java.io.IOException
        Get method for struct member '_pad'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad
      • set_pad

        public void set_pad​(CArrayFacade<java.lang.Byte> _pad)
                     throws java.io.IOException
        Set method for struct member '_pad'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad
      • getResolu

        public short getResolu()
                        throws java.io.IOException
        Get method for struct member 'resolu'.

        Field Documentation

        Blender Source Code

        Tessellation resolution in the U or V directions.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__resolu
      • setResolu

        public void setResolu​(short resolu)
                       throws java.io.IOException
        Set method for struct member 'resolu'.

        Field Documentation

        Blender Source Code

        Tessellation resolution in the U or V directions.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__resolu
      • getResolv

        public short getResolv()
                        throws java.io.IOException
        Get method for struct member 'resolv'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__resolv
      • setResolv

        public void setResolv​(short resolv)
                       throws java.io.IOException
        Set method for struct member 'resolv'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__resolv
      • getOrderu

        public short getOrderu()
                        throws java.io.IOException
        Get method for struct member 'orderu'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__orderu
      • setOrderu

        public void setOrderu​(short orderu)
                       throws java.io.IOException
        Set method for struct member 'orderu'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__orderu
      • getOrderv

        public short getOrderv()
                        throws java.io.IOException
        Get method for struct member 'orderv'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__orderv
      • setOrderv

        public void setOrderv​(short orderv)
                       throws java.io.IOException
        Set method for struct member 'orderv'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__orderv
      • getFlagu

        public short getFlagu()
                       throws java.io.IOException
        Get method for struct member 'flagu'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flagu
      • setFlagu

        public void setFlagu​(short flagu)
                      throws java.io.IOException
        Set method for struct member 'flagu'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flagu
      • getFlagv

        public short getFlagv()
                       throws java.io.IOException
        Get method for struct member 'flagv'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flagv
      • setFlagv

        public void setFlagv​(short flagv)
                      throws java.io.IOException
        Set method for struct member 'flagv'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flagv
      • getKnotsu

        public CPointer<java.lang.Float> getKnotsu()
                                            throws java.io.IOException
        Get method for struct member 'knotsu'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__knotsu
      • setKnotsu

        public void setKnotsu​(CPointer<java.lang.Float> knotsu)
                       throws java.io.IOException
        Set method for struct member 'knotsu'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__knotsu
      • getKnotsv

        public CPointer<java.lang.Float> getKnotsv()
                                            throws java.io.IOException
        Get method for struct member 'knotsv'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__knotsv
      • setKnotsv

        public void setKnotsv​(CPointer<java.lang.Float> knotsv)
                       throws java.io.IOException
        Set method for struct member 'knotsv'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__knotsv
      • getBp

        public CPointer<BPoint> getBp()
                               throws java.io.IOException
        Get method for struct member 'bp'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__bp
      • setBp

        public void setBp​(CPointer<BPoint> bp)
                   throws java.io.IOException
        Set method for struct member 'bp'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__bp
      • setBezt

        public void setBezt​(CPointer<BezTriple> bezt)
                     throws java.io.IOException
        Set method for struct member 'bezt'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__bezt
      • getTilt_interp

        public short getTilt_interp()
                             throws java.io.IOException
        Get method for struct member 'tilt_interp'.

        Field Documentation

        Blender Source Code

        KEY_LINEAR, KEY_CARDINAL, KEY_BSPLINE.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tilt_interp
      • setTilt_interp

        public void setTilt_interp​(short tilt_interp)
                            throws java.io.IOException
        Set method for struct member 'tilt_interp'.

        Field Documentation

        Blender Source Code

        KEY_LINEAR, KEY_CARDINAL, KEY_BSPLINE.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tilt_interp
      • getRadius_interp

        public short getRadius_interp()
                               throws java.io.IOException
        Get method for struct member 'radius_interp'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__radius_interp
      • setRadius_interp

        public void setRadius_interp​(short radius_interp)
                              throws java.io.IOException
        Set method for struct member 'radius_interp'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__radius_interp
      • getCharidx

        public int getCharidx()
                       throws java.io.IOException
        Get method for struct member 'charidx'.

        Field Documentation

        Blender Source Code

        only used for dynamically generated Nurbs created from OB_FONT's

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__charidx
      • setCharidx

        public void setCharidx​(int charidx)
                        throws java.io.IOException
        Set method for struct member 'charidx'.

        Field Documentation

        Blender Source Code

        only used for dynamically generated Nurbs created from OB_FONT's

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__charidx
      • __io__addressof

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