Class CurveProfile
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.CurveProfile
-
public class CurveProfile extends CFacade
Generated facet for DNA struct type 'CurveProfile'.Class Documentation
Blender Source Code
Defines a profile.
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD__changed_timestamp
Field descriptor (offset) for struct member 'changed_timestamp'.static long[]
__DNA__FIELD__clip_rect
Field descriptor (offset) for struct member 'clip_rect'.static long[]
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.static long[]
__DNA__FIELD__path
Field descriptor (offset) for struct member 'path'.static long[]
__DNA__FIELD__path_len
Field descriptor (offset) for struct member 'path_len'.static long[]
__DNA__FIELD__preset
Field descriptor (offset) for struct member 'preset'.static long[]
__DNA__FIELD__segments
Field descriptor (offset) for struct member 'segments'.static long[]
__DNA__FIELD__segments_len
Field descriptor (offset) for struct member 'segments_len'.static long[]
__DNA__FIELD__table
Field descriptor (offset) for struct member 'table'.static long[]
__DNA__FIELD__view_rect
Field descriptor (offset) for struct member 'view_rect'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct CurveProfile.-
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 CurveProfile(long __address, Block __block, BlockTable __blockTable)
protected
CurveProfile(CurveProfile that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<CurveProfile>
__io__addressof()
Instantiates a pointer on this instance.int
getChanged_timestamp()
Get method for struct member 'changed_timestamp'.rctf
getClip_rect()
Get method for struct member 'clip_rect'.int
getFlag()
Get method for struct member 'flag'.CPointer<CurveProfilePoint>
getPath()
Get method for struct member 'path'.short
getPath_len()
Get method for struct member 'path_len'.int
getPreset()
Get method for struct member 'preset'.CPointer<CurveProfilePoint>
getSegments()
Get method for struct member 'segments'.short
getSegments_len()
Get method for struct member 'segments_len'.CPointer<CurveProfilePoint>
getTable()
Get method for struct member 'table'.rctf
getView_rect()
Get method for struct member 'view_rect'.void
setChanged_timestamp(int changed_timestamp)
Set method for struct member 'changed_timestamp'.void
setClip_rect(rctf clip_rect)
Set method for struct member 'clip_rect'.void
setFlag(int flag)
Set method for struct member 'flag'.void
setPath(CPointer<CurveProfilePoint> path)
Set method for struct member 'path'.void
setPath_len(short path_len)
Set method for struct member 'path_len'.void
setPreset(int preset)
Set method for struct member 'preset'.void
setSegments(CPointer<CurveProfilePoint> segments)
Set method for struct member 'segments'.void
setSegments_len(short segments_len)
Set method for struct member 'segments_len'.void
setTable(CPointer<CurveProfilePoint> table)
Set method for struct member 'table'.void
setView_rect(rctf view_rect)
Set method for struct member 'view_rect'.-
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 CurveProfile.It is required when allocating a new block to store data for CurveProfile.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__path_len
public static final long[] __DNA__FIELD__path_len
Field descriptor (offset) for struct member 'path_len'.Field Documentation
Blender Source Code
Number of user-added points that define the profile.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CurveProfile curveprofile = ...; CPointer<Object> p = curveprofile.__dna__addressof(CurveProfile.__DNA__FIELD__path_len); CPointer<Short> p_path_len = p.cast(new Class[]{Short.class});
Metadata
- Field: 'path_len'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__segments_len
public static final long[] __DNA__FIELD__segments_len
Field descriptor (offset) for struct member 'segments_len'.Field Documentation
Blender Source Code
Number of sampled points.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CurveProfile curveprofile = ...; CPointer<Object> p = curveprofile.__dna__addressof(CurveProfile.__DNA__FIELD__segments_len); CPointer<Short> p_segments_len = p.cast(new Class[]{Short.class});
Metadata
- Field: 'segments_len'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__preset
public static final long[] __DNA__FIELD__preset
Field descriptor (offset) for struct member 'preset'.Field Documentation
Blender Source Code
Preset to use when reset.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CurveProfile curveprofile = ...; CPointer<Object> p = curveprofile.__dna__addressof(CurveProfile.__DNA__FIELD__preset); CPointer<Integer> p_preset = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'preset'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__path
public static final long[] __DNA__FIELD__path
Field descriptor (offset) for struct member 'path'.Field Documentation
Blender Source Code
Sequence
of points defining the shape of the curve.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CurveProfile curveprofile = ...; CPointer<Object> p = curveprofile.__dna__addressof(CurveProfile.__DNA__FIELD__path); CPointer<CPointer<CurveProfilePoint>> p_path = p.cast(new Class[]{CPointer.class, CurveProfilePoint.class});
Metadata
- Field: 'path'
- Signature: 'CurveProfilePoint*'
- 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 evaluation table at higher resolution for curves.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CurveProfile curveprofile = ...; CPointer<Object> p = curveprofile.__dna__addressof(CurveProfile.__DNA__FIELD__table); CPointer<CPointer<CurveProfilePoint>> p_table = p.cast(new Class[]{CPointer.class, CurveProfilePoint.class});
Metadata
- Field: 'table'
- Signature: 'CurveProfilePoint*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__segments
public static final long[] __DNA__FIELD__segments
Field descriptor (offset) for struct member 'segments'.Field Documentation
Blender Python API
(read-only) Segments sampled from control pointsBlender Source Code
The positions of the sampled points. Used to display a preview of where they will be.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CurveProfile curveprofile = ...; CPointer<Object> p = curveprofile.__dna__addressof(CurveProfile.__DNA__FIELD__segments); CPointer<CPointer<CurveProfilePoint>> p_segments = p.cast(new Class[]{CPointer.class, CurveProfilePoint.class});
Metadata
- Field: 'segments'
- Signature: 'CurveProfilePoint*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__flag
public static final long[] __DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.Field Documentation
Blender Source Code
Flag for mode states, sampling options, etc...
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CurveProfile curveprofile = ...; CPointer<Object> p = curveprofile.__dna__addressof(CurveProfile.__DNA__FIELD__flag); CPointer<Integer> p_flag = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'flag'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__changed_timestamp
public static final long[] __DNA__FIELD__changed_timestamp
Field descriptor (offset) for struct member 'changed_timestamp'.Field Documentation
Blender Source Code
Used for keeping track how many times the widget is changed.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CurveProfile curveprofile = ...; CPointer<Object> p = curveprofile.__dna__addressof(CurveProfile.__DNA__FIELD__changed_timestamp); CPointer<Integer> p_changed_timestamp = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'changed_timestamp'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__view_rect
public static final long[] __DNA__FIELD__view_rect
Field descriptor (offset) for struct member 'view_rect'.Field Documentation
Blender Source Code
Widget's current view, and clipping rect (is default rect too).
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CurveProfile curveprofile = ...; CPointer<Object> p = curveprofile.__dna__addressof(CurveProfile.__DNA__FIELD__view_rect); CPointer<rctf> p_view_rect = p.cast(new Class[]{rctf.class});
Metadata
- Field: 'view_rect'
- Signature: 'rctf'
- Actual Size (32bit/64bit): 16/16
-
__DNA__FIELD__clip_rect
public static final long[] __DNA__FIELD__clip_rect
Field descriptor (offset) for struct member 'clip_rect'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CurveProfile curveprofile = ...; CPointer<Object> p = curveprofile.__dna__addressof(CurveProfile.__DNA__FIELD__clip_rect); CPointer<rctf> p_clip_rect = p.cast(new Class[]{rctf.class});
Metadata
- Field: 'clip_rect'
- Signature: 'rctf'
- Actual Size (32bit/64bit): 16/16
-
-
Constructor Detail
-
CurveProfile
public CurveProfile(long __address, Block __block, BlockTable __blockTable)
-
CurveProfile
protected CurveProfile(CurveProfile that)
-
-
Method Detail
-
getPath_len
public short getPath_len() throws java.io.IOException
Get method for struct member 'path_len'.Field Documentation
Blender Source Code
Number of user-added points that define the profile.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__path_len
-
setPath_len
public void setPath_len(short path_len) throws java.io.IOException
Set method for struct member 'path_len'.Field Documentation
Blender Source Code
Number of user-added points that define the profile.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__path_len
-
getSegments_len
public short getSegments_len() throws java.io.IOException
Get method for struct member 'segments_len'.Field Documentation
Blender Source Code
Number of sampled points.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__segments_len
-
setSegments_len
public void setSegments_len(short segments_len) throws java.io.IOException
Set method for struct member 'segments_len'.Field Documentation
Blender Source Code
Number of sampled points.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__segments_len
-
getPreset
public int getPreset() throws java.io.IOException
Get method for struct member 'preset'.Field Documentation
Blender Source Code
Preset to use when reset.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__preset
-
setPreset
public void setPreset(int preset) throws java.io.IOException
Set method for struct member 'preset'.Field Documentation
Blender Source Code
Preset to use when reset.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__preset
-
getPath
public CPointer<CurveProfilePoint> getPath() throws java.io.IOException
Get method for struct member 'path'.Field Documentation
Blender Source Code
Sequence
of points defining the shape of the curve.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__path
-
setPath
public void setPath(CPointer<CurveProfilePoint> path) throws java.io.IOException
Set method for struct member 'path'.Field Documentation
Blender Source Code
Sequence
of points defining the shape of the curve.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__path
-
getTable
public CPointer<CurveProfilePoint> getTable() throws java.io.IOException
Get method for struct member 'table'.Field Documentation
Blender Source Code
Display and evaluation table at higher resolution for curves.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__table
-
setTable
public void setTable(CPointer<CurveProfilePoint> table) throws java.io.IOException
Set method for struct member 'table'.Field Documentation
Blender Source Code
Display and evaluation table at higher resolution for curves.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__table
-
getSegments
public CPointer<CurveProfilePoint> getSegments() throws java.io.IOException
Get method for struct member 'segments'.Field Documentation
Blender Python API
(read-only) Segments sampled from control pointsBlender Source Code
The positions of the sampled points. Used to display a preview of where they will be.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__segments
-
setSegments
public void setSegments(CPointer<CurveProfilePoint> segments) throws java.io.IOException
Set method for struct member 'segments'.Field Documentation
Blender Python API
(read-only) Segments sampled from control pointsBlender Source Code
The positions of the sampled points. Used to display a preview of where they will be.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__segments
-
getFlag
public int getFlag() throws java.io.IOException
Get method for struct member 'flag'.Field Documentation
Blender Source Code
Flag for mode states, sampling options, etc...
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
setFlag
public void setFlag(int flag) throws java.io.IOException
Set method for struct member 'flag'.Field Documentation
Blender Source Code
Flag for mode states, sampling options, etc...
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
getChanged_timestamp
public int getChanged_timestamp() throws java.io.IOException
Get method for struct member 'changed_timestamp'.Field Documentation
Blender Source Code
Used for keeping track how many times the widget is changed.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__changed_timestamp
-
setChanged_timestamp
public void setChanged_timestamp(int changed_timestamp) throws java.io.IOException
Set method for struct member 'changed_timestamp'.Field Documentation
Blender Source Code
Used for keeping track how many times the widget is changed.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__changed_timestamp
-
getView_rect
public rctf getView_rect() throws java.io.IOException
Get method for struct member 'view_rect'.Field Documentation
Blender Source Code
Widget's current view, and clipping rect (is default rect too).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__view_rect
-
setView_rect
public void setView_rect(rctf view_rect) throws java.io.IOException
Set method for struct member 'view_rect'.Field Documentation
Blender Source Code
Widget's current view, and clipping rect (is default rect too).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__view_rect
-
getClip_rect
public rctf getClip_rect() throws java.io.IOException
Get method for struct member 'clip_rect'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__clip_rect
-
setClip_rect
public void setClip_rect(rctf clip_rect) throws java.io.IOException
Set method for struct member 'clip_rect'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__clip_rect
-
__io__addressof
public CPointer<CurveProfile> __io__addressof()
Instantiates a pointer on this instance.
-
-