public class Paint extends CFacade
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD___pad1
Field descriptor (offset) for struct member '_pad1'.
|
static long[] |
__DNA__FIELD___pad2
Field descriptor (offset) for struct member '_pad2'.
|
static long[] |
__DNA__FIELD__brush
Field descriptor (offset) for struct member 'brush'.
|
static long[] |
__DNA__FIELD__cavity_curve
Field descriptor (offset) for struct member 'cavity_curve'.
|
static long[] |
__DNA__FIELD__flags
Field descriptor (offset) for struct member 'flags'.
|
static long[] |
__DNA__FIELD__num_input_samples
Field descriptor (offset) for struct member 'num_input_samples'.
|
static long[] |
__DNA__FIELD__paint_cursor
Field descriptor (offset) for struct member 'paint_cursor'.
|
static long[] |
__DNA__FIELD__paint_cursor_col
Field descriptor (offset) for struct member 'paint_cursor_col'.
|
static long[] |
__DNA__FIELD__palette
Field descriptor (offset) for struct member 'palette'.
|
static long[] |
__DNA__FIELD__runtime
Field descriptor (offset) for struct member 'runtime'.
|
static long[] |
__DNA__FIELD__symmetry_flags
Field descriptor (offset) for struct member 'symmetry_flags'.
|
static long[] |
__DNA__FIELD__tile_offset
Field descriptor (offset) for struct member 'tile_offset'.
|
static long[] |
__DNA__FIELD__tool_slots
Field descriptor (offset) for struct member 'tool_slots'.
|
static long[] |
__DNA__FIELD__tool_slots_len
Field descriptor (offset) for struct member 'tool_slots_len'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct Paint.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
|
Paint(long __address,
Block __block,
BlockTable __blockTable) |
protected |
Paint(Paint that) |
Modifier and Type | Method and Description |
---|---|
CPointer<Paint> |
__io__addressof()
Instantiates a pointer on this instance.
|
CArrayFacade<java.lang.Byte> |
get_pad1()
Get method for struct member '_pad1'.
|
CArrayFacade<java.lang.Byte> |
get_pad2()
Get method for struct member '_pad2'.
|
CPointer<Brush> |
getBrush()
Get method for struct member 'brush'.
|
CPointer<CurveMapping> |
getCavity_curve()
Get method for struct member 'cavity_curve'.
|
int |
getFlags()
Get method for struct member 'flags'.
|
int |
getNum_input_samples()
Get method for struct member 'num_input_samples'.
|
CArrayFacade<java.lang.Byte> |
getPaint_cursor_col()
Get method for struct member 'paint_cursor_col'.
|
CPointer<java.lang.Object> |
getPaint_cursor()
Get method for struct member 'paint_cursor'.
|
CPointer<Palette> |
getPalette()
Get method for struct member 'palette'.
|
Paint_Runtime |
getRuntime()
Get method for struct member 'runtime'.
|
int |
getSymmetry_flags()
Get method for struct member 'symmetry_flags'.
|
CArrayFacade<java.lang.Float> |
getTile_offset()
Get method for struct member 'tile_offset'.
|
int |
getTool_slots_len()
Get method for struct member 'tool_slots_len'.
|
CPointer<PaintToolSlot> |
getTool_slots()
Get method for struct member 'tool_slots'.
|
void |
set_pad1(CArrayFacade<java.lang.Byte> _pad1)
Set method for struct member '_pad1'.
|
void |
set_pad2(CArrayFacade<java.lang.Byte> _pad2)
Set method for struct member '_pad2'.
|
void |
setBrush(CPointer<Brush> brush)
Set method for struct member 'brush'.
|
void |
setCavity_curve(CPointer<CurveMapping> cavity_curve)
Set method for struct member 'cavity_curve'.
|
void |
setFlags(int flags)
Set method for struct member 'flags'.
|
void |
setNum_input_samples(int num_input_samples)
Set method for struct member 'num_input_samples'.
|
void |
setPaint_cursor_col(CArrayFacade<java.lang.Byte> paint_cursor_col)
Set method for struct member 'paint_cursor_col'.
|
void |
setPaint_cursor(CPointer<java.lang.Object> paint_cursor)
Set method for struct member 'paint_cursor'.
|
void |
setPalette(CPointer<Palette> palette)
Set method for struct member 'palette'.
|
void |
setRuntime(Paint_Runtime runtime)
Set method for struct member 'runtime'.
|
void |
setSymmetry_flags(int symmetry_flags)
Set method for struct member 'symmetry_flags'.
|
void |
setTile_offset(CArrayFacade<java.lang.Float> tile_offset)
Set method for struct member 'tile_offset'.
|
void |
setTool_slots_len(int tool_slots_len)
Set method for struct member 'tool_slots_len'.
|
void |
setTool_slots(CPointer<PaintToolSlot> tool_slots)
Set method for struct member 'tool_slots'.
|
__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
public static final int __DNA__SDNA_INDEX
It is required when allocating a new block to store data for Paint.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__brush
This is how you get a reference on the corresponding field in the struct:
Paint paint = ...; CPointer<Object> p = paint.__dna__addressof(Paint.__DNA__FIELD__brush); CPointer<CPointer<Brush>> p_brush = p.cast(new Class[]{CPointer.class, Brush.class});
public static final long[] __DNA__FIELD__tool_slots
Each tool has it's own active brush, The currently active tool is defined by the current 'brush'.
This is how you get a reference on the corresponding field in the struct:
Paint paint = ...; CPointer<Object> p = paint.__dna__addressof(Paint.__DNA__FIELD__tool_slots); CPointer<CPointer<PaintToolSlot>> p_tool_slots = p.cast(new Class[]{CPointer.class, PaintToolSlot.class});
public static final long[] __DNA__FIELD__tool_slots_len
This is how you get a reference on the corresponding field in the struct:
Paint paint = ...; CPointer<Object> p = paint.__dna__addressof(Paint.__DNA__FIELD__tool_slots_len); CPointer<Integer> p_tool_slots_len = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD___pad1
This is how you get a reference on the corresponding field in the struct:
Paint paint = ...; CPointer<Object> p = paint.__dna__addressof(Paint.__DNA__FIELD___pad1); CPointer<CArrayFacade<Byte>> p__pad1 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public static final long[] __DNA__FIELD__palette
This is how you get a reference on the corresponding field in the struct:
Paint paint = ...; CPointer<Object> p = paint.__dna__addressof(Paint.__DNA__FIELD__palette); CPointer<CPointer<Palette>> p_palette = p.cast(new Class[]{CPointer.class, Palette.class});
public static final long[] __DNA__FIELD__cavity_curve
Cavity curve.
This is how you get a reference on the corresponding field in the struct:
Paint paint = ...; CPointer<Object> p = paint.__dna__addressof(Paint.__DNA__FIELD__cavity_curve); CPointer<CPointer<CurveMapping>> p_cavity_curve = p.cast(new Class[]{CPointer.class, CurveMapping.class});
public static final long[] __DNA__FIELD__paint_cursor
WM Paint
cursor
This is how you get a reference on the corresponding field in the struct:
Paint paint = ...; CPointer<Object> p = paint.__dna__addressof(Paint.__DNA__FIELD__paint_cursor); CPointer<CPointer<Object>> p_paint_cursor = p.cast(new Class[]{CPointer.class, Object.class});
public static final long[] __DNA__FIELD__paint_cursor_col
This is how you get a reference on the corresponding field in the struct:
Paint paint = ...; CPointer<Object> p = paint.__dna__addressof(Paint.__DNA__FIELD__paint_cursor_col); CPointer<CArrayFacade<Byte>> p_paint_cursor_col = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public static final long[] __DNA__FIELD__flags
enum ePaintFlags
This is how you get a reference on the corresponding field in the struct:
Paint paint = ...; CPointer<Object> p = paint.__dna__addressof(Paint.__DNA__FIELD__flags); CPointer<Integer> p_flags = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__num_input_samples
Paint
stroke can use up to PAINT_MAX_INPUT_SAMPLES inputs to smooth the stroke
This is how you get a reference on the corresponding field in the struct:
Paint paint = ...; CPointer<Object> p = paint.__dna__addressof(Paint.__DNA__FIELD__num_input_samples); CPointer<Integer> p_num_input_samples = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__symmetry_flags
flags used for symmetry
This is how you get a reference on the corresponding field in the struct:
Paint paint = ...; CPointer<Object> p = paint.__dna__addressof(Paint.__DNA__FIELD__symmetry_flags); CPointer<Integer> p_symmetry_flags = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__tile_offset
This is how you get a reference on the corresponding field in the struct:
Paint paint = ...; CPointer<Object> p = paint.__dna__addressof(Paint.__DNA__FIELD__tile_offset); CPointer<CArrayFacade<Float>> p_tile_offset = p.cast(new Class[]{CArrayFacade.class, Float.class});
public static final long[] __DNA__FIELD___pad2
This is how you get a reference on the corresponding field in the struct:
Paint paint = ...; CPointer<Object> p = paint.__dna__addressof(Paint.__DNA__FIELD___pad2); CPointer<CArrayFacade<Byte>> p__pad2 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public static final long[] __DNA__FIELD__runtime
This is how you get a reference on the corresponding field in the struct:
Paint paint = ...; CPointer<Object> p = paint.__dna__addressof(Paint.__DNA__FIELD__runtime); CPointer<Paint_Runtime> p_runtime = p.cast(new Class[]{Paint_Runtime.class});
public Paint(long __address, Block __block, BlockTable __blockTable)
protected Paint(Paint that)
public CPointer<Brush> getBrush() throws java.io.IOException
java.io.IOException
__DNA__FIELD__brush
public void setBrush(CPointer<Brush> brush) throws java.io.IOException
java.io.IOException
__DNA__FIELD__brush
public CPointer<PaintToolSlot> getTool_slots() throws java.io.IOException
Each tool has it's own active brush, The currently active tool is defined by the current 'brush'.
java.io.IOException
__DNA__FIELD__tool_slots
public void setTool_slots(CPointer<PaintToolSlot> tool_slots) throws java.io.IOException
Each tool has it's own active brush, The currently active tool is defined by the current 'brush'.
java.io.IOException
__DNA__FIELD__tool_slots
public int getTool_slots_len() throws java.io.IOException
java.io.IOException
__DNA__FIELD__tool_slots_len
public void setTool_slots_len(int tool_slots_len) throws java.io.IOException
java.io.IOException
__DNA__FIELD__tool_slots_len
public CArrayFacade<java.lang.Byte> get_pad1() throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad1
public void set_pad1(CArrayFacade<java.lang.Byte> _pad1) throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad1
public CPointer<Palette> getPalette() throws java.io.IOException
java.io.IOException
__DNA__FIELD__palette
public void setPalette(CPointer<Palette> palette) throws java.io.IOException
java.io.IOException
__DNA__FIELD__palette
public CPointer<CurveMapping> getCavity_curve() throws java.io.IOException
Cavity curve.
java.io.IOException
__DNA__FIELD__cavity_curve
public void setCavity_curve(CPointer<CurveMapping> cavity_curve) throws java.io.IOException
Cavity curve.
java.io.IOException
__DNA__FIELD__cavity_curve
public CPointer<java.lang.Object> getPaint_cursor() throws java.io.IOException
WM Paint
cursor
java.io.IOException
__DNA__FIELD__paint_cursor
public void setPaint_cursor(CPointer<java.lang.Object> paint_cursor) throws java.io.IOException
WM Paint
cursor
java.io.IOException
__DNA__FIELD__paint_cursor
public CArrayFacade<java.lang.Byte> getPaint_cursor_col() throws java.io.IOException
java.io.IOException
__DNA__FIELD__paint_cursor_col
public void setPaint_cursor_col(CArrayFacade<java.lang.Byte> paint_cursor_col) throws java.io.IOException
java.io.IOException
__DNA__FIELD__paint_cursor_col
public int getFlags() throws java.io.IOException
enum ePaintFlags
java.io.IOException
__DNA__FIELD__flags
public void setFlags(int flags) throws java.io.IOException
enum ePaintFlags
java.io.IOException
__DNA__FIELD__flags
public int getNum_input_samples() throws java.io.IOException
Paint
stroke can use up to PAINT_MAX_INPUT_SAMPLES inputs to smooth the stroke
java.io.IOException
__DNA__FIELD__num_input_samples
public void setNum_input_samples(int num_input_samples) throws java.io.IOException
Paint
stroke can use up to PAINT_MAX_INPUT_SAMPLES inputs to smooth the stroke
java.io.IOException
__DNA__FIELD__num_input_samples
public int getSymmetry_flags() throws java.io.IOException
flags used for symmetry
java.io.IOException
__DNA__FIELD__symmetry_flags
public void setSymmetry_flags(int symmetry_flags) throws java.io.IOException
flags used for symmetry
java.io.IOException
__DNA__FIELD__symmetry_flags
public CArrayFacade<java.lang.Float> getTile_offset() throws java.io.IOException
java.io.IOException
__DNA__FIELD__tile_offset
public void setTile_offset(CArrayFacade<java.lang.Float> tile_offset) throws java.io.IOException
java.io.IOException
__DNA__FIELD__tile_offset
public CArrayFacade<java.lang.Byte> get_pad2() throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad2
public void set_pad2(CArrayFacade<java.lang.Byte> _pad2) throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad2
public Paint_Runtime getRuntime() throws java.io.IOException
java.io.IOException
__DNA__FIELD__runtime
public void setRuntime(Paint_Runtime runtime) throws java.io.IOException
java.io.IOException
__DNA__FIELD__runtime