Class ImagePaintSettings
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.ImagePaintSettings
-
public class ImagePaintSettings extends CFacade
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.static long[]
__DNA__FIELD__canvas
Field descriptor (offset) for struct member 'canvas'.static long[]
__DNA__FIELD__clone
Field descriptor (offset) for struct member 'clone'.static long[]
__DNA__FIELD__dither
Field descriptor (offset) for struct member 'dither'.static long[]
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.static long[]
__DNA__FIELD__interp
Field descriptor (offset) for struct member 'interp'.static long[]
__DNA__FIELD__missing_data
Field descriptor (offset) for struct member 'missing_data'.static long[]
__DNA__FIELD__mode
Field descriptor (offset) for struct member 'mode'.static long[]
__DNA__FIELD__normal_angle
Field descriptor (offset) for struct member 'normal_angle'.static long[]
__DNA__FIELD__paint
Field descriptor (offset) for struct member 'paint'.static long[]
__DNA__FIELD__paintcursor
Field descriptor (offset) for struct member 'paintcursor'.static long[]
__DNA__FIELD__screen_grab_size
Field descriptor (offset) for struct member 'screen_grab_size'.static long[]
__DNA__FIELD__seam_bleed
Field descriptor (offset) for struct member 'seam_bleed'.static long[]
__DNA__FIELD__stencil
Field descriptor (offset) for struct member 'stencil'.static long[]
__DNA__FIELD__stencil_col
Field descriptor (offset) for struct member 'stencil_col'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct ImagePaintSettings.-
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 ImagePaintSettings(long __address, Block __block, BlockTable __blockTable)
protected
ImagePaintSettings(ImagePaintSettings that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<ImagePaintSettings>
__io__addressof()
Instantiates a pointer on this instance.CArrayFacade<java.lang.Byte>
get_pad()
Get method for struct member '_pad'.CPointer<Image>
getCanvas()
Get method for struct member 'canvas'.CPointer<Image>
getClone()
Get method for struct member 'clone'.float
getDither()
Get method for struct member 'dither'.short
getFlag()
Get method for struct member 'flag'.int
getInterp()
Get method for struct member 'interp'.short
getMissing_data()
Get method for struct member 'missing_data'.int
getMode()
Get method for struct member 'mode'.short
getNormal_angle()
Get method for struct member 'normal_angle'.Paint
getPaint()
Get method for struct member 'paint'.CPointer<java.lang.Object>
getPaintcursor()
Get method for struct member 'paintcursor'.CArrayFacade<java.lang.Short>
getScreen_grab_size()
Get method for struct member 'screen_grab_size'.short
getSeam_bleed()
Get method for struct member 'seam_bleed'.CPointer<Image>
getStencil()
Get method for struct member 'stencil'.CArrayFacade<java.lang.Float>
getStencil_col()
Get method for struct member 'stencil_col'.void
set_pad(CArrayFacade<java.lang.Byte> _pad)
Set method for struct member '_pad'.void
setCanvas(CPointer<Image> canvas)
Set method for struct member 'canvas'.void
setClone(CPointer<Image> clone)
Set method for struct member 'clone'.void
setDither(float dither)
Set method for struct member 'dither'.void
setFlag(short flag)
Set method for struct member 'flag'.void
setInterp(int interp)
Set method for struct member 'interp'.void
setMissing_data(short missing_data)
Set method for struct member 'missing_data'.void
setMode(int mode)
Set method for struct member 'mode'.void
setNormal_angle(short normal_angle)
Set method for struct member 'normal_angle'.void
setPaint(Paint paint)
Set method for struct member 'paint'.void
setPaintcursor(CPointer<java.lang.Object> paintcursor)
Set method for struct member 'paintcursor'.void
setScreen_grab_size(CArrayFacade<java.lang.Short> screen_grab_size)
Set method for struct member 'screen_grab_size'.void
setSeam_bleed(short seam_bleed)
Set method for struct member 'seam_bleed'.void
setStencil(CPointer<Image> stencil)
Set method for struct member 'stencil'.void
setStencil_col(CArrayFacade<java.lang.Float> stencil_col)
Set method for struct member 'stencil_col'.-
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 ImagePaintSettings.It is required when allocating a new block to store data for ImagePaintSettings.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__paint
public static final long[] __DNA__FIELD__paint
Field descriptor (offset) for struct member 'paint'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ImagePaintSettings imagepaintsettings = ...; CPointer<Object> p = imagepaintsettings.__dna__addressof(ImagePaintSettings.__DNA__FIELD__paint); CPointer<Paint> p_paint = p.cast(new Class[]{Paint.class});
Metadata
- Field: 'paint'
- Signature: 'Paint'
- Actual Size (32bit/64bit): 68/88
-
__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:
ImagePaintSettings imagepaintsettings = ...; CPointer<Object> p = imagepaintsettings.__dna__addressof(ImagePaintSettings.__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__missing_data
public static final long[] __DNA__FIELD__missing_data
Field descriptor (offset) for struct member 'missing_data'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ImagePaintSettings imagepaintsettings = ...; CPointer<Object> p = imagepaintsettings.__dna__addressof(ImagePaintSettings.__DNA__FIELD__missing_data); CPointer<Short> p_missing_data = p.cast(new Class[]{Short.class});
Metadata
- Field: 'missing_data'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__seam_bleed
public static final long[] __DNA__FIELD__seam_bleed
Field descriptor (offset) for struct member 'seam_bleed'.Field Documentation
Blender Source Code
for projection painting only
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ImagePaintSettings imagepaintsettings = ...; CPointer<Object> p = imagepaintsettings.__dna__addressof(ImagePaintSettings.__DNA__FIELD__seam_bleed); CPointer<Short> p_seam_bleed = p.cast(new Class[]{Short.class});
Metadata
- Field: 'seam_bleed'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__normal_angle
public static final long[] __DNA__FIELD__normal_angle
Field descriptor (offset) for struct member 'normal_angle'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ImagePaintSettings imagepaintsettings = ...; CPointer<Object> p = imagepaintsettings.__dna__addressof(ImagePaintSettings.__DNA__FIELD__normal_angle); CPointer<Short> p_normal_angle = p.cast(new Class[]{Short.class});
Metadata
- Field: 'normal_angle'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__screen_grab_size
public static final long[] __DNA__FIELD__screen_grab_size
Field descriptor (offset) for struct member 'screen_grab_size'.Field Documentation
Blender Source Code
Capture size for re-projection.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ImagePaintSettings imagepaintsettings = ...; CPointer<Object> p = imagepaintsettings.__dna__addressof(ImagePaintSettings.__DNA__FIELD__screen_grab_size); CPointer<CArrayFacade<Short>> p_screen_grab_size = p.cast(new Class[]{CArrayFacade.class, Short.class});
Metadata
- Field: 'screen_grab_size'
- Signature: 'short[2]'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__mode
public static final long[] __DNA__FIELD__mode
Field descriptor (offset) for struct member 'mode'.Field Documentation
Blender Source Code
Mode used for texture painting.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ImagePaintSettings imagepaintsettings = ...; CPointer<Object> p = imagepaintsettings.__dna__addressof(ImagePaintSettings.__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__paintcursor
public static final long[] __DNA__FIELD__paintcursor
Field descriptor (offset) for struct member 'paintcursor'.Field Documentation
Blender Source Code
Wm handle.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ImagePaintSettings imagepaintsettings = ...; CPointer<Object> p = imagepaintsettings.__dna__addressof(ImagePaintSettings.__DNA__FIELD__paintcursor); CPointer<CPointer<Object>> p_paintcursor = p.cast(new Class[]{CPointer.class, Object.class});
Metadata
- Field: 'paintcursor'
- Signature: 'void*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__stencil
public static final long[] __DNA__FIELD__stencil
Field descriptor (offset) for struct member 'stencil'.Field Documentation
Blender Source Code
Workaround until we support true layer masks.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ImagePaintSettings imagepaintsettings = ...; CPointer<Object> p = imagepaintsettings.__dna__addressof(ImagePaintSettings.__DNA__FIELD__stencil); CPointer<CPointer<Image>> p_stencil = p.cast(new Class[]{CPointer.class, Image.class});
Metadata
- Field: 'stencil'
- Signature: 'Image*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__clone
public static final long[] __DNA__FIELD__clone
Field descriptor (offset) for struct member 'clone'.Field Documentation
Blender Source Code
Clone layer for image mode for projective texture painting.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ImagePaintSettings imagepaintsettings = ...; CPointer<Object> p = imagepaintsettings.__dna__addressof(ImagePaintSettings.__DNA__FIELD__clone); CPointer<CPointer<Image>> p_clone = p.cast(new Class[]{CPointer.class, Image.class});
Metadata
- Field: 'clone'
- Signature: 'Image*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__canvas
public static final long[] __DNA__FIELD__canvas
Field descriptor (offset) for struct member 'canvas'.Field Documentation
Blender Source Code
Canvas when the explicit system is used for painting.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ImagePaintSettings imagepaintsettings = ...; CPointer<Object> p = imagepaintsettings.__dna__addressof(ImagePaintSettings.__DNA__FIELD__canvas); CPointer<CPointer<Image>> p_canvas = p.cast(new Class[]{CPointer.class, Image.class});
Metadata
- Field: 'canvas'
- Signature: 'Image*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__stencil_col
public static final long[] __DNA__FIELD__stencil_col
Field descriptor (offset) for struct member 'stencil_col'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ImagePaintSettings imagepaintsettings = ...; CPointer<Object> p = imagepaintsettings.__dna__addressof(ImagePaintSettings.__DNA__FIELD__stencil_col); CPointer<CArrayFacade<Float>> p_stencil_col = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'stencil_col'
- Signature: 'float[3]'
- Actual Size (32bit/64bit): 12/12
-
__DNA__FIELD__dither
public static final long[] __DNA__FIELD__dither
Field descriptor (offset) for struct member 'dither'.Field Documentation
Blender Source Code
Dither amount used when painting on byte images.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ImagePaintSettings imagepaintsettings = ...; CPointer<Object> p = imagepaintsettings.__dna__addressof(ImagePaintSettings.__DNA__FIELD__dither); CPointer<Float> p_dither = p.cast(new Class[]{Float.class});
Metadata
- Field: 'dither'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__interp
public static final long[] __DNA__FIELD__interp
Field descriptor (offset) for struct member 'interp'.Field Documentation
Blender Source Code
Display texture interpolation method.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ImagePaintSettings imagepaintsettings = ...; CPointer<Object> p = imagepaintsettings.__dna__addressof(ImagePaintSettings.__DNA__FIELD__interp); CPointer<Integer> p_interp = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'interp'
- 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:
ImagePaintSettings imagepaintsettings = ...; CPointer<Object> p = imagepaintsettings.__dna__addressof(ImagePaintSettings.__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
-
-
Constructor Detail
-
ImagePaintSettings
public ImagePaintSettings(long __address, Block __block, BlockTable __blockTable)
-
ImagePaintSettings
protected ImagePaintSettings(ImagePaintSettings that)
-
-
Method Detail
-
getPaint
public Paint getPaint() throws java.io.IOException
Get method for struct member 'paint'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__paint
-
setPaint
public void setPaint(Paint paint) throws java.io.IOException
Set method for struct member 'paint'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__paint
-
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
-
getMissing_data
public short getMissing_data() throws java.io.IOException
Get method for struct member 'missing_data'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__missing_data
-
setMissing_data
public void setMissing_data(short missing_data) throws java.io.IOException
Set method for struct member 'missing_data'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__missing_data
-
getSeam_bleed
public short getSeam_bleed() throws java.io.IOException
Get method for struct member 'seam_bleed'.Field Documentation
Blender Source Code
for projection painting only
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__seam_bleed
-
setSeam_bleed
public void setSeam_bleed(short seam_bleed) throws java.io.IOException
Set method for struct member 'seam_bleed'.Field Documentation
Blender Source Code
for projection painting only
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__seam_bleed
-
getNormal_angle
public short getNormal_angle() throws java.io.IOException
Get method for struct member 'normal_angle'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__normal_angle
-
setNormal_angle
public void setNormal_angle(short normal_angle) throws java.io.IOException
Set method for struct member 'normal_angle'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__normal_angle
-
getScreen_grab_size
public CArrayFacade<java.lang.Short> getScreen_grab_size() throws java.io.IOException
Get method for struct member 'screen_grab_size'.Field Documentation
Blender Source Code
Capture size for re-projection.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__screen_grab_size
-
setScreen_grab_size
public void setScreen_grab_size(CArrayFacade<java.lang.Short> screen_grab_size) throws java.io.IOException
Set method for struct member 'screen_grab_size'.Field Documentation
Blender Source Code
Capture size for re-projection.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__screen_grab_size
-
getMode
public int getMode() throws java.io.IOException
Get method for struct member 'mode'.Field Documentation
Blender Source Code
Mode used for texture painting.
- 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'.Field Documentation
Blender Source Code
Mode used for texture painting.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mode
-
getPaintcursor
public CPointer<java.lang.Object> getPaintcursor() throws java.io.IOException
Get method for struct member 'paintcursor'.Field Documentation
Blender Source Code
Wm handle.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__paintcursor
-
setPaintcursor
public void setPaintcursor(CPointer<java.lang.Object> paintcursor) throws java.io.IOException
Set method for struct member 'paintcursor'.Field Documentation
Blender Source Code
Wm handle.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__paintcursor
-
getStencil
public CPointer<Image> getStencil() throws java.io.IOException
Get method for struct member 'stencil'.Field Documentation
Blender Source Code
Workaround until we support true layer masks.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__stencil
-
setStencil
public void setStencil(CPointer<Image> stencil) throws java.io.IOException
Set method for struct member 'stencil'.Field Documentation
Blender Source Code
Workaround until we support true layer masks.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__stencil
-
getClone
public CPointer<Image> getClone() throws java.io.IOException
Get method for struct member 'clone'.Field Documentation
Blender Source Code
Clone layer for image mode for projective texture painting.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__clone
-
setClone
public void setClone(CPointer<Image> clone) throws java.io.IOException
Set method for struct member 'clone'.Field Documentation
Blender Source Code
Clone layer for image mode for projective texture painting.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__clone
-
getCanvas
public CPointer<Image> getCanvas() throws java.io.IOException
Get method for struct member 'canvas'.Field Documentation
Blender Source Code
Canvas when the explicit system is used for painting.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__canvas
-
setCanvas
public void setCanvas(CPointer<Image> canvas) throws java.io.IOException
Set method for struct member 'canvas'.Field Documentation
Blender Source Code
Canvas when the explicit system is used for painting.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__canvas
-
getStencil_col
public CArrayFacade<java.lang.Float> getStencil_col() throws java.io.IOException
Get method for struct member 'stencil_col'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__stencil_col
-
setStencil_col
public void setStencil_col(CArrayFacade<java.lang.Float> stencil_col) throws java.io.IOException
Set method for struct member 'stencil_col'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__stencil_col
-
getDither
public float getDither() throws java.io.IOException
Get method for struct member 'dither'.Field Documentation
Blender Source Code
Dither amount used when painting on byte images.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__dither
-
setDither
public void setDither(float dither) throws java.io.IOException
Set method for struct member 'dither'.Field Documentation
Blender Source Code
Dither amount used when painting on byte images.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__dither
-
getInterp
public int getInterp() throws java.io.IOException
Get method for struct member 'interp'.Field Documentation
Blender Source Code
Display texture interpolation method.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__interp
-
setInterp
public void setInterp(int interp) throws java.io.IOException
Set method for struct member 'interp'.Field Documentation
Blender Source Code
Display texture interpolation method.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__interp
-
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
-
__io__addressof
public CPointer<ImagePaintSettings> __io__addressof()
Instantiates a pointer on this instance.
-
-