public class BezTriple extends CFacade
Keyframes on F-Curves (allows code reuse of Bezier eval code) and Points on Bezier Curves/Paths are generally BezTriples.
BezTriple.tilt
location in struct is abused by Key
system.
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))
Modifier and Type | Field and 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__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__f5
Field descriptor (offset) for struct member 'f5'.
|
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.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
BezTriple(BezTriple that) |
|
BezTriple(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and 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'.
|
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 |
getF5()
Get method for struct member 'f5'.
|
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 |
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 |
setF5(byte f5)
Set method for struct member 'f5'.
|
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'.
|
__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 BezTriple.
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:
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});
public static final long[] __DNA__FIELD__alfa
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});
public static final long[] __DNA__FIELD__weight
Used for softbody goal weight.
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});
public static final long[] __DNA__FIELD__radius
For bevel tapering & modifiers.
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});
public static final long[] __DNA__FIELD__ipo
Ipo
: interpolation mode for segment from this BezTriple
to the next.
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});
public static final long[] __DNA__FIELD__h1
H1, h2: the handle type of the two handles.
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});
public static final long[] __DNA__FIELD__h2
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});
public static final long[] __DNA__FIELD__f1
F1, f2, f3: used for selection status.
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});
public static final long[] __DNA__FIELD__f2
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});
public static final long[] __DNA__FIELD__f3
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});
public static final long[] __DNA__FIELD__hide
Hide: used to indicate whether BezTriple
is hidden (3D), type of keyframe (eBezTriple_KeyframeType).
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});
public static final long[] __DNA__FIELD__easing
Easing: easing type for interpolation mode (eBezTriple_Easing).
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});
public static final long[] __DNA__FIELD__back
BEZT_IPO_BACK.
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});
public static final long[] __DNA__FIELD__amplitude
BEZT_IPO_ELASTIC.
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});
public static final long[] __DNA__FIELD__period
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});
public static final long[] __DNA__FIELD__f5
F5: used for auto handle to distinguish between normal handle and exception (extrema).
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__f5); CPointer<Byte> p_f5 = p.cast(new Class[]{Byte.class});
public static final long[] __DNA__FIELD___pad
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});
public BezTriple(long __address, Block __block, BlockTable __blockTable)
protected BezTriple(BezTriple 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 float getAlfa() throws java.io.IOException
java.io.IOException
__DNA__FIELD__alfa
public void setAlfa(float alfa) throws java.io.IOException
java.io.IOException
__DNA__FIELD__alfa
public float getWeight() throws java.io.IOException
Used for softbody goal weight.
java.io.IOException
__DNA__FIELD__weight
public void setWeight(float weight) throws java.io.IOException
Used for softbody goal weight.
java.io.IOException
__DNA__FIELD__weight
public float getRadius() throws java.io.IOException
For bevel tapering & modifiers.
java.io.IOException
__DNA__FIELD__radius
public void setRadius(float radius) throws java.io.IOException
For bevel tapering & modifiers.
java.io.IOException
__DNA__FIELD__radius
public byte getIpo() throws java.io.IOException
Ipo
: interpolation mode for segment from this BezTriple
to the next.
java.io.IOException
__DNA__FIELD__ipo
public void setIpo(byte ipo) throws java.io.IOException
Ipo
: interpolation mode for segment from this BezTriple
to the next.
java.io.IOException
__DNA__FIELD__ipo
public byte getH1() throws java.io.IOException
H1, h2: the handle type of the two handles.
java.io.IOException
__DNA__FIELD__h1
public void setH1(byte h1) throws java.io.IOException
H1, h2: the handle type of the two handles.
java.io.IOException
__DNA__FIELD__h1
public byte getH2() throws java.io.IOException
java.io.IOException
__DNA__FIELD__h2
public void setH2(byte h2) throws java.io.IOException
java.io.IOException
__DNA__FIELD__h2
public byte getF1() throws java.io.IOException
F1, f2, f3: used for selection status.
java.io.IOException
__DNA__FIELD__f1
public void setF1(byte f1) throws java.io.IOException
F1, f2, f3: used for selection status.
java.io.IOException
__DNA__FIELD__f1
public byte getF2() throws java.io.IOException
java.io.IOException
__DNA__FIELD__f2
public void setF2(byte f2) throws java.io.IOException
java.io.IOException
__DNA__FIELD__f2
public byte getF3() throws java.io.IOException
java.io.IOException
__DNA__FIELD__f3
public void setF3(byte f3) throws java.io.IOException
java.io.IOException
__DNA__FIELD__f3
public byte getHide() throws java.io.IOException
Hide: used to indicate whether BezTriple
is hidden (3D), type of keyframe (eBezTriple_KeyframeType).
java.io.IOException
__DNA__FIELD__hide
public void setHide(byte hide) throws java.io.IOException
Hide: used to indicate whether BezTriple
is hidden (3D), type of keyframe (eBezTriple_KeyframeType).
java.io.IOException
__DNA__FIELD__hide
public byte getEasing() throws java.io.IOException
Easing: easing type for interpolation mode (eBezTriple_Easing).
java.io.IOException
__DNA__FIELD__easing
public void setEasing(byte easing) throws java.io.IOException
Easing: easing type for interpolation mode (eBezTriple_Easing).
java.io.IOException
__DNA__FIELD__easing
public float getBack() throws java.io.IOException
BEZT_IPO_BACK.
java.io.IOException
__DNA__FIELD__back
public void setBack(float back) throws java.io.IOException
BEZT_IPO_BACK.
java.io.IOException
__DNA__FIELD__back
public float getAmplitude() throws java.io.IOException
BEZT_IPO_ELASTIC.
java.io.IOException
__DNA__FIELD__amplitude
public void setAmplitude(float amplitude) throws java.io.IOException
BEZT_IPO_ELASTIC.
java.io.IOException
__DNA__FIELD__amplitude
public float getPeriod() throws java.io.IOException
java.io.IOException
__DNA__FIELD__period
public void setPeriod(float period) throws java.io.IOException
java.io.IOException
__DNA__FIELD__period
public byte getF5() throws java.io.IOException
F5: used for auto handle to distinguish between normal handle and exception (extrema).
java.io.IOException
__DNA__FIELD__f5
public void setF5(byte f5) throws java.io.IOException
F5: used for auto handle to distinguish between normal handle and exception (extrema).
java.io.IOException
__DNA__FIELD__f5
public CArrayFacade<java.lang.Byte> get_pad() throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad
public void set_pad(CArrayFacade<java.lang.Byte> _pad) throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad