Blender V4.3
CurveProfile Struct Reference

#include <DNA_curveprofile_types.h>

Public Attributes

short path_len
 
short segments_len
 
int preset
 
CurveProfilePointpath
 
CurveProfilePointtable
 
CurveProfilePointsegments
 
int flag
 
int changed_timestamp
 
rctf view_rect
 
rctf clip_rect
 

Detailed Description

Defines a profile.

Definition at line 42 of file DNA_curveprofile_types.h.

Member Data Documentation

◆ changed_timestamp

int CurveProfile::changed_timestamp

Used for keeping track how many times the widget is changed.

Definition at line 58 of file DNA_curveprofile_types.h.

◆ clip_rect

rctf CurveProfile::clip_rect

Definition at line 60 of file DNA_curveprofile_types.h.

◆ flag

int CurveProfile::flag

Flag for mode states, sampling options, etc...

Definition at line 56 of file DNA_curveprofile_types.h.

◆ path

CurveProfilePoint* CurveProfile::path

Sequence of points defining the shape of the curve.

Definition at line 50 of file DNA_curveprofile_types.h.

◆ path_len

short CurveProfile::path_len

Number of user-added points that define the profile.

Definition at line 44 of file DNA_curveprofile_types.h.

◆ preset

int CurveProfile::preset

Preset to use when reset.

Definition at line 48 of file DNA_curveprofile_types.h.

◆ segments

CurveProfilePoint* CurveProfile::segments

The positions of the sampled points. Used to display a preview of where they will be.

Definition at line 54 of file DNA_curveprofile_types.h.

Referenced by set_profile_spacing().

◆ segments_len

short CurveProfile::segments_len

Number of sampled points.

Definition at line 46 of file DNA_curveprofile_types.h.

Referenced by set_profile_spacing().

◆ table

CurveProfilePoint* CurveProfile::table

Display and evaluation table at higher resolution for curves.

Definition at line 52 of file DNA_curveprofile_types.h.

◆ view_rect

rctf CurveProfile::view_rect

Widget's current view, and clipping rect (is default rect too).

Definition at line 60 of file DNA_curveprofile_types.h.

Referenced by ui_draw_but_CURVEPROFILE().


The documentation for this struct was generated from the following file: