public class CurveProfile extends CFacade
Defines a profile.
Modifier and Type | Field and 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.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
CurveProfile(CurveProfile that) |
|
CurveProfile(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and 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'.
|
short |
getPath_len()
Get method for struct member 'path_len'.
|
CPointer<CurveProfilePoint> |
getPath()
Get method for struct member 'path'.
|
int |
getPreset()
Get method for struct member 'preset'.
|
short |
getSegments_len()
Get method for struct member 'segments_len'.
|
CPointer<CurveProfilePoint> |
getSegments()
Get method for struct member 'segments'.
|
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_len(short path_len)
Set method for struct member 'path_len'.
|
void |
setPath(CPointer<CurveProfilePoint> path)
Set method for struct member 'path'.
|
void |
setPreset(int preset)
Set method for struct member 'preset'.
|
void |
setSegments_len(short segments_len)
Set method for struct member 'segments_len'.
|
void |
setSegments(CPointer<CurveProfilePoint> segments)
Set method for struct member 'segments'.
|
void |
setTable(CPointer<CurveProfilePoint> table)
Set method for struct member 'table'.
|
void |
setView_rect(rctf view_rect)
Set method for struct member 'view_rect'.
|
__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 CurveProfile.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__path_len
Number of user-added points that define the profile.
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});
public static final long[] __DNA__FIELD__segments_len
Number of sampled points.
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});
public static final long[] __DNA__FIELD__preset
Preset to use when reset.
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});
public static final long[] __DNA__FIELD__path
Sequence
of points defining the shape of the curve.
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});
public static final long[] __DNA__FIELD__table
Display and evaluation table at higher resolution for curves.
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});
public static final long[] __DNA__FIELD__segments
The positions of the sampled points. Used to display a preview of where they will be.
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});
public static final long[] __DNA__FIELD__flag
Flag for mode states, sampling options, etc...
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});
public static final long[] __DNA__FIELD__changed_timestamp
Used for keeping track how many times the widget is changed.
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});
public static final long[] __DNA__FIELD__view_rect
Widget's current view, and clipping rect (is default rect too).
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});
public static final long[] __DNA__FIELD__clip_rect
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});
public CurveProfile(long __address, Block __block, BlockTable __blockTable)
protected CurveProfile(CurveProfile that)
public short getPath_len() throws java.io.IOException
Number of user-added points that define the profile.
java.io.IOException
__DNA__FIELD__path_len
public void setPath_len(short path_len) throws java.io.IOException
Number of user-added points that define the profile.
java.io.IOException
__DNA__FIELD__path_len
public short getSegments_len() throws java.io.IOException
Number of sampled points.
java.io.IOException
__DNA__FIELD__segments_len
public void setSegments_len(short segments_len) throws java.io.IOException
Number of sampled points.
java.io.IOException
__DNA__FIELD__segments_len
public int getPreset() throws java.io.IOException
Preset to use when reset.
java.io.IOException
__DNA__FIELD__preset
public void setPreset(int preset) throws java.io.IOException
Preset to use when reset.
java.io.IOException
__DNA__FIELD__preset
public CPointer<CurveProfilePoint> getPath() throws java.io.IOException
Sequence
of points defining the shape of the curve.
java.io.IOException
__DNA__FIELD__path
public void setPath(CPointer<CurveProfilePoint> path) throws java.io.IOException
Sequence
of points defining the shape of the curve.
java.io.IOException
__DNA__FIELD__path
public CPointer<CurveProfilePoint> getTable() throws java.io.IOException
Display and evaluation table at higher resolution for curves.
java.io.IOException
__DNA__FIELD__table
public void setTable(CPointer<CurveProfilePoint> table) throws java.io.IOException
Display and evaluation table at higher resolution for curves.
java.io.IOException
__DNA__FIELD__table
public CPointer<CurveProfilePoint> getSegments() throws java.io.IOException
The positions of the sampled points. Used to display a preview of where they will be.
java.io.IOException
__DNA__FIELD__segments
public void setSegments(CPointer<CurveProfilePoint> segments) throws java.io.IOException
The positions of the sampled points. Used to display a preview of where they will be.
java.io.IOException
__DNA__FIELD__segments
public int getFlag() throws java.io.IOException
Flag for mode states, sampling options, etc...
java.io.IOException
__DNA__FIELD__flag
public void setFlag(int flag) throws java.io.IOException
Flag for mode states, sampling options, etc...
java.io.IOException
__DNA__FIELD__flag
public int getChanged_timestamp() throws java.io.IOException
Used for keeping track how many times the widget is changed.
java.io.IOException
__DNA__FIELD__changed_timestamp
public void setChanged_timestamp(int changed_timestamp) throws java.io.IOException
Used for keeping track how many times the widget is changed.
java.io.IOException
__DNA__FIELD__changed_timestamp
public rctf getView_rect() throws java.io.IOException
Widget's current view, and clipping rect (is default rect too).
java.io.IOException
__DNA__FIELD__view_rect
public void setView_rect(rctf view_rect) throws java.io.IOException
Widget's current view, and clipping rect (is default rect too).
java.io.IOException
__DNA__FIELD__view_rect
public rctf getClip_rect() throws java.io.IOException
java.io.IOException
__DNA__FIELD__clip_rect
public void setClip_rect(rctf clip_rect) throws java.io.IOException
java.io.IOException
__DNA__FIELD__clip_rect
public CPointer<CurveProfile> __io__addressof()