Class CurveMap
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.CurveMap
-
public class CurveMap extends CFacade
Generated facet for DNA struct type 'CurveMap'.Class Documentation
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD__curve
Field descriptor (offset) for struct member 'curve'.static long[]
__DNA__FIELD__ext_in
Field descriptor (offset) for struct member 'ext_in'.static long[]
__DNA__FIELD__ext_out
Field descriptor (offset) for struct member 'ext_out'.static long[]
__DNA__FIELD__flag
Deprecated.Deprecatedstatic long[]
__DNA__FIELD__maxtable
Field descriptor (offset) for struct member 'maxtable'.static long[]
__DNA__FIELD__mintable
Field descriptor (offset) for struct member 'mintable'.static long[]
__DNA__FIELD__premul_ext_in
Field descriptor (offset) for struct member 'premul_ext_in'.static long[]
__DNA__FIELD__premul_ext_out
Field descriptor (offset) for struct member 'premul_ext_out'.static long[]
__DNA__FIELD__premultable
Field descriptor (offset) for struct member 'premultable'.static long[]
__DNA__FIELD__range
Field descriptor (offset) for struct member 'range'.static long[]
__DNA__FIELD__table
Field descriptor (offset) for struct member 'table'.static long[]
__DNA__FIELD__totpoint
Field descriptor (offset) for struct member 'totpoint'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct CurveMap.-
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 CurveMap(long __address, Block __block, BlockTable __blockTable)
protected
CurveMap(CurveMap that)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description CPointer<CurveMap>
__io__addressof()
Instantiates a pointer on this instance.CPointer<CurveMapPoint>
getCurve()
Get method for struct member 'curve'.CArrayFacade<java.lang.Float>
getExt_in()
Get method for struct member 'ext_in'.CArrayFacade<java.lang.Float>
getExt_out()
Get method for struct member 'ext_out'.short
getFlag()
Deprecated.Deprecatedfloat
getMaxtable()
Get method for struct member 'maxtable'.float
getMintable()
Get method for struct member 'mintable'.CArrayFacade<java.lang.Float>
getPremul_ext_in()
Get method for struct member 'premul_ext_in'.CArrayFacade<java.lang.Float>
getPremul_ext_out()
Get method for struct member 'premul_ext_out'.CPointer<CurveMapPoint>
getPremultable()
Get method for struct member 'premultable'.float
getRange()
Get method for struct member 'range'.CPointer<CurveMapPoint>
getTable()
Get method for struct member 'table'.short
getTotpoint()
Get method for struct member 'totpoint'.void
setCurve(CPointer<CurveMapPoint> curve)
Set method for struct member 'curve'.void
setExt_in(CArrayFacade<java.lang.Float> ext_in)
Set method for struct member 'ext_in'.void
setExt_out(CArrayFacade<java.lang.Float> ext_out)
Set method for struct member 'ext_out'.void
setFlag(short flag)
Deprecated.Deprecatedvoid
setMaxtable(float maxtable)
Set method for struct member 'maxtable'.void
setMintable(float mintable)
Set method for struct member 'mintable'.void
setPremul_ext_in(CArrayFacade<java.lang.Float> premul_ext_in)
Set method for struct member 'premul_ext_in'.void
setPremul_ext_out(CArrayFacade<java.lang.Float> premul_ext_out)
Set method for struct member 'premul_ext_out'.void
setPremultable(CPointer<CurveMapPoint> premultable)
Set method for struct member 'premultable'.void
setRange(float range)
Set method for struct member 'range'.void
setTable(CPointer<CurveMapPoint> table)
Set method for struct member 'table'.void
setTotpoint(short totpoint)
Set method for struct member 'totpoint'.-
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 CurveMap.It is required when allocating a new block to store data for CurveMap.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__totpoint
public static final long[] __DNA__FIELD__totpoint
Field descriptor (offset) for struct member 'totpoint'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CurveMap curvemap = ...; CPointer<Object> p = curvemap.__dna__addressof(CurveMap.__DNA__FIELD__totpoint); CPointer<Short> p_totpoint = p.cast(new Class[]{Short.class});
Metadata
- Field: 'totpoint'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__flag
public static final long[] __DNA__FIELD__flag
Deprecated.DeprecatedPointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CurveMap curvemap = ...; CPointer<Object> p = curvemap.__dna__addressof(CurveMap.__DNA__FIELD__flag); CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
Metadata
- Field: 'flag'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
Field descriptor (offset) for struct member 'flag'.Field Documentation
Blender Source Code
-
__DNA__FIELD__range
public static final long[] __DNA__FIELD__range
Field descriptor (offset) for struct member 'range'.Field Documentation
Blender Source Code
Quick multiply value for reading table.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CurveMap curvemap = ...; CPointer<Object> p = curvemap.__dna__addressof(CurveMap.__DNA__FIELD__range); CPointer<Float> p_range = p.cast(new Class[]{Float.class});
Metadata
- Field: 'range'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__mintable
public static final long[] __DNA__FIELD__mintable
Field descriptor (offset) for struct member 'mintable'.Field Documentation
Blender Source Code
The x-axis range for the table.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CurveMap curvemap = ...; CPointer<Object> p = curvemap.__dna__addressof(CurveMap.__DNA__FIELD__mintable); CPointer<Float> p_mintable = p.cast(new Class[]{Float.class});
Metadata
- Field: 'mintable'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__maxtable
public static final long[] __DNA__FIELD__maxtable
Field descriptor (offset) for struct member 'maxtable'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CurveMap curvemap = ...; CPointer<Object> p = curvemap.__dna__addressof(CurveMap.__DNA__FIELD__maxtable); CPointer<Float> p_maxtable = p.cast(new Class[]{Float.class});
Metadata
- Field: 'maxtable'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__ext_in
public static final long[] __DNA__FIELD__ext_in
Field descriptor (offset) for struct member 'ext_in'.Field Documentation
Blender Source Code
For extrapolated curves, the direction vector.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CurveMap curvemap = ...; CPointer<Object> p = curvemap.__dna__addressof(CurveMap.__DNA__FIELD__ext_in); CPointer<CArrayFacade<Float>> p_ext_in = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'ext_in'
- Signature: 'float[2]'
- Actual Size (32bit/64bit): 8/8
-
__DNA__FIELD__ext_out
public static final long[] __DNA__FIELD__ext_out
Field descriptor (offset) for struct member 'ext_out'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CurveMap curvemap = ...; CPointer<Object> p = curvemap.__dna__addressof(CurveMap.__DNA__FIELD__ext_out); CPointer<CArrayFacade<Float>> p_ext_out = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'ext_out'
- Signature: 'float[2]'
- Actual Size (32bit/64bit): 8/8
-
__DNA__FIELD__curve
public static final long[] __DNA__FIELD__curve
Field descriptor (offset) for struct member 'curve'.Field Documentation
Blender Source Code
Actual curve.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CurveMap curvemap = ...; CPointer<Object> p = curvemap.__dna__addressof(CurveMap.__DNA__FIELD__curve); CPointer<CPointer<CurveMapPoint>> p_curve = p.cast(new Class[]{CPointer.class, CurveMapPoint.class});
Metadata
- Field: 'curve'
- Signature: 'CurveMapPoint*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__table
public static final long[] __DNA__FIELD__table
Field descriptor (offset) for struct member 'table'.Field Documentation
Blender Source Code
Display and evaluate table.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CurveMap curvemap = ...; CPointer<Object> p = curvemap.__dna__addressof(CurveMap.__DNA__FIELD__table); CPointer<CPointer<CurveMapPoint>> p_table = p.cast(new Class[]{CPointer.class, CurveMapPoint.class});
Metadata
- Field: 'table'
- Signature: 'CurveMapPoint*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__premultable
public static final long[] __DNA__FIELD__premultable
Field descriptor (offset) for struct member 'premultable'.Field Documentation
Blender Source Code
For RGB curves, premulled table.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CurveMap curvemap = ...; CPointer<Object> p = curvemap.__dna__addressof(CurveMap.__DNA__FIELD__premultable); CPointer<CPointer<CurveMapPoint>> p_premultable = p.cast(new Class[]{CPointer.class, CurveMapPoint.class});
Metadata
- Field: 'premultable'
- Signature: 'CurveMapPoint*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__premul_ext_in
public static final long[] __DNA__FIELD__premul_ext_in
Field descriptor (offset) for struct member 'premul_ext_in'.Field Documentation
Blender Source Code
For RGB curves, premulled extrapolation vector.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CurveMap curvemap = ...; CPointer<Object> p = curvemap.__dna__addressof(CurveMap.__DNA__FIELD__premul_ext_in); CPointer<CArrayFacade<Float>> p_premul_ext_in = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'premul_ext_in'
- Signature: 'float[2]'
- Actual Size (32bit/64bit): 8/8
-
__DNA__FIELD__premul_ext_out
public static final long[] __DNA__FIELD__premul_ext_out
Field descriptor (offset) for struct member 'premul_ext_out'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CurveMap curvemap = ...; CPointer<Object> p = curvemap.__dna__addressof(CurveMap.__DNA__FIELD__premul_ext_out); CPointer<CArrayFacade<Float>> p_premul_ext_out = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'premul_ext_out'
- Signature: 'float[2]'
- Actual Size (32bit/64bit): 8/8
-
-
Constructor Detail
-
CurveMap
public CurveMap(long __address, Block __block, BlockTable __blockTable)
-
CurveMap
protected CurveMap(CurveMap that)
-
-
Method Detail
-
getTotpoint
public short getTotpoint() throws java.io.IOException
Get method for struct member 'totpoint'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__totpoint
-
setTotpoint
public void setTotpoint(short totpoint) throws java.io.IOException
Set method for struct member 'totpoint'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__totpoint
-
getFlag
public short getFlag() throws java.io.IOException
Deprecated.DeprecatedGet method for struct member 'flag'.Field Documentation
Blender Source Code
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
setFlag
public void setFlag(short flag) throws java.io.IOException
Deprecated.DeprecatedSet method for struct member 'flag'.Field Documentation
Blender Source Code
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
getRange
public float getRange() throws java.io.IOException
Get method for struct member 'range'.Field Documentation
Blender Source Code
Quick multiply value for reading table.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__range
-
setRange
public void setRange(float range) throws java.io.IOException
Set method for struct member 'range'.Field Documentation
Blender Source Code
Quick multiply value for reading table.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__range
-
getMintable
public float getMintable() throws java.io.IOException
Get method for struct member 'mintable'.Field Documentation
Blender Source Code
The x-axis range for the table.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mintable
-
setMintable
public void setMintable(float mintable) throws java.io.IOException
Set method for struct member 'mintable'.Field Documentation
Blender Source Code
The x-axis range for the table.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mintable
-
getMaxtable
public float getMaxtable() throws java.io.IOException
Get method for struct member 'maxtable'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__maxtable
-
setMaxtable
public void setMaxtable(float maxtable) throws java.io.IOException
Set method for struct member 'maxtable'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__maxtable
-
getExt_in
public CArrayFacade<java.lang.Float> getExt_in() throws java.io.IOException
Get method for struct member 'ext_in'.Field Documentation
Blender Source Code
For extrapolated curves, the direction vector.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__ext_in
-
setExt_in
public void setExt_in(CArrayFacade<java.lang.Float> ext_in) throws java.io.IOException
Set method for struct member 'ext_in'.Field Documentation
Blender Source Code
For extrapolated curves, the direction vector.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__ext_in
-
getExt_out
public CArrayFacade<java.lang.Float> getExt_out() throws java.io.IOException
Get method for struct member 'ext_out'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__ext_out
-
setExt_out
public void setExt_out(CArrayFacade<java.lang.Float> ext_out) throws java.io.IOException
Set method for struct member 'ext_out'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__ext_out
-
getCurve
public CPointer<CurveMapPoint> getCurve() throws java.io.IOException
Get method for struct member 'curve'.Field Documentation
Blender Source Code
Actual curve.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__curve
-
setCurve
public void setCurve(CPointer<CurveMapPoint> curve) throws java.io.IOException
Set method for struct member 'curve'.Field Documentation
Blender Source Code
Actual curve.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__curve
-
getTable
public CPointer<CurveMapPoint> getTable() throws java.io.IOException
Get method for struct member 'table'.Field Documentation
Blender Source Code
Display and evaluate table.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__table
-
setTable
public void setTable(CPointer<CurveMapPoint> table) throws java.io.IOException
Set method for struct member 'table'.Field Documentation
Blender Source Code
Display and evaluate table.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__table
-
getPremultable
public CPointer<CurveMapPoint> getPremultable() throws java.io.IOException
Get method for struct member 'premultable'.Field Documentation
Blender Source Code
For RGB curves, premulled table.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__premultable
-
setPremultable
public void setPremultable(CPointer<CurveMapPoint> premultable) throws java.io.IOException
Set method for struct member 'premultable'.Field Documentation
Blender Source Code
For RGB curves, premulled table.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__premultable
-
getPremul_ext_in
public CArrayFacade<java.lang.Float> getPremul_ext_in() throws java.io.IOException
Get method for struct member 'premul_ext_in'.Field Documentation
Blender Source Code
For RGB curves, premulled extrapolation vector.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__premul_ext_in
-
setPremul_ext_in
public void setPremul_ext_in(CArrayFacade<java.lang.Float> premul_ext_in) throws java.io.IOException
Set method for struct member 'premul_ext_in'.Field Documentation
Blender Source Code
For RGB curves, premulled extrapolation vector.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__premul_ext_in
-
getPremul_ext_out
public CArrayFacade<java.lang.Float> getPremul_ext_out() throws java.io.IOException
Get method for struct member 'premul_ext_out'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__premul_ext_out
-
setPremul_ext_out
public void setPremul_ext_out(CArrayFacade<java.lang.Float> premul_ext_out) throws java.io.IOException
Set method for struct member 'premul_ext_out'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__premul_ext_out
-
-