Class BPoint
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.BPoint
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.static long[]
__DNA__FIELD__alfa
Field descriptor (offset) for struct member 'alfa'.static long[]
__DNA__FIELD__f1
Field descriptor (offset) for struct member 'f1'.static long[]
__DNA__FIELD__hide
Field descriptor (offset) for struct member 'hide'.static long[]
__DNA__FIELD__radius
Field descriptor (offset) for struct member 'radius'.static long[]
__DNA__FIELD__vec
Field descriptor (offset) for struct member 'vec'.static long[]
__DNA__FIELD__weight
Field descriptor (offset) for struct member 'weight'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct BPoint.-
Fields inherited from class org.cakelab.blender.nio.CFacade
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
-
-
Constructor Summary
Constructors Modifier Constructor Description BPoint(long __address, Block __block, BlockTable __blockTable)
protected
BPoint(BPoint that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<BPoint>
__io__addressof()
Instantiates a pointer on this instance.CArrayFacade<java.lang.Byte>
get_pad()
Get method for struct member '_pad'.float
getAlfa()
Get method for struct member 'alfa'.short
getF1()
Get method for struct member 'f1'.short
getHide()
Get method for struct member 'hide'.float
getRadius()
Get method for struct member 'radius'.CArrayFacade<java.lang.Float>
getVec()
Get method for struct member 'vec'.float
getWeight()
Get method for struct member 'weight'.void
set_pad(CArrayFacade<java.lang.Byte> _pad)
Set method for struct member '_pad'.void
setAlfa(float alfa)
Set method for struct member 'alfa'.void
setF1(short f1)
Set method for struct member 'f1'.void
setHide(short hide)
Set method for struct member 'hide'.void
setRadius(float radius)
Set method for struct member 'radius'.void
setVec(CArrayFacade<java.lang.Float> vec)
Set method for struct member 'vec'.void
setWeight(float weight)
Set method for struct member 'weight'.-
Methods inherited from class org.cakelab.blender.nio.CFacade
__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, equals, hashCode
-
-
-
-
Field Detail
-
__DNA__SDNA_INDEX
public static final int __DNA__SDNA_INDEX
This is the sdna index of the struct BPoint.It is required when allocating a new block to store data for BPoint.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__vec
public static final long[] __DNA__FIELD__vec
Field descriptor (offset) for struct member 'vec'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
BPoint bpoint = ...; CPointer<Object> p = bpoint.__dna__addressof(BPoint.__DNA__FIELD__vec); CPointer<CArrayFacade<Float>> p_vec = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'vec'
- Signature: 'float[4]'
- Actual Size (32bit/64bit): 16/16
-
__DNA__FIELD__alfa
public static final long[] __DNA__FIELD__alfa
Field descriptor (offset) for struct member 'alfa'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
BPoint bpoint = ...; CPointer<Object> p = bpoint.__dna__addressof(BPoint.__DNA__FIELD__alfa); CPointer<Float> p_alfa = p.cast(new Class[]{Float.class});
Metadata
- Field: 'alfa'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__weight
public static final long[] __DNA__FIELD__weight
Field descriptor (offset) for struct member 'weight'.Field Documentation
Blender Source Code
Used for softbody goal weight.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
BPoint bpoint = ...; CPointer<Object> p = bpoint.__dna__addressof(BPoint.__DNA__FIELD__weight); CPointer<Float> p_weight = p.cast(new Class[]{Float.class});
Metadata
- Field: 'weight'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__f1
public static final long[] __DNA__FIELD__f1
Field descriptor (offset) for struct member 'f1'.Field Documentation
Blender Source Code
F1: selection status, hide: is point hidden or not.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
BPoint bpoint = ...; CPointer<Object> p = bpoint.__dna__addressof(BPoint.__DNA__FIELD__f1); CPointer<Short> p_f1 = p.cast(new Class[]{Short.class});
Metadata
- Field: 'f1'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__hide
public static final long[] __DNA__FIELD__hide
Field descriptor (offset) for struct member 'hide'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
BPoint bpoint = ...; CPointer<Object> p = bpoint.__dna__addressof(BPoint.__DNA__FIELD__hide); CPointer<Short> p_hide = p.cast(new Class[]{Short.class});
Metadata
- Field: 'hide'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__radius
public static final long[] __DNA__FIELD__radius
Field descriptor (offset) for struct member 'radius'.Field Documentation
Blender Source Code
User-set radius per point for beveling etc.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
BPoint bpoint = ...; CPointer<Object> p = bpoint.__dna__addressof(BPoint.__DNA__FIELD__radius); CPointer<Float> p_radius = p.cast(new Class[]{Float.class});
Metadata
- Field: 'radius'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD___pad
public static final long[] __DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
BPoint bpoint = ...; CPointer<Object> p = bpoint.__dna__addressof(BPoint.__DNA__FIELD___pad); CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: '_pad'
- Signature: 'char[4]'
- Actual Size (32bit/64bit): 4/4
-
-
Constructor Detail
-
BPoint
public BPoint(long __address, Block __block, BlockTable __blockTable)
-
BPoint
protected BPoint(BPoint that)
-
-
Method Detail
-
getVec
public CArrayFacade<java.lang.Float> getVec() throws java.io.IOException
Get method for struct member 'vec'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__vec
-
setVec
public void setVec(CArrayFacade<java.lang.Float> vec) throws java.io.IOException
Set method for struct member 'vec'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__vec
-
getAlfa
public float getAlfa() throws java.io.IOException
Get method for struct member 'alfa'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__alfa
-
setAlfa
public void setAlfa(float alfa) throws java.io.IOException
Set method for struct member 'alfa'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__alfa
-
getWeight
public float getWeight() throws java.io.IOException
Get method for struct member 'weight'.Field Documentation
Blender Source Code
Used for softbody goal weight.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__weight
-
setWeight
public void setWeight(float weight) throws java.io.IOException
Set method for struct member 'weight'.Field Documentation
Blender Source Code
Used for softbody goal weight.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__weight
-
getF1
public short getF1() throws java.io.IOException
Get method for struct member 'f1'.Field Documentation
Blender Source Code
F1: selection status, hide: is point hidden or not.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__f1
-
setF1
public void setF1(short f1) throws java.io.IOException
Set method for struct member 'f1'.Field Documentation
Blender Source Code
F1: selection status, hide: is point hidden or not.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__f1
-
getHide
public short getHide() throws java.io.IOException
Get method for struct member 'hide'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__hide
-
setHide
public void setHide(short hide) throws java.io.IOException
Set method for struct member 'hide'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__hide
-
getRadius
public float getRadius() throws java.io.IOException
Get method for struct member 'radius'.Field Documentation
Blender Source Code
User-set radius per point for beveling etc.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__radius
-
setRadius
public void setRadius(float radius) throws java.io.IOException
Set method for struct member 'radius'.Field Documentation
Blender Source Code
User-set radius per point for beveling etc.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__radius
-
get_pad
public CArrayFacade<java.lang.Byte> get_pad() throws java.io.IOException
Get method for struct member '_pad'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad
-
set_pad
public void set_pad(CArrayFacade<java.lang.Byte> _pad) throws java.io.IOException
Set method for struct member '_pad'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad
-
-