Class BezTriple
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.BezTriple
-
public class BezTriple extends CFacade
Generated facet for DNA struct type 'BezTriple'.Class Documentation
Blender Source Code
Keyframes on F-Curves (allows code reuse of Bezier eval code) and Points on Bezier Curves/Paths are generally BezTriples.
Note
BezTriple.tilt location in struct is abused by
BezTriple.tilt location in struct is abused by Key system.Key
system.Note
vec in
BezTriple
looks like this:vec[0][0] = x location of handle 1
vec[0][1] = y location of handle 1
vec[0][2] = z location of handle 1 (not used for
FCurve
Points(2d))vec[1][0] = x location of control point
vec[1][1] = y location of control point
vec[1][2] = z location of control point
vec[2][0] = x location of handle 2
vec[2][1] = y location of handle 2
vec[2][2] = z location of handle 2 (not used for
FCurve
Points(2d))
-
-
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__amplitude
Field descriptor (offset) for struct member 'amplitude'.static long[]
__DNA__FIELD__auto_handle_type
Field descriptor (offset) for struct member 'auto_handle_type'.static long[]
__DNA__FIELD__back
Field descriptor (offset) for struct member 'back'.static long[]
__DNA__FIELD__easing
Field descriptor (offset) for struct member 'easing'.static long[]
__DNA__FIELD__f1
Field descriptor (offset) for struct member 'f1'.static long[]
__DNA__FIELD__f2
Field descriptor (offset) for struct member 'f2'.static long[]
__DNA__FIELD__f3
Field descriptor (offset) for struct member 'f3'.static long[]
__DNA__FIELD__h1
Field descriptor (offset) for struct member 'h1'.static long[]
__DNA__FIELD__h2
Field descriptor (offset) for struct member 'h2'.static long[]
__DNA__FIELD__hide
Field descriptor (offset) for struct member 'hide'.static long[]
__DNA__FIELD__ipo
Field descriptor (offset) for struct member 'ipo'.static long[]
__DNA__FIELD__period
Field descriptor (offset) for struct member 'period'.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 BezTriple.-
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 BezTriple(long __address, Block __block, BlockTable __blockTable)
protected
BezTriple(BezTriple that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<BezTriple>
__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'.float
getAmplitude()
Get method for struct member 'amplitude'.byte
getAuto_handle_type()
Get method for struct member 'auto_handle_type'.float
getBack()
Get method for struct member 'back'.byte
getEasing()
Get method for struct member 'easing'.byte
getF1()
Get method for struct member 'f1'.byte
getF2()
Get method for struct member 'f2'.byte
getF3()
Get method for struct member 'f3'.byte
getH1()
Get method for struct member 'h1'.byte
getH2()
Get method for struct member 'h2'.byte
getHide()
Get method for struct member 'hide'.byte
getIpo()
Get method for struct member 'ipo'.float
getPeriod()
Get method for struct member 'period'.float
getRadius()
Get method for struct member 'radius'.CArrayFacade<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
setAmplitude(float amplitude)
Set method for struct member 'amplitude'.void
setAuto_handle_type(byte auto_handle_type)
Set method for struct member 'auto_handle_type'.void
setBack(float back)
Set method for struct member 'back'.void
setEasing(byte easing)
Set method for struct member 'easing'.void
setF1(byte f1)
Set method for struct member 'f1'.void
setF2(byte f2)
Set method for struct member 'f2'.void
setF3(byte f3)
Set method for struct member 'f3'.void
setH1(byte h1)
Set method for struct member 'h1'.void
setH2(byte h2)
Set method for struct member 'h2'.void
setHide(byte hide)
Set method for struct member 'hide'.void
setIpo(byte ipo)
Set method for struct member 'ipo'.void
setPeriod(float period)
Set method for struct member 'period'.void
setRadius(float radius)
Set method for struct member 'radius'.void
setVec(CArrayFacade<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 BezTriple.It is required when allocating a new block to store data for BezTriple.
- 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:
BezTriple beztriple = ...; CPointer<Object> p = beztriple.__dna__addressof(BezTriple.__DNA__FIELD__vec); CPointer<CArrayFacade<CArrayFacade<Float>>> p_vec = p.cast(new Class[]{CArrayFacade.class, CArrayFacade.class, Float.class});
Metadata
- Field: 'vec'
- Signature: 'float[3][3]'
- Actual Size (32bit/64bit): 36/36
-
__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:
BezTriple beztriple = ...; CPointer<Object> p = beztriple.__dna__addressof(BezTriple.__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:
BezTriple beztriple = ...; CPointer<Object> p = beztriple.__dna__addressof(BezTriple.__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__radius
public static final long[] __DNA__FIELD__radius
Field descriptor (offset) for struct member 'radius'.Field Documentation
Blender Source Code
For bevel tapering & modifiers.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
BezTriple beztriple = ...; CPointer<Object> p = beztriple.__dna__addressof(BezTriple.__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__ipo
public static final long[] __DNA__FIELD__ipo
Field descriptor (offset) for struct member 'ipo'.Field Documentation
Blender Source Code
Ipo
: interpolation mode for segment from thisBezTriple
to the next.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
BezTriple beztriple = ...; CPointer<Object> p = beztriple.__dna__addressof(BezTriple.__DNA__FIELD__ipo); CPointer<Byte> p_ipo = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'ipo'
- Signature: 'char'
- Actual Size (32bit/64bit): 1/1
-
__DNA__FIELD__h1
public static final long[] __DNA__FIELD__h1
Field descriptor (offset) for struct member 'h1'.Field Documentation
Blender Source Code
H1, h2: the handle type of the two handles.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
BezTriple beztriple = ...; CPointer<Object> p = beztriple.__dna__addressof(BezTriple.__DNA__FIELD__h1); CPointer<Byte> p_h1 = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'h1'
- Signature: 'uchar'
- Actual Size (32bit/64bit): 1/1
-
__DNA__FIELD__h2
public static final long[] __DNA__FIELD__h2
Field descriptor (offset) for struct member 'h2'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
BezTriple beztriple = ...; CPointer<Object> p = beztriple.__dna__addressof(BezTriple.__DNA__FIELD__h2); CPointer<Byte> p_h2 = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'h2'
- Signature: 'uchar'
- Actual Size (32bit/64bit): 1/1
-
__DNA__FIELD__f1
public static final long[] __DNA__FIELD__f1
Field descriptor (offset) for struct member 'f1'.Field Documentation
Blender Source Code
F1, f2, f3: used for selection status.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
BezTriple beztriple = ...; CPointer<Object> p = beztriple.__dna__addressof(BezTriple.__DNA__FIELD__f1); CPointer<Byte> p_f1 = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'f1'
- Signature: 'uchar'
- Actual Size (32bit/64bit): 1/1
-
__DNA__FIELD__f2
public static final long[] __DNA__FIELD__f2
Field descriptor (offset) for struct member 'f2'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
BezTriple beztriple = ...; CPointer<Object> p = beztriple.__dna__addressof(BezTriple.__DNA__FIELD__f2); CPointer<Byte> p_f2 = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'f2'
- Signature: 'uchar'
- Actual Size (32bit/64bit): 1/1
-
__DNA__FIELD__f3
public static final long[] __DNA__FIELD__f3
Field descriptor (offset) for struct member 'f3'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
BezTriple beztriple = ...; CPointer<Object> p = beztriple.__dna__addressof(BezTriple.__DNA__FIELD__f3); CPointer<Byte> p_f3 = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'f3'
- Signature: 'uchar'
- Actual Size (32bit/64bit): 1/1
-
__DNA__FIELD__hide
public static final long[] __DNA__FIELD__hide
Field descriptor (offset) for struct member 'hide'.Field Documentation
Blender Source Code
Hide: used to indicate whether
BezTriple
is hidden (3D), type of keyframe (eBezTriple_KeyframeType).Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
BezTriple beztriple = ...; CPointer<Object> p = beztriple.__dna__addressof(BezTriple.__DNA__FIELD__hide); CPointer<Byte> p_hide = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'hide'
- Signature: 'char'
- Actual Size (32bit/64bit): 1/1
-
__DNA__FIELD__easing
public static final long[] __DNA__FIELD__easing
Field descriptor (offset) for struct member 'easing'.Field Documentation
Blender Source Code
Easing: easing type for interpolation mode (eBezTriple_Easing).
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
BezTriple beztriple = ...; CPointer<Object> p = beztriple.__dna__addressof(BezTriple.__DNA__FIELD__easing); CPointer<Byte> p_easing = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'easing'
- Signature: 'char'
- Actual Size (32bit/64bit): 1/1
-
__DNA__FIELD__back
public static final long[] __DNA__FIELD__back
Field descriptor (offset) for struct member 'back'.Field Documentation
Blender Source Code
BEZT_IPO_BACK.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
BezTriple beztriple = ...; CPointer<Object> p = beztriple.__dna__addressof(BezTriple.__DNA__FIELD__back); CPointer<Float> p_back = p.cast(new Class[]{Float.class});
Metadata
- Field: 'back'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__amplitude
public static final long[] __DNA__FIELD__amplitude
Field descriptor (offset) for struct member 'amplitude'.Field Documentation
Blender Source Code
BEZT_IPO_ELASTIC.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
BezTriple beztriple = ...; CPointer<Object> p = beztriple.__dna__addressof(BezTriple.__DNA__FIELD__amplitude); CPointer<Float> p_amplitude = p.cast(new Class[]{Float.class});
Metadata
- Field: 'amplitude'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__period
public static final long[] __DNA__FIELD__period
Field descriptor (offset) for struct member 'period'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
BezTriple beztriple = ...; CPointer<Object> p = beztriple.__dna__addressof(BezTriple.__DNA__FIELD__period); CPointer<Float> p_period = p.cast(new Class[]{Float.class});
Metadata
- Field: 'period'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__auto_handle_type
public static final long[] __DNA__FIELD__auto_handle_type
Field descriptor (offset) for struct member 'auto_handle_type'.Field Documentation
Blender Source Code
Used during auto handle calculation to mark special cases (local extremes).
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
BezTriple beztriple = ...; CPointer<Object> p = beztriple.__dna__addressof(BezTriple.__DNA__FIELD__auto_handle_type); CPointer<Byte> p_auto_handle_type = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'auto_handle_type'
- Signature: 'char'
- Actual Size (32bit/64bit): 1/1
-
__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:
BezTriple beztriple = ...; CPointer<Object> p = beztriple.__dna__addressof(BezTriple.__DNA__FIELD___pad); CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: '_pad'
- Signature: 'char[3]'
- Actual Size (32bit/64bit): 3/3
-
-
Constructor Detail
-
BezTriple
public BezTriple(long __address, Block __block, BlockTable __blockTable)
-
BezTriple
protected BezTriple(BezTriple that)
-
-
Method Detail
-
getVec
public CArrayFacade<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<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
-
getRadius
public float getRadius() throws java.io.IOException
Get method for struct member 'radius'.Field Documentation
Blender Source Code
For bevel tapering & modifiers.
- 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
For bevel tapering & modifiers.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__radius
-
getIpo
public byte getIpo() throws java.io.IOException
Get method for struct member 'ipo'.Field Documentation
Blender Source Code
Ipo
: interpolation mode for segment from thisBezTriple
to the next.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__ipo
-
setIpo
public void setIpo(byte ipo) throws java.io.IOException
Set method for struct member 'ipo'.Field Documentation
Blender Source Code
Ipo
: interpolation mode for segment from thisBezTriple
to the next.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__ipo
-
getH1
public byte getH1() throws java.io.IOException
Get method for struct member 'h1'.Field Documentation
Blender Source Code
H1, h2: the handle type of the two handles.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__h1
-
setH1
public void setH1(byte h1) throws java.io.IOException
Set method for struct member 'h1'.Field Documentation
Blender Source Code
H1, h2: the handle type of the two handles.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__h1
-
getH2
public byte getH2() throws java.io.IOException
Get method for struct member 'h2'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__h2
-
setH2
public void setH2(byte h2) throws java.io.IOException
Set method for struct member 'h2'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__h2
-
getF1
public byte getF1() throws java.io.IOException
Get method for struct member 'f1'.Field Documentation
Blender Source Code
F1, f2, f3: used for selection status.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__f1
-
setF1
public void setF1(byte f1) throws java.io.IOException
Set method for struct member 'f1'.Field Documentation
Blender Source Code
F1, f2, f3: used for selection status.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__f1
-
getF2
public byte getF2() throws java.io.IOException
Get method for struct member 'f2'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__f2
-
setF2
public void setF2(byte f2) throws java.io.IOException
Set method for struct member 'f2'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__f2
-
getF3
public byte getF3() throws java.io.IOException
Get method for struct member 'f3'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__f3
-
setF3
public void setF3(byte f3) throws java.io.IOException
Set method for struct member 'f3'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__f3
-
getHide
public byte getHide() throws java.io.IOException
Get method for struct member 'hide'.Field Documentation
Blender Source Code
Hide: used to indicate whether
BezTriple
is hidden (3D), type of keyframe (eBezTriple_KeyframeType).- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__hide
-
setHide
public void setHide(byte hide) throws java.io.IOException
Set method for struct member 'hide'.Field Documentation
Blender Source Code
Hide: used to indicate whether
BezTriple
is hidden (3D), type of keyframe (eBezTriple_KeyframeType).- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__hide
-
getEasing
public byte getEasing() throws java.io.IOException
Get method for struct member 'easing'.Field Documentation
Blender Source Code
Easing: easing type for interpolation mode (eBezTriple_Easing).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__easing
-
setEasing
public void setEasing(byte easing) throws java.io.IOException
Set method for struct member 'easing'.Field Documentation
Blender Source Code
Easing: easing type for interpolation mode (eBezTriple_Easing).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__easing
-
getBack
public float getBack() throws java.io.IOException
Get method for struct member 'back'.Field Documentation
Blender Source Code
BEZT_IPO_BACK.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__back
-
setBack
public void setBack(float back) throws java.io.IOException
Set method for struct member 'back'.Field Documentation
Blender Source Code
BEZT_IPO_BACK.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__back
-
getAmplitude
public float getAmplitude() throws java.io.IOException
Get method for struct member 'amplitude'.Field Documentation
Blender Source Code
BEZT_IPO_ELASTIC.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__amplitude
-
setAmplitude
public void setAmplitude(float amplitude) throws java.io.IOException
Set method for struct member 'amplitude'.Field Documentation
Blender Source Code
BEZT_IPO_ELASTIC.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__amplitude
-
getPeriod
public float getPeriod() throws java.io.IOException
Get method for struct member 'period'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__period
-
setPeriod
public void setPeriod(float period) throws java.io.IOException
Set method for struct member 'period'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__period
-
getAuto_handle_type
public byte getAuto_handle_type() throws java.io.IOException
Get method for struct member 'auto_handle_type'.Field Documentation
Blender Source Code
Used during auto handle calculation to mark special cases (local extremes).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__auto_handle_type
-
setAuto_handle_type
public void setAuto_handle_type(byte auto_handle_type) throws java.io.IOException
Set method for struct member 'auto_handle_type'.Field Documentation
Blender Source Code
Used during auto handle calculation to mark special cases (local extremes).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__auto_handle_type
-
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
-
-