public class bGPDstroke extends CFacade
Grease-Pencil Annotations - 'Stroke' -> A stroke represents a (simplified version) of the curve drawn by the user in one 'mousedown'->'mouseup' operation
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__colorname
Field descriptor (offset) for struct member 'colorname'.
|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
static long[] |
__DNA__FIELD__inittime
Field descriptor (offset) for struct member 'inittime'.
|
static long[] |
__DNA__FIELD__next
Field descriptor (offset) for struct member 'next'.
|
static long[] |
__DNA__FIELD__pad
Field descriptor (offset) for struct member 'pad'.
|
static long[] |
__DNA__FIELD__palcolor
Field descriptor (offset) for struct member 'palcolor'.
|
static long[] |
__DNA__FIELD__points
Field descriptor (offset) for struct member 'points'.
|
static long[] |
__DNA__FIELD__prev
Field descriptor (offset) for struct member 'prev'.
|
static long[] |
__DNA__FIELD__thickness
Field descriptor (offset) for struct member 'thickness'.
|
static long[] |
__DNA__FIELD__tmp_layerinfo
Field descriptor (offset) for struct member 'tmp_layerinfo'.
|
static long[] |
__DNA__FIELD__tot_triangles
Field descriptor (offset) for struct member 'tot_triangles'.
|
static long[] |
__DNA__FIELD__totpoints
Field descriptor (offset) for struct member 'totpoints'.
|
static long[] |
__DNA__FIELD__triangles
Field descriptor (offset) for struct member 'triangles'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct bGPDstroke.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
bGPDstroke(bGPDstroke that) |
|
bGPDstroke(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<bGPDstroke> |
__io__addressof()
Instantiates a pointer on this instance.
|
CArrayFacade<java.lang.Byte> |
getColorname()
Get method for struct member 'colorname'.
|
short |
getFlag()
Get method for struct member 'flag'.
|
double |
getInittime()
Get method for struct member 'inittime'.
|
CPointer<bGPDstroke> |
getNext()
Get method for struct member 'next'.
|
CArrayFacade<java.lang.Short> |
getPad()
Get method for struct member 'pad'.
|
CPointer<bGPDpalettecolor> |
getPalcolor()
Get method for struct member 'palcolor'.
|
CPointer<bGPDspoint> |
getPoints()
Get method for struct member 'points'.
|
CPointer<bGPDstroke> |
getPrev()
Get method for struct member 'prev'.
|
short |
getThickness()
Get method for struct member 'thickness'.
|
CArrayFacade<java.lang.Byte> |
getTmp_layerinfo()
Get method for struct member 'tmp_layerinfo'.
|
int |
getTot_triangles()
Get method for struct member 'tot_triangles'.
|
int |
getTotpoints()
Get method for struct member 'totpoints'.
|
CPointer<bGPDtriangle> |
getTriangles()
Get method for struct member 'triangles'.
|
void |
setColorname(CArrayFacade<java.lang.Byte> colorname)
Set method for struct member 'colorname'.
|
void |
setFlag(short flag)
Set method for struct member 'flag'.
|
void |
setInittime(double inittime)
Set method for struct member 'inittime'.
|
void |
setNext(CPointer<bGPDstroke> next)
Set method for struct member 'next'.
|
void |
setPad(CArrayFacade<java.lang.Short> pad)
Set method for struct member 'pad'.
|
void |
setPalcolor(CPointer<bGPDpalettecolor> palcolor)
Set method for struct member 'palcolor'.
|
void |
setPoints(CPointer<bGPDspoint> points)
Set method for struct member 'points'.
|
void |
setPrev(CPointer<bGPDstroke> prev)
Set method for struct member 'prev'.
|
void |
setThickness(short thickness)
Set method for struct member 'thickness'.
|
void |
setTmp_layerinfo(CArrayFacade<java.lang.Byte> tmp_layerinfo)
Set method for struct member 'tmp_layerinfo'.
|
void |
setTot_triangles(int tot_triangles)
Set method for struct member 'tot_triangles'.
|
void |
setTotpoints(int totpoints)
Set method for struct member 'totpoints'.
|
void |
setTriangles(CPointer<bGPDtriangle> triangles)
Set method for struct member 'triangles'.
|
__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 bGPDstroke.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__next
This is how you get a reference on the corresponding field in the struct:
bGPDstroke bgpdstroke = ...; CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD__next); CPointer<CPointer<bGPDstroke>> p_next = p.cast(new Class[]{CPointer.class, bGPDstroke.class});
public static final long[] __DNA__FIELD__prev
This is how you get a reference on the corresponding field in the struct:
bGPDstroke bgpdstroke = ...; CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD__prev); CPointer<CPointer<bGPDstroke>> p_prev = p.cast(new Class[]{CPointer.class, bGPDstroke.class});
public static final long[] __DNA__FIELD__points
array of data-points for stroke
This is how you get a reference on the corresponding field in the struct:
bGPDstroke bgpdstroke = ...; CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD__points); CPointer<CPointer<bGPDspoint>> p_points = p.cast(new Class[]{CPointer.class, bGPDspoint.class});
public static final long[] __DNA__FIELD__triangles
tesselated triangles for GP Fill
This is how you get a reference on the corresponding field in the struct:
bGPDstroke bgpdstroke = ...; CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD__triangles); CPointer<CPointer<bGPDtriangle>> p_triangles = p.cast(new Class[]{CPointer.class, bGPDtriangle.class});
public static final long[] __DNA__FIELD__totpoints
number of data-points in array
This is how you get a reference on the corresponding field in the struct:
bGPDstroke bgpdstroke = ...; CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD__totpoints); CPointer<Integer> p_totpoints = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__tot_triangles
number of triangles in array
This is how you get a reference on the corresponding field in the struct:
bGPDstroke bgpdstroke = ...; CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD__tot_triangles); CPointer<Integer> p_tot_triangles = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__thickness
thickness of stroke
This is how you get a reference on the corresponding field in the struct:
bGPDstroke bgpdstroke = ...; CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD__thickness); CPointer<Short> p_thickness = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__flag
This is how you get a reference on the corresponding field in the struct:
bGPDstroke bgpdstroke = ...; CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD__flag); CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__pad
various settings about this stroke
This is how you get a reference on the corresponding field in the struct:
bGPDstroke bgpdstroke = ...; CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD__pad); CPointer<CArrayFacade<Short>> p_pad = p.cast(new Class[]{CArrayFacade.class, Short.class});
public static final long[] __DNA__FIELD__inittime
Init time of stroke
This is how you get a reference on the corresponding field in the struct:
bGPDstroke bgpdstroke = ...; CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD__inittime); CPointer<Double> p_inittime = p.cast(new Class[]{Double.class});
public static final long[] __DNA__FIELD__colorname
The pointer to color is only used during drawing, but not saved colorname is the join with the palette, but when draw, the pointer is update if the value is NULL to speed up the drawingcolor name
This is how you get a reference on the corresponding field in the struct:
bGPDstroke bgpdstroke = ...; CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD__colorname); CPointer<CArrayFacade<Byte>> p_colorname = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public static final long[] __DNA__FIELD__palcolor
current palette color
This is how you get a reference on the corresponding field in the struct:
bGPDstroke bgpdstroke = ...; CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD__palcolor); CPointer<CPointer<bGPDpalettecolor>> p_palcolor = p.cast(new Class[]{CPointer.class, bGPDpalettecolor.class});
public static final long[] __DNA__FIELD__tmp_layerinfo
temporary layer name only used during copy/paste to put the stroke in the original layer
This is how you get a reference on the corresponding field in the struct:
bGPDstroke bgpdstroke = ...; CPointer<Object> p = bgpdstroke.__dna__addressof(bGPDstroke.__DNA__FIELD__tmp_layerinfo); CPointer<CArrayFacade<Byte>> p_tmp_layerinfo = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public bGPDstroke(long __address, Block __block, BlockTable __blockTable)
protected bGPDstroke(bGPDstroke that)
public CPointer<bGPDstroke> getNext() throws java.io.IOException
java.io.IOException
__DNA__FIELD__next
public void setNext(CPointer<bGPDstroke> next) throws java.io.IOException
java.io.IOException
__DNA__FIELD__next
public CPointer<bGPDstroke> getPrev() throws java.io.IOException
java.io.IOException
__DNA__FIELD__prev
public void setPrev(CPointer<bGPDstroke> prev) throws java.io.IOException
java.io.IOException
__DNA__FIELD__prev
public CPointer<bGPDspoint> getPoints() throws java.io.IOException
array of data-points for stroke
java.io.IOException
__DNA__FIELD__points
public void setPoints(CPointer<bGPDspoint> points) throws java.io.IOException
array of data-points for stroke
java.io.IOException
__DNA__FIELD__points
public CPointer<bGPDtriangle> getTriangles() throws java.io.IOException
tesselated triangles for GP Fill
java.io.IOException
__DNA__FIELD__triangles
public void setTriangles(CPointer<bGPDtriangle> triangles) throws java.io.IOException
tesselated triangles for GP Fill
java.io.IOException
__DNA__FIELD__triangles
public int getTotpoints() throws java.io.IOException
number of data-points in array
java.io.IOException
__DNA__FIELD__totpoints
public void setTotpoints(int totpoints) throws java.io.IOException
number of data-points in array
java.io.IOException
__DNA__FIELD__totpoints
public int getTot_triangles() throws java.io.IOException
number of triangles in array
java.io.IOException
__DNA__FIELD__tot_triangles
public void setTot_triangles(int tot_triangles) throws java.io.IOException
number of triangles in array
java.io.IOException
__DNA__FIELD__tot_triangles
public short getThickness() throws java.io.IOException
thickness of stroke
java.io.IOException
__DNA__FIELD__thickness
public void setThickness(short thickness) throws java.io.IOException
thickness of stroke
java.io.IOException
__DNA__FIELD__thickness
public short getFlag() throws java.io.IOException
java.io.IOException
__DNA__FIELD__flag
public void setFlag(short flag) throws java.io.IOException
java.io.IOException
__DNA__FIELD__flag
public CArrayFacade<java.lang.Short> getPad() throws java.io.IOException
various settings about this stroke
java.io.IOException
__DNA__FIELD__pad
public void setPad(CArrayFacade<java.lang.Short> pad) throws java.io.IOException
various settings about this stroke
java.io.IOException
__DNA__FIELD__pad
public double getInittime() throws java.io.IOException
Init time of stroke
java.io.IOException
__DNA__FIELD__inittime
public void setInittime(double inittime) throws java.io.IOException
Init time of stroke
java.io.IOException
__DNA__FIELD__inittime
public CArrayFacade<java.lang.Byte> getColorname() throws java.io.IOException
The pointer to color is only used during drawing, but not saved colorname is the join with the palette, but when draw, the pointer is update if the value is NULL to speed up the drawingcolor name
java.io.IOException
__DNA__FIELD__colorname
public void setColorname(CArrayFacade<java.lang.Byte> colorname) throws java.io.IOException
The pointer to color is only used during drawing, but not saved colorname is the join with the palette, but when draw, the pointer is update if the value is NULL to speed up the drawingcolor name
java.io.IOException
__DNA__FIELD__colorname
public CPointer<bGPDpalettecolor> getPalcolor() throws java.io.IOException
current palette color
java.io.IOException
__DNA__FIELD__palcolor
public void setPalcolor(CPointer<bGPDpalettecolor> palcolor) throws java.io.IOException
current palette color
java.io.IOException
__DNA__FIELD__palcolor
public CArrayFacade<java.lang.Byte> getTmp_layerinfo() throws java.io.IOException
temporary layer name only used during copy/paste to put the stroke in the original layer
java.io.IOException
__DNA__FIELD__tmp_layerinfo
public void setTmp_layerinfo(CArrayFacade<java.lang.Byte> tmp_layerinfo) throws java.io.IOException
temporary layer name only used during copy/paste to put the stroke in the original layer
java.io.IOException
__DNA__FIELD__tmp_layerinfo
public CPointer<bGPDstroke> __io__addressof()