Class Curves
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.Curves
-
public class Curves extends CFacade
Generated facet for DNA struct type 'Curves'.Class Documentation
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.static long[]
__DNA__FIELD__adt
Field descriptor (offset) for struct member 'adt'.static long[]
__DNA__FIELD__attributes_active_index
Field descriptor (offset) for struct member 'attributes_active_index'.static long[]
__DNA__FIELD__batch_cache
Field descriptor (offset) for struct member 'batch_cache'.static long[]
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.static long[]
__DNA__FIELD__geometry
Field descriptor (offset) for struct member 'geometry'.static long[]
__DNA__FIELD__id
Field descriptor (offset) for struct member 'id'.static long[]
__DNA__FIELD__mat
Field descriptor (offset) for struct member 'mat'.static long[]
__DNA__FIELD__selection_domain
Field descriptor (offset) for struct member 'selection_domain'.static long[]
__DNA__FIELD__surface
Field descriptor (offset) for struct member 'surface'.static long[]
__DNA__FIELD__surface_uv_map
Field descriptor (offset) for struct member 'surface_uv_map'.static long[]
__DNA__FIELD__symmetry
Field descriptor (offset) for struct member 'symmetry'.static long[]
__DNA__FIELD__totcol
Field descriptor (offset) for struct member 'totcol'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct Curves.-
Fields inherited from class org.cakelab.blender.nio.CFacade
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
-
-
Constructor Summary
Constructors Modifier Constructor Description Curves(long __address, Block __block, BlockTable __blockTable)
protected
Curves(Curves that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<Curves>
__io__addressof()
Instantiates a pointer on this instance.CArrayFacade<java.lang.Byte>
get_pad()
Get method for struct member '_pad'.CPointer<AnimData>
getAdt()
Get method for struct member 'adt'.int
getAttributes_active_index()
Get method for struct member 'attributes_active_index'.CPointer<java.lang.Object>
getBatch_cache()
Get method for struct member 'batch_cache'.int
getFlag()
Get method for struct member 'flag'.CurvesGeometry
getGeometry()
Get method for struct member 'geometry'.ID
getId()
Get method for struct member 'id'.CPointer<CPointer<Material>>
getMat()
Get method for struct member 'mat'.byte
getSelection_domain()
Get method for struct member 'selection_domain'.CPointer<BlenderObject>
getSurface()
Get method for struct member 'surface'.CPointer<java.lang.Byte>
getSurface_uv_map()
Get method for struct member 'surface_uv_map'.byte
getSymmetry()
Get method for struct member 'symmetry'.short
getTotcol()
Get method for struct member 'totcol'.void
set_pad(CArrayFacade<java.lang.Byte> _pad)
Set method for struct member '_pad'.void
setAdt(CPointer<AnimData> adt)
Set method for struct member 'adt'.void
setAttributes_active_index(int attributes_active_index)
Set method for struct member 'attributes_active_index'.void
setBatch_cache(CPointer<java.lang.Object> batch_cache)
Set method for struct member 'batch_cache'.void
setFlag(int flag)
Set method for struct member 'flag'.void
setGeometry(CurvesGeometry geometry)
Set method for struct member 'geometry'.void
setId(ID id)
Set method for struct member 'id'.void
setMat(CPointer<CPointer<Material>> mat)
Set method for struct member 'mat'.void
setSelection_domain(byte selection_domain)
Set method for struct member 'selection_domain'.void
setSurface(CPointer<BlenderObject> surface)
Set method for struct member 'surface'.void
setSurface_uv_map(CPointer<java.lang.Byte> surface_uv_map)
Set method for struct member 'surface_uv_map'.void
setSymmetry(byte symmetry)
Set method for struct member 'symmetry'.void
setTotcol(short totcol)
Set method for struct member 'totcol'.-
Methods inherited from class org.cakelab.blender.nio.CFacade
__io__addressof, __io__addressof, __io__equals, __io__generic__copy, __io__generic__copy, __io__instanceof, __io__native__copy, __io__newInstance, __io__same__encoding, __io__sizeof, __io__sizeof, __io__subclassof, equals, hashCode
-
-
-
-
Field Detail
-
__DNA__SDNA_INDEX
public static final int __DNA__SDNA_INDEX
This is the sdna index of the struct Curves.It is required when allocating a new block to store data for Curves.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__id
public static final long[] __DNA__FIELD__id
Field descriptor (offset) for struct member 'id'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Curves curves = ...; CPointer<Object> p = curves.__dna__addressof(Curves.__DNA__FIELD__id); CPointer<ID> p_id = p.cast(new Class[]{ID.class});
Metadata
- Field: 'id'
- Signature: 'ID'
- Actual Size (32bit/64bit): 152/192
-
__DNA__FIELD__adt
public static final long[] __DNA__FIELD__adt
Field descriptor (offset) for struct member 'adt'.Field Documentation
Blender Source Code
Animation data (must be immediately after id).
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Curves curves = ...; CPointer<Object> p = curves.__dna__addressof(Curves.__DNA__FIELD__adt); CPointer<CPointer<AnimData>> p_adt = p.cast(new Class[]{CPointer.class, AnimData.class});
Metadata
- Field: 'adt'
- Signature: 'AnimData*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__geometry
public static final long[] __DNA__FIELD__geometry
Field descriptor (offset) for struct member 'geometry'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Curves curves = ...; CPointer<Object> p = curves.__dna__addressof(Curves.__DNA__FIELD__geometry); CPointer<CurvesGeometry> p_geometry = p.cast(new Class[]{CurvesGeometry.class});
Metadata
- Field: 'geometry'
- Signature: 'CurvesGeometry'
- Actual Size (32bit/64bit): 488/520
-
__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:
Curves curves = ...; CPointer<Object> p = curves.__dna__addressof(Curves.__DNA__FIELD__flag); CPointer<Integer> p_flag = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'flag'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__attributes_active_index
public static final long[] __DNA__FIELD__attributes_active_index
Field descriptor (offset) for struct member 'attributes_active_index'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Curves curves = ...; CPointer<Object> p = curves.__dna__addressof(Curves.__DNA__FIELD__attributes_active_index); CPointer<Integer> p_attributes_active_index = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'attributes_active_index'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__mat
public static final long[] __DNA__FIELD__mat
Field descriptor (offset) for struct member 'mat'.Field Documentation
Blender Source Code
Materials.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Curves curves = ...; CPointer<Object> p = curves.__dna__addressof(Curves.__DNA__FIELD__mat); CPointer<CPointer<CPointer<Material>>> p_mat = p.cast(new Class[]{CPointer.class, CPointer.class, Material.class});
Metadata
- Field: 'mat'
- Signature: 'Material**'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__totcol
public static final long[] __DNA__FIELD__totcol
Field descriptor (offset) for struct member 'totcol'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Curves curves = ...; CPointer<Object> p = curves.__dna__addressof(Curves.__DNA__FIELD__totcol); CPointer<Short> p_totcol = p.cast(new Class[]{Short.class});
Metadata
- Field: 'totcol'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__symmetry
public static final long[] __DNA__FIELD__symmetry
Field descriptor (offset) for struct member 'symmetry'.Field Documentation
Blender Source Code
User-defined symmetry flag (eCurvesSymmetryType ) that causes editing operations to maintain symmetrical geometry.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Curves curves = ...; CPointer<Object> p = curves.__dna__addressof(Curves.__DNA__FIELD__symmetry); CPointer<Byte> p_symmetry = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'symmetry'
- Signature: 'char'
- Actual Size (32bit/64bit): 1/1
-
__DNA__FIELD__selection_domain
public static final long[] __DNA__FIELD__selection_domain
Field descriptor (offset) for struct member 'selection_domain'.Field Documentation
Blender Source Code
#eAttrDomain. The active selection mode domain. At most one selection mode can be active at a time.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Curves curves = ...; CPointer<Object> p = curves.__dna__addressof(Curves.__DNA__FIELD__selection_domain); CPointer<Byte> p_selection_domain = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'selection_domain'
- Signature: 'char'
- Actual Size (32bit/64bit): 1/1
-
__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:
Curves curves = ...; CPointer<Object> p = curves.__dna__addressof(Curves.__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__surface
public static final long[] __DNA__FIELD__surface
Field descriptor (offset) for struct member 'surface'.Field Documentation
Blender Python API
Mesh object that the curves can be attached toBlender Source Code
Used as base mesh when curves represent e.g. hair or fur. This surface is used in edit modes. When set, the curves will have attributes that indicate a position on this surface. This is used for deforming the curves when the surface is deformed dynamically.
This is expected to be a mesh object.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Curves curves = ...; CPointer<Object> p = curves.__dna__addressof(Curves.__DNA__FIELD__surface); CPointer<CPointer<BlenderObject>> p_surface = p.cast(new Class[]{CPointer.class, BlenderObject.class});
Metadata
- Field: 'surface'
- Signature: 'Object*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__surface_uv_map
public static final long[] __DNA__FIELD__surface_uv_map
Field descriptor (offset) for struct member 'surface_uv_map'.Field Documentation
Blender Python API
The name of the attribute on the surface mesh used to define the attachment of each curveBlender Source Code
The name of the attribute on the surface
Mesh
used to give meaning to the UV attachment coordinates stored on each curve. Expected to be a 2D vector attribute on the face corner domain.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Curves curves = ...; CPointer<Object> p = curves.__dna__addressof(Curves.__DNA__FIELD__surface_uv_map); CPointer<CPointer<Byte>> p_surface_uv_map = p.cast(new Class[]{CPointer.class, Byte.class});
Metadata
- Field: 'surface_uv_map'
- Signature: 'char*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__batch_cache
public static final long[] __DNA__FIELD__batch_cache
Field descriptor (offset) for struct member 'batch_cache'.Field Documentation
Blender Source Code
Draw Cache.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Curves curves = ...; CPointer<Object> p = curves.__dna__addressof(Curves.__DNA__FIELD__batch_cache); CPointer<CPointer<Object>> p_batch_cache = p.cast(new Class[]{CPointer.class, Object.class});
Metadata
- Field: 'batch_cache'
- Signature: 'void*'
- Actual Size (32bit/64bit): 4/8
-
-
Constructor Detail
-
Curves
public Curves(long __address, Block __block, BlockTable __blockTable)
-
Curves
protected Curves(Curves that)
-
-
Method Detail
-
getId
public ID getId() throws java.io.IOException
Get method for struct member 'id'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__id
-
setId
public void setId(ID id) throws java.io.IOException
Set method for struct member 'id'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__id
-
getAdt
public CPointer<AnimData> getAdt() throws java.io.IOException
Get method for struct member 'adt'.Field Documentation
Blender Source Code
Animation data (must be immediately after id).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__adt
-
setAdt
public void setAdt(CPointer<AnimData> adt) throws java.io.IOException
Set method for struct member 'adt'.Field Documentation
Blender Source Code
Animation data (must be immediately after id).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__adt
-
getGeometry
public CurvesGeometry getGeometry() throws java.io.IOException
Get method for struct member 'geometry'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__geometry
-
setGeometry
public void setGeometry(CurvesGeometry geometry) throws java.io.IOException
Set method for struct member 'geometry'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__geometry
-
getFlag
public int getFlag() throws java.io.IOException
Get method for struct member 'flag'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
setFlag
public void setFlag(int flag) throws java.io.IOException
Set method for struct member 'flag'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
getAttributes_active_index
public int getAttributes_active_index() throws java.io.IOException
Get method for struct member 'attributes_active_index'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__attributes_active_index
-
setAttributes_active_index
public void setAttributes_active_index(int attributes_active_index) throws java.io.IOException
Set method for struct member 'attributes_active_index'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__attributes_active_index
-
getMat
public CPointer<CPointer<Material>> getMat() throws java.io.IOException
Get method for struct member 'mat'.Field Documentation
Blender Source Code
Materials.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mat
-
setMat
public void setMat(CPointer<CPointer<Material>> mat) throws java.io.IOException
Set method for struct member 'mat'.Field Documentation
Blender Source Code
Materials.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mat
-
getTotcol
public short getTotcol() throws java.io.IOException
Get method for struct member 'totcol'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__totcol
-
setTotcol
public void setTotcol(short totcol) throws java.io.IOException
Set method for struct member 'totcol'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__totcol
-
getSymmetry
public byte getSymmetry() throws java.io.IOException
Get method for struct member 'symmetry'.Field Documentation
Blender Source Code
User-defined symmetry flag (eCurvesSymmetryType ) that causes editing operations to maintain symmetrical geometry.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__symmetry
-
setSymmetry
public void setSymmetry(byte symmetry) throws java.io.IOException
Set method for struct member 'symmetry'.Field Documentation
Blender Source Code
User-defined symmetry flag (eCurvesSymmetryType ) that causes editing operations to maintain symmetrical geometry.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__symmetry
-
getSelection_domain
public byte getSelection_domain() throws java.io.IOException
Get method for struct member 'selection_domain'.Field Documentation
Blender Source Code
#eAttrDomain. The active selection mode domain. At most one selection mode can be active at a time.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__selection_domain
-
setSelection_domain
public void setSelection_domain(byte selection_domain) throws java.io.IOException
Set method for struct member 'selection_domain'.Field Documentation
Blender Source Code
#eAttrDomain. The active selection mode domain. At most one selection mode can be active at a time.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__selection_domain
-
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
-
getSurface
public CPointer<BlenderObject> getSurface() throws java.io.IOException
Get method for struct member 'surface'.Field Documentation
Blender Python API
Mesh object that the curves can be attached toBlender Source Code
Used as base mesh when curves represent e.g. hair or fur. This surface is used in edit modes. When set, the curves will have attributes that indicate a position on this surface. This is used for deforming the curves when the surface is deformed dynamically.
This is expected to be a mesh object.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__surface
-
setSurface
public void setSurface(CPointer<BlenderObject> surface) throws java.io.IOException
Set method for struct member 'surface'.Field Documentation
Blender Python API
Mesh object that the curves can be attached toBlender Source Code
Used as base mesh when curves represent e.g. hair or fur. This surface is used in edit modes. When set, the curves will have attributes that indicate a position on this surface. This is used for deforming the curves when the surface is deformed dynamically.
This is expected to be a mesh object.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__surface
-
getSurface_uv_map
public CPointer<java.lang.Byte> getSurface_uv_map() throws java.io.IOException
Get method for struct member 'surface_uv_map'.Field Documentation
Blender Python API
The name of the attribute on the surface mesh used to define the attachment of each curveBlender Source Code
The name of the attribute on the surface
Mesh
used to give meaning to the UV attachment coordinates stored on each curve. Expected to be a 2D vector attribute on the face corner domain.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__surface_uv_map
-
setSurface_uv_map
public void setSurface_uv_map(CPointer<java.lang.Byte> surface_uv_map) throws java.io.IOException
Set method for struct member 'surface_uv_map'.Field Documentation
Blender Python API
The name of the attribute on the surface mesh used to define the attachment of each curveBlender Source Code
The name of the attribute on the surface
Mesh
used to give meaning to the UV attachment coordinates stored on each curve. Expected to be a 2D vector attribute on the face corner domain.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__surface_uv_map
-
getBatch_cache
public CPointer<java.lang.Object> getBatch_cache() throws java.io.IOException
Get method for struct member 'batch_cache'.Field Documentation
Blender Source Code
Draw Cache.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__batch_cache
-
setBatch_cache
public void setBatch_cache(CPointer<java.lang.Object> batch_cache) throws java.io.IOException
Set method for struct member 'batch_cache'.Field Documentation
Blender Source Code
Draw Cache.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__batch_cache
-
-