public class MetaElem extends CFacade
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__bb
Field descriptor (offset) for struct member 'bb'.
|
static long[] |
__DNA__FIELD__expx
Field descriptor (offset) for struct member 'expx'.
|
static long[] |
__DNA__FIELD__expy
Field descriptor (offset) for struct member 'expy'.
|
static long[] |
__DNA__FIELD__expz
Field descriptor (offset) for struct member 'expz'.
|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
static long[] |
__DNA__FIELD__imat
Field descriptor (offset) for struct member 'imat'.
|
static long[] |
__DNA__FIELD__len
Field descriptor (offset) for struct member 'len'.
|
static long[] |
__DNA__FIELD__mat
Field descriptor (offset) for struct member 'mat'.
|
static long[] |
__DNA__FIELD__next
Field descriptor (offset) for struct member 'next'.
|
static long[] |
__DNA__FIELD__prev
Field descriptor (offset) for struct member 'prev'.
|
static long[] |
__DNA__FIELD__quat
Field descriptor (offset) for struct member 'quat'.
|
static long[] |
__DNA__FIELD__rad
Field descriptor (offset) for struct member 'rad'.
|
static long[] |
__DNA__FIELD__rad2
Field descriptor (offset) for struct member 'rad2'.
|
static long[] |
__DNA__FIELD__s
Field descriptor (offset) for struct member 's'.
|
static long[] |
__DNA__FIELD__selcol1
Field descriptor (offset) for struct member 'selcol1'.
|
static long[] |
__DNA__FIELD__selcol2
Field descriptor (offset) for struct member 'selcol2'.
|
static long[] |
__DNA__FIELD__type
Field descriptor (offset) for struct member 'type'.
|
static long[] |
__DNA__FIELD__x
Field descriptor (offset) for struct member 'x'.
|
static long[] |
__DNA__FIELD__y
Field descriptor (offset) for struct member 'y'.
|
static long[] |
__DNA__FIELD__z
Field descriptor (offset) for struct member 'z'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct MetaElem.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
|
MetaElem(long __address,
Block __block,
BlockTable __blockTable) |
protected |
MetaElem(MetaElem that) |
Modifier and Type | Method and Description |
---|---|
CPointer<MetaElem> |
__io__addressof()
Instantiates a pointer on this instance.
|
CPointer<BoundBox> |
getBb()
Get method for struct member 'bb'.
|
float |
getExpx()
Get method for struct member 'expx'.
|
float |
getExpy()
Get method for struct member 'expy'.
|
float |
getExpz()
Get method for struct member 'expz'.
|
short |
getFlag()
Get method for struct member 'flag'.
|
CPointer<java.lang.Float> |
getImat()
Get method for struct member 'imat'.
|
float |
getLen()
Get method for struct member 'len'.
|
CPointer<java.lang.Float> |
getMat()
Get method for struct member 'mat'.
|
CPointer<MetaElem> |
getNext()
Get method for struct member 'next'.
|
CPointer<MetaElem> |
getPrev()
Get method for struct member 'prev'.
|
CArrayFacade<java.lang.Float> |
getQuat()
Get method for struct member 'quat'.
|
float |
getRad()
Get method for struct member 'rad'.
|
float |
getRad2()
Get method for struct member 'rad2'.
|
float |
getS()
Get method for struct member 's'.
|
short |
getSelcol1()
Get method for struct member 'selcol1'.
|
short |
getSelcol2()
Get method for struct member 'selcol2'.
|
short |
getType()
Get method for struct member 'type'.
|
float |
getX()
Get method for struct member 'x'.
|
float |
getY()
Get method for struct member 'y'.
|
float |
getZ()
Get method for struct member 'z'.
|
void |
setBb(CPointer<BoundBox> bb)
Set method for struct member 'bb'.
|
void |
setExpx(float expx)
Set method for struct member 'expx'.
|
void |
setExpy(float expy)
Set method for struct member 'expy'.
|
void |
setExpz(float expz)
Set method for struct member 'expz'.
|
void |
setFlag(short flag)
Set method for struct member 'flag'.
|
void |
setImat(CPointer<java.lang.Float> imat)
Set method for struct member 'imat'.
|
void |
setLen(float len)
Set method for struct member 'len'.
|
void |
setMat(CPointer<java.lang.Float> mat)
Set method for struct member 'mat'.
|
void |
setNext(CPointer<MetaElem> next)
Set method for struct member 'next'.
|
void |
setPrev(CPointer<MetaElem> prev)
Set method for struct member 'prev'.
|
void |
setQuat(CArrayFacade<java.lang.Float> quat)
Set method for struct member 'quat'.
|
void |
setRad(float rad)
Set method for struct member 'rad'.
|
void |
setRad2(float rad2)
Set method for struct member 'rad2'.
|
void |
setS(float s)
Set method for struct member 's'.
|
void |
setSelcol1(short selcol1)
Set method for struct member 'selcol1'.
|
void |
setSelcol2(short selcol2)
Set method for struct member 'selcol2'.
|
void |
setType(short type)
Set method for struct member 'type'.
|
void |
setX(float x)
Set method for struct member 'x'.
|
void |
setY(float y)
Set method for struct member 'y'.
|
void |
setZ(float z)
Set method for struct member 'z'.
|
__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 MetaElem.
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:
MetaElem metaelem = ...; CPointer<Object> p = metaelem.__dna__addressof(MetaElem.__DNA__FIELD__next); CPointer<CPointer<MetaElem>> p_next = p.cast(new Class[]{CPointer.class, MetaElem.class});
public static final long[] __DNA__FIELD__prev
This is how you get a reference on the corresponding field in the struct:
MetaElem metaelem = ...; CPointer<Object> p = metaelem.__dna__addressof(MetaElem.__DNA__FIELD__prev); CPointer<CPointer<MetaElem>> p_prev = p.cast(new Class[]{CPointer.class, MetaElem.class});
public static final long[] __DNA__FIELD__bb
Bound Box of MetaElem
This is how you get a reference on the corresponding field in the struct:
MetaElem metaelem = ...; CPointer<Object> p = metaelem.__dna__addressof(MetaElem.__DNA__FIELD__bb); CPointer<CPointer<BoundBox>> p_bb = p.cast(new Class[]{CPointer.class, BoundBox.class});
public static final long[] __DNA__FIELD__type
This is how you get a reference on the corresponding field in the struct:
MetaElem metaelem = ...; CPointer<Object> p = metaelem.__dna__addressof(MetaElem.__DNA__FIELD__type); CPointer<Short> p_type = 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:
MetaElem metaelem = ...; CPointer<Object> p = metaelem.__dna__addressof(MetaElem.__DNA__FIELD__flag); CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__selcol1
This is how you get a reference on the corresponding field in the struct:
MetaElem metaelem = ...; CPointer<Object> p = metaelem.__dna__addressof(MetaElem.__DNA__FIELD__selcol1); CPointer<Short> p_selcol1 = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__selcol2
This is how you get a reference on the corresponding field in the struct:
MetaElem metaelem = ...; CPointer<Object> p = metaelem.__dna__addressof(MetaElem.__DNA__FIELD__selcol2); CPointer<Short> p_selcol2 = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__x
This is how you get a reference on the corresponding field in the struct:
MetaElem metaelem = ...; CPointer<Object> p = metaelem.__dna__addressof(MetaElem.__DNA__FIELD__x); CPointer<Float> p_x = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__y
This is how you get a reference on the corresponding field in the struct:
MetaElem metaelem = ...; CPointer<Object> p = metaelem.__dna__addressof(MetaElem.__DNA__FIELD__y); CPointer<Float> p_y = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__z
Position of center of MetaElem
This is how you get a reference on the corresponding field in the struct:
MetaElem metaelem = ...; CPointer<Object> p = metaelem.__dna__addressof(MetaElem.__DNA__FIELD__z); CPointer<Float> p_z = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__quat
Rotation of MetaElem
(MUST be kept normalized)
This is how you get a reference on the corresponding field in the struct:
MetaElem metaelem = ...; CPointer<Object> p = metaelem.__dna__addressof(MetaElem.__DNA__FIELD__quat); CPointer<CArrayFacade<Float>> p_quat = p.cast(new Class[]{CArrayFacade.class, Float.class});
public static final long[] __DNA__FIELD__expx
dimension parameters, used for some types like cubes
This is how you get a reference on the corresponding field in the struct:
MetaElem metaelem = ...; CPointer<Object> p = metaelem.__dna__addressof(MetaElem.__DNA__FIELD__expx); CPointer<Float> p_expx = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__expy
This is how you get a reference on the corresponding field in the struct:
MetaElem metaelem = ...; CPointer<Object> p = metaelem.__dna__addressof(MetaElem.__DNA__FIELD__expy); CPointer<Float> p_expy = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__expz
This is how you get a reference on the corresponding field in the struct:
MetaElem metaelem = ...; CPointer<Object> p = metaelem.__dna__addressof(MetaElem.__DNA__FIELD__expz); CPointer<Float> p_expz = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__rad
radius of the meta element
This is how you get a reference on the corresponding field in the struct:
MetaElem metaelem = ...; CPointer<Object> p = metaelem.__dna__addressof(MetaElem.__DNA__FIELD__rad); CPointer<Float> p_rad = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__rad2
temp field, used only while processing
This is how you get a reference on the corresponding field in the struct:
MetaElem metaelem = ...; CPointer<Object> p = metaelem.__dna__addressof(MetaElem.__DNA__FIELD__rad2); CPointer<Float> p_rad2 = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__s
stiffness, how much of the element to fill
This is how you get a reference on the corresponding field in the struct:
MetaElem metaelem = ...; CPointer<Object> p = metaelem.__dna__addressof(MetaElem.__DNA__FIELD__s); CPointer<Float> p_s = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__len
old, only used for backwards compat. use dimensions now
This is how you get a reference on the corresponding field in the struct:
MetaElem metaelem = ...; CPointer<Object> p = metaelem.__dna__addressof(MetaElem.__DNA__FIELD__len); CPointer<Float> p_len = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__mat
This is how you get a reference on the corresponding field in the struct:
MetaElem metaelem = ...; CPointer<Object> p = metaelem.__dna__addressof(MetaElem.__DNA__FIELD__mat); CPointer<CPointer<Float>> p_mat = p.cast(new Class[]{CPointer.class, Float.class});
public static final long[] __DNA__FIELD__imat
matrix and inverted matrix
This is how you get a reference on the corresponding field in the struct:
MetaElem metaelem = ...; CPointer<Object> p = metaelem.__dna__addressof(MetaElem.__DNA__FIELD__imat); CPointer<CPointer<Float>> p_imat = p.cast(new Class[]{CPointer.class, Float.class});
public MetaElem(long __address, Block __block, BlockTable __blockTable)
protected MetaElem(MetaElem that)
public CPointer<MetaElem> getNext() throws java.io.IOException
java.io.IOException
__DNA__FIELD__next
public void setNext(CPointer<MetaElem> next) throws java.io.IOException
java.io.IOException
__DNA__FIELD__next
public CPointer<MetaElem> getPrev() throws java.io.IOException
java.io.IOException
__DNA__FIELD__prev
public void setPrev(CPointer<MetaElem> prev) throws java.io.IOException
java.io.IOException
__DNA__FIELD__prev
public CPointer<BoundBox> getBb() throws java.io.IOException
java.io.IOException
__DNA__FIELD__bb
public void setBb(CPointer<BoundBox> bb) throws java.io.IOException
java.io.IOException
__DNA__FIELD__bb
public short getType() throws java.io.IOException
java.io.IOException
__DNA__FIELD__type
public void setType(short type) throws java.io.IOException
java.io.IOException
__DNA__FIELD__type
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 short getSelcol1() throws java.io.IOException
java.io.IOException
__DNA__FIELD__selcol1
public void setSelcol1(short selcol1) throws java.io.IOException
java.io.IOException
__DNA__FIELD__selcol1
public short getSelcol2() throws java.io.IOException
java.io.IOException
__DNA__FIELD__selcol2
public void setSelcol2(short selcol2) throws java.io.IOException
java.io.IOException
__DNA__FIELD__selcol2
public float getX() throws java.io.IOException
java.io.IOException
__DNA__FIELD__x
public void setX(float x) throws java.io.IOException
java.io.IOException
__DNA__FIELD__x
public float getY() throws java.io.IOException
java.io.IOException
__DNA__FIELD__y
public void setY(float y) throws java.io.IOException
java.io.IOException
__DNA__FIELD__y
public float getZ() throws java.io.IOException
Position of center of MetaElem
java.io.IOException
__DNA__FIELD__z
public void setZ(float z) throws java.io.IOException
Position of center of MetaElem
java.io.IOException
__DNA__FIELD__z
public CArrayFacade<java.lang.Float> getQuat() throws java.io.IOException
Rotation of MetaElem
(MUST be kept normalized)
java.io.IOException
__DNA__FIELD__quat
public void setQuat(CArrayFacade<java.lang.Float> quat) throws java.io.IOException
Rotation of MetaElem
(MUST be kept normalized)
java.io.IOException
__DNA__FIELD__quat
public float getExpx() throws java.io.IOException
dimension parameters, used for some types like cubes
java.io.IOException
__DNA__FIELD__expx
public void setExpx(float expx) throws java.io.IOException
dimension parameters, used for some types like cubes
java.io.IOException
__DNA__FIELD__expx
public float getExpy() throws java.io.IOException
java.io.IOException
__DNA__FIELD__expy
public void setExpy(float expy) throws java.io.IOException
java.io.IOException
__DNA__FIELD__expy
public float getExpz() throws java.io.IOException
java.io.IOException
__DNA__FIELD__expz
public void setExpz(float expz) throws java.io.IOException
java.io.IOException
__DNA__FIELD__expz
public float getRad() throws java.io.IOException
radius of the meta element
java.io.IOException
__DNA__FIELD__rad
public void setRad(float rad) throws java.io.IOException
radius of the meta element
java.io.IOException
__DNA__FIELD__rad
public float getRad2() throws java.io.IOException
temp field, used only while processing
java.io.IOException
__DNA__FIELD__rad2
public void setRad2(float rad2) throws java.io.IOException
temp field, used only while processing
java.io.IOException
__DNA__FIELD__rad2
public float getS() throws java.io.IOException
stiffness, how much of the element to fill
java.io.IOException
__DNA__FIELD__s
public void setS(float s) throws java.io.IOException
stiffness, how much of the element to fill
java.io.IOException
__DNA__FIELD__s
public float getLen() throws java.io.IOException
old, only used for backwards compat. use dimensions now
java.io.IOException
__DNA__FIELD__len
public void setLen(float len) throws java.io.IOException
old, only used for backwards compat. use dimensions now
java.io.IOException
__DNA__FIELD__len
public CPointer<java.lang.Float> getMat() throws java.io.IOException
java.io.IOException
__DNA__FIELD__mat
public void setMat(CPointer<java.lang.Float> mat) throws java.io.IOException
java.io.IOException
__DNA__FIELD__mat
public CPointer<java.lang.Float> getImat() throws java.io.IOException
matrix and inverted matrix
java.io.IOException
__DNA__FIELD__imat
public void setImat(CPointer<java.lang.Float> imat) throws java.io.IOException
matrix and inverted matrix
java.io.IOException
__DNA__FIELD__imat