public class BoundBox extends CFacade
Z Y | / |/ .-----X 2----------6 /| /| / | / | 1----------5 | | | | | | 3-------|--7 | / | / |/ |/ 0----------4
The following illustrates the orientation of the bounding box in local space
Z Y | / |/ .--X 2------- 6 /| /| / | / | 1------- 5 | | | | | | 3---- | 7 | / | / |/ |/ 0-------
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD___pad0
Field descriptor (offset) for struct member '_pad0'.
|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
static long[] |
__DNA__FIELD__vec
Field descriptor (offset) for struct member 'vec'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct BoundBox.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
BoundBox(BoundBox that) |
|
BoundBox(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<BoundBox> |
__io__addressof()
Instantiates a pointer on this instance.
|
CArrayFacade<java.lang.Byte> |
get_pad0()
Get method for struct member '_pad0'.
|
int |
getFlag()
Get method for struct member 'flag'.
|
CArrayFacade<CArrayFacade<java.lang.Float>> |
getVec()
Get method for struct member 'vec'.
|
void |
set_pad0(CArrayFacade<java.lang.Byte> _pad0)
Set method for struct member '_pad0'.
|
void |
setFlag(int flag)
Set method for struct member 'flag'.
|
void |
setVec(CArrayFacade<CArrayFacade<java.lang.Float>> vec)
Set method for struct member 'vec'.
|
__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 BoundBox.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__vec
This is how you get a reference on the corresponding field in the struct:
BoundBox boundbox = ...; CPointer<Object> p = boundbox.__dna__addressof(BoundBox.__DNA__FIELD__vec); CPointer<CArrayFacade<CArrayFacade<Float>>> p_vec = p.cast(new Class[]{CArrayFacade.class, CArrayFacade.class, Float.class});
public static final long[] __DNA__FIELD__flag
This is how you get a reference on the corresponding field in the struct:
BoundBox boundbox = ...; CPointer<Object> p = boundbox.__dna__addressof(BoundBox.__DNA__FIELD__flag); CPointer<Integer> p_flag = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD___pad0
This is how you get a reference on the corresponding field in the struct:
BoundBox boundbox = ...; CPointer<Object> p = boundbox.__dna__addressof(BoundBox.__DNA__FIELD___pad0); CPointer<CArrayFacade<Byte>> p__pad0 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public BoundBox(long __address, Block __block, BlockTable __blockTable)
protected BoundBox(BoundBox that)
public CArrayFacade<CArrayFacade<java.lang.Float>> getVec() throws java.io.IOException
java.io.IOException
__DNA__FIELD__vec
public void setVec(CArrayFacade<CArrayFacade<java.lang.Float>> vec) throws java.io.IOException
java.io.IOException
__DNA__FIELD__vec
public int getFlag() throws java.io.IOException
java.io.IOException
__DNA__FIELD__flag
public void setFlag(int flag) throws java.io.IOException
java.io.IOException
__DNA__FIELD__flag
public CArrayFacade<java.lang.Byte> get_pad0() throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad0
public void set_pad0(CArrayFacade<java.lang.Byte> _pad0) throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad0