public class MEdge extends CFacade
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__bweight
Field descriptor (offset) for struct member 'bweight'.
|
static long[] |
__DNA__FIELD__crease
Field descriptor (offset) for struct member 'crease'.
|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
static long[] |
__DNA__FIELD__v1
Field descriptor (offset) for struct member 'v1'.
|
static long[] |
__DNA__FIELD__v2
Field descriptor (offset) for struct member 'v2'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct MEdge.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
|
MEdge(long __address,
Block __block,
BlockTable __blockTable) |
protected |
MEdge(MEdge that) |
Modifier and Type | Method and Description |
---|---|
CPointer<MEdge> |
__io__addressof()
Instantiates a pointer on this instance.
|
byte |
getBweight()
Get method for struct member 'bweight'.
|
byte |
getCrease()
Get method for struct member 'crease'.
|
short |
getFlag()
Get method for struct member 'flag'.
|
int |
getV1()
Get method for struct member 'v1'.
|
int |
getV2()
Get method for struct member 'v2'.
|
void |
setBweight(byte bweight)
Set method for struct member 'bweight'.
|
void |
setCrease(byte crease)
Set method for struct member 'crease'.
|
void |
setFlag(short flag)
Set method for struct member 'flag'.
|
void |
setV1(int v1)
Set method for struct member 'v1'.
|
void |
setV2(int v2)
Set method for struct member 'v2'.
|
__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 MEdge.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__v1
This is how you get a reference on the corresponding field in the struct:
MEdge medge = ...; CPointer<Object> p = medge.__dna__addressof(MEdge.__DNA__FIELD__v1); CPointer<Integer> p_v1 = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__v2
This is how you get a reference on the corresponding field in the struct:
MEdge medge = ...; CPointer<Object> p = medge.__dna__addressof(MEdge.__DNA__FIELD__v2); CPointer<Integer> p_v2 = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__crease
This is how you get a reference on the corresponding field in the struct:
MEdge medge = ...; CPointer<Object> p = medge.__dna__addressof(MEdge.__DNA__FIELD__crease); CPointer<Byte> p_crease = p.cast(new Class[]{Byte.class});
public static final long[] __DNA__FIELD__bweight
This is how you get a reference on the corresponding field in the struct:
MEdge medge = ...; CPointer<Object> p = medge.__dna__addressof(MEdge.__DNA__FIELD__bweight); CPointer<Byte> p_bweight = p.cast(new Class[]{Byte.class});
public static final long[] __DNA__FIELD__flag
This is how you get a reference on the corresponding field in the struct:
MEdge medge = ...; CPointer<Object> p = medge.__dna__addressof(MEdge.__DNA__FIELD__flag); CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
public MEdge(long __address, Block __block, BlockTable __blockTable)
protected MEdge(MEdge that)
public int getV1() throws java.io.IOException
java.io.IOException
__DNA__FIELD__v1
public void setV1(int v1) throws java.io.IOException
java.io.IOException
__DNA__FIELD__v1
public int getV2() throws java.io.IOException
java.io.IOException
__DNA__FIELD__v2
public void setV2(int v2) throws java.io.IOException
java.io.IOException
__DNA__FIELD__v2
public byte getCrease() throws java.io.IOException
java.io.IOException
__DNA__FIELD__crease
public void setCrease(byte crease) throws java.io.IOException
java.io.IOException
__DNA__FIELD__crease
public byte getBweight() throws java.io.IOException
java.io.IOException
__DNA__FIELD__bweight
public void setBweight(byte bweight) throws java.io.IOException
java.io.IOException
__DNA__FIELD__bweight
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