public class PaintCurve extends CFacade
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__add_index
Field descriptor (offset) for struct member 'add_index'.
|
static long[] |
__DNA__FIELD__id
Field descriptor (offset) for struct member 'id'.
|
static long[] |
__DNA__FIELD__points
Field descriptor (offset) for struct member 'points'.
|
static long[] |
__DNA__FIELD__tot_points
Field descriptor (offset) for struct member 'tot_points'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct PaintCurve.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
|
PaintCurve(long __address,
Block __block,
BlockTable __blockTable) |
protected |
PaintCurve(PaintCurve that) |
Modifier and Type | Method and Description |
---|---|
CPointer<PaintCurve> |
__io__addressof()
Instantiates a pointer on this instance.
|
int |
getAdd_index()
Get method for struct member 'add_index'.
|
ID |
getId()
Get method for struct member 'id'.
|
CPointer<PaintCurvePoint> |
getPoints()
Get method for struct member 'points'.
|
int |
getTot_points()
Get method for struct member 'tot_points'.
|
void |
setAdd_index(int add_index)
Set method for struct member 'add_index'.
|
void |
setId(ID id)
Set method for struct member 'id'.
|
void |
setPoints(CPointer<PaintCurvePoint> points)
Set method for struct member 'points'.
|
void |
setTot_points(int tot_points)
Set method for struct member 'tot_points'.
|
__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 PaintCurve.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__id
This is how you get a reference on the corresponding field in the struct:
PaintCurve paintcurve = ...; CPointer<Object> p = paintcurve.__dna__addressof(PaintCurve.__DNA__FIELD__id); CPointer<ID> p_id = p.cast(new Class[]{ID.class});
public static final long[] __DNA__FIELD__points
This is how you get a reference on the corresponding field in the struct:
PaintCurve paintcurve = ...; CPointer<Object> p = paintcurve.__dna__addressof(PaintCurve.__DNA__FIELD__points); CPointer<CPointer<PaintCurvePoint>> p_points = p.cast(new Class[]{CPointer.class, PaintCurvePoint.class});
public static final long[] __DNA__FIELD__tot_points
This is how you get a reference on the corresponding field in the struct:
PaintCurve paintcurve = ...; CPointer<Object> p = paintcurve.__dna__addressof(PaintCurve.__DNA__FIELD__tot_points); CPointer<Integer> p_tot_points = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__add_index
This is how you get a reference on the corresponding field in the struct:
PaintCurve paintcurve = ...; CPointer<Object> p = paintcurve.__dna__addressof(PaintCurve.__DNA__FIELD__add_index); CPointer<Integer> p_add_index = p.cast(new Class[]{Integer.class});
public PaintCurve(long __address, Block __block, BlockTable __blockTable)
protected PaintCurve(PaintCurve that)
public ID getId() throws java.io.IOException
java.io.IOException
__DNA__FIELD__id
public void setId(ID id) throws java.io.IOException
java.io.IOException
__DNA__FIELD__id
public CPointer<PaintCurvePoint> getPoints() throws java.io.IOException
java.io.IOException
__DNA__FIELD__points
public void setPoints(CPointer<PaintCurvePoint> points) throws java.io.IOException
java.io.IOException
__DNA__FIELD__points
public int getTot_points() throws java.io.IOException
java.io.IOException
__DNA__FIELD__tot_points
public void setTot_points(int tot_points) throws java.io.IOException
java.io.IOException
__DNA__FIELD__tot_points
public int getAdd_index() throws java.io.IOException
java.io.IOException
__DNA__FIELD__add_index
public void setAdd_index(int add_index) throws java.io.IOException
java.io.IOException
__DNA__FIELD__add_index
public CPointer<PaintCurve> __io__addressof()