customgui_splinecontrol.h File Reference

Classes

struct  SplineDataCallbackDraw
 
struct  SplineDataCallbackCursorInfo
 
struct  SplineDataCallbackCoreMessage
 
struct  CustomSplineKnot
 
class  SplineData
 
class  SplineControlMessages
 
class  SplineCustomGui
 

Macros

#define CUSTOMGUI_SPLINE
 
#define CUSTOMDATATYPE_SPLINE
 
#define ID_SPLINEGUI_POPUPDIALOG
 
#define SPLINE_CALLBACK_DRAW
 
#define SPLINE_CALLBACK_CURSORINFO
 
#define SPLINE_CALLBACK_CORE_MESSAGE
 
#define IDC_SPLINE_PRESET_POPUPMENU
 
#define IDC_SPLINE_FRAME_ALL
 
#define IDC_SPLINE_FRAME_SEL
 
#define IDC_SPLINE_FRAME_MINMAX
 
#define FLAG_KNOT_T_BREAK
 
#define FLAG_KNOT_LOCK_X
 
#define FLAG_KNOT_LOCK_Y
 
#define FLAG_KNOT_T_LOCK_A
 
#define FLAG_KNOT_T_LOCK_L
 
#define FLAG_KNOT_T_KEEPVISUALANGLE
 
#define ADD_KNOT_ADAPT_TANGENTS
 
#define SPLINE_KNOT_GET_ID(flags)
 
#define SPLINE_KNOT_SET_ID(flags, flag_id)
 

Typedefs

typedef Bool(* SplineDataCallback) (Int32 id, const void *d)
 

Enumerations

enum  {
  SPLINECONTROL_GRID_H ,
  SPLINECONTROL_GRID_V ,
  SPLINECONTROL_VALUE_EDIT_H ,
  SPLINECONTROL_VALUE_EDIT_V ,
  SPLINECONTROL_VALUE_LABELS_H_LEGACY ,
  SPLINECONTROL_VALUE_LABELS_V_LEGACY ,
  SPLINECONTROL_X_MIN ,
  SPLINECONTROL_X_MAX ,
  SPLINECONTROL_X_STEPS ,
  SPLINECONTROL_Y_MIN ,
  SPLINECONTROL_Y_MAX ,
  SPLINECONTROL_Y_STEPS ,
  SPLINECONTROL_PRESET_BTN_LEGACY ,
  SPLINECONTROL_ROUND_SLIDER_LEGACY ,
  SPLINECONTROL_GRIDLINES_H_LEGACY ,
  SPLINECONTROL_GRIDLINES_V_LEGACY ,
  SPLINECONTROL_MINSIZE_H ,
  SPLINECONTROL_MINSIZE_V ,
  SPLINECONTROL_X_MIN_TEXT_LEGACY ,
  SPLINECONTROL_X_MAX_TEXT_LEGACY ,
  SPLINECONTROL_Y_MIN_TEXT_LEGACY ,
  SPLINECONTROL_Y_MAX_TEXT_LEGACY ,
  SPLINECONTROL_X_TEXT ,
  SPLINECONTROL_Y_TEXT ,
  SPLINECONTROL_NEW_NO_HORIZ_LEGACY ,
  SPLINECONTROL_NEW_NO_VERT_LEGACY ,
  SPLINECONTROL_HIDE_GRID_H_LEGACY ,
  SPLINECONTROL_HIDE_GRID_V_LEGACY ,
  SPLINECONTROL_HIDE_PRESET_BTN_LEGACY ,
  SPLINECONTROL_HIDE_ROUND_SLIDER_LEGACY ,
  SPLINECONTROL_HIDE_VALUE_EDIT_H_LEGACY ,
  SPLINECONTROL_HIDE_VALUE_EDIT_V_LEGACY ,
  SPLINECONTROL_HIDE_VALUE_LABELS_H_LEGACY ,
  SPLINECONTROL_HIDE_VALUE_LABELS_V_LEGACY ,
  SPLINECONTROL_ALLOW_HORIZ_SCALE_MOVE ,
  SPLINECONTROL_ALLOW_VERT_SCALE_MOVE ,
  SPLINECONTROL_OPTIMAL ,
  SPLINECONTROL_OPTIMAL_X_MIN ,
  SPLINECONTROL_OPTIMAL_Y_MIN ,
  SPLINECONTROL_OPTIMAL_X_MAX ,
  SPLINECONTROL_OPTIMAL_Y_MAX ,
  SPLINECONTROL_SQUARE ,
  SPLINECONTROL_CUSTOMCOLOR_SET ,
  SPLINECONTROL_CUSTOMCOLOR_COL ,
  SPLINECONTROL_NO_FLOATING_WINDOW ,
  SPLINECONTROL_NO_PRESETS ,
  _SPLINECONTROL_DUMMY_
}
 
enum  CustomSplineKnotInterpolation {
  CustomSplineKnotInterpolationBezier ,
  CustomSplineKnotInterpolationLinear ,
  CustomSplineKnotInterpolationCubic
}
 
enum  {
  SPLINE_TYPE_SOFT ,
  SPLINE_TYPE_EASEIN ,
  SPLINE_TYPE_EASEOUT ,
  SPLINE_TYPE_EASEEASE ,
  SPLINE_TYPE_ZERO ,
  SPLINE_TYPE_UNIFY
}
 

Macro Definition Documentation

◆ CUSTOMGUI_SPLINE

#define CUSTOMGUI_SPLINE

Spline GUI ID.

◆ CUSTOMDATATYPE_SPLINE

#define CUSTOMDATATYPE_SPLINE

Spline data type ID.

◆ ID_SPLINEGUI_POPUPDIALOG

#define ID_SPLINEGUI_POPUPDIALOG

Private.

◆ IDC_SPLINE_PRESET_POPUPMENU

#define IDC_SPLINE_PRESET_POPUPMENU

Command ID for the Spline GUI Preset popup menu.

See also
SplineCustomGui::Command()

◆ SPLINE_KNOT_GET_ID

#define SPLINE_KNOT_GET_ID (   flags)

Gets the ID of a CustomSplineKnot. Usage:

Int32 id = SPLINE_KNOT_GET_ID(knot.lFlags);
#define SPLINE_KNOT_GET_ID(flags)
Definition: customgui_splinecontrol.h:185
maxon::Int32 Int32
Definition: ge_sys_math.h:60

◆ SPLINE_KNOT_SET_ID

#define SPLINE_KNOT_SET_ID (   flags,
  flag_id 
)

Sets the ID of a CustomSplineKnot. Usage:

SPLINE_KNOT_SET_ID(knot.lFlags, id);
#define SPLINE_KNOT_SET_ID(flags, flag_id)
Definition: customgui_splinecontrol.h:191

Typedef Documentation

◆ SplineDataCallback

typedef Bool(* SplineDataCallback) (Int32 id, const void *d)

User callback set by SplineData::SetUserCallback.

Parameters
[in]idThe type of call: SPLINE_CALLBACK
[in]dThe callback data. Can be either SplineDataCallbackDraw, SplineDataCallbackCursorInfo or SplineDataCallbackCoreMessage depending on the callback call id.
Returns
true if successful, otherwise false.