public class ScrEdge extends CFacade
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__border
Field descriptor (offset) for struct member 'border'.
|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
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__prev
Field descriptor (offset) for struct member 'prev'.
|
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 ScrEdge.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
|
ScrEdge(long __address,
Block __block,
BlockTable __blockTable) |
protected |
ScrEdge(ScrEdge that) |
Modifier and Type | Method and Description |
---|---|
CPointer<ScrEdge> |
__io__addressof()
Instantiates a pointer on this instance.
|
short |
getBorder()
Get method for struct member 'border'.
|
short |
getFlag()
Get method for struct member 'flag'.
|
CPointer<ScrEdge> |
getNext()
Get method for struct member 'next'.
|
int |
getPad()
Get method for struct member 'pad'.
|
CPointer<ScrEdge> |
getPrev()
Get method for struct member 'prev'.
|
CPointer<ScrVert> |
getV1()
Get method for struct member 'v1'.
|
CPointer<ScrVert> |
getV2()
Get method for struct member 'v2'.
|
void |
setBorder(short border)
Set method for struct member 'border'.
|
void |
setFlag(short flag)
Set method for struct member 'flag'.
|
void |
setNext(CPointer<ScrEdge> next)
Set method for struct member 'next'.
|
void |
setPad(int pad)
Set method for struct member 'pad'.
|
void |
setPrev(CPointer<ScrEdge> prev)
Set method for struct member 'prev'.
|
void |
setV1(CPointer<ScrVert> v1)
Set method for struct member 'v1'.
|
void |
setV2(CPointer<ScrVert> 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 ScrEdge.
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:
ScrEdge scredge = ...; CPointer<Object> p = scredge.__dna__addressof(ScrEdge.__DNA__FIELD__next); CPointer<CPointer<ScrEdge>> p_next = p.cast(new Class[]{CPointer.class, ScrEdge.class});
public static final long[] __DNA__FIELD__prev
This is how you get a reference on the corresponding field in the struct:
ScrEdge scredge = ...; CPointer<Object> p = scredge.__dna__addressof(ScrEdge.__DNA__FIELD__prev); CPointer<CPointer<ScrEdge>> p_prev = p.cast(new Class[]{CPointer.class, ScrEdge.class});
public static final long[] __DNA__FIELD__v1
This is how you get a reference on the corresponding field in the struct:
ScrEdge scredge = ...; CPointer<Object> p = scredge.__dna__addressof(ScrEdge.__DNA__FIELD__v1); CPointer<CPointer<ScrVert>> p_v1 = p.cast(new Class[]{CPointer.class, ScrVert.class});
public static final long[] __DNA__FIELD__v2
This is how you get a reference on the corresponding field in the struct:
ScrEdge scredge = ...; CPointer<Object> p = scredge.__dna__addressof(ScrEdge.__DNA__FIELD__v2); CPointer<CPointer<ScrVert>> p_v2 = p.cast(new Class[]{CPointer.class, ScrVert.class});
public static final long[] __DNA__FIELD__border
1 when at edge of screen
This is how you get a reference on the corresponding field in the struct:
ScrEdge scredge = ...; CPointer<Object> p = scredge.__dna__addressof(ScrEdge.__DNA__FIELD__border); CPointer<Short> p_border = 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:
ScrEdge scredge = ...; CPointer<Object> p = scredge.__dna__addressof(ScrEdge.__DNA__FIELD__flag); CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__pad
This is how you get a reference on the corresponding field in the struct:
ScrEdge scredge = ...; CPointer<Object> p = scredge.__dna__addressof(ScrEdge.__DNA__FIELD__pad); CPointer<Integer> p_pad = p.cast(new Class[]{Integer.class});
public ScrEdge(long __address, Block __block, BlockTable __blockTable)
protected ScrEdge(ScrEdge that)
public CPointer<ScrEdge> getNext() throws java.io.IOException
java.io.IOException
__DNA__FIELD__next
public void setNext(CPointer<ScrEdge> next) throws java.io.IOException
java.io.IOException
__DNA__FIELD__next
public CPointer<ScrEdge> getPrev() throws java.io.IOException
java.io.IOException
__DNA__FIELD__prev
public void setPrev(CPointer<ScrEdge> prev) throws java.io.IOException
java.io.IOException
__DNA__FIELD__prev
public CPointer<ScrVert> getV1() throws java.io.IOException
java.io.IOException
__DNA__FIELD__v1
public void setV1(CPointer<ScrVert> v1) throws java.io.IOException
java.io.IOException
__DNA__FIELD__v1
public CPointer<ScrVert> getV2() throws java.io.IOException
java.io.IOException
__DNA__FIELD__v2
public void setV2(CPointer<ScrVert> v2) throws java.io.IOException
java.io.IOException
__DNA__FIELD__v2
public short getBorder() throws java.io.IOException
1 when at edge of screen
java.io.IOException
__DNA__FIELD__border
public void setBorder(short border) throws java.io.IOException
1 when at edge of screen
java.io.IOException
__DNA__FIELD__border
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 int getPad() throws java.io.IOException
java.io.IOException
__DNA__FIELD__pad
public void setPad(int pad) throws java.io.IOException
java.io.IOException
__DNA__FIELD__pad