AMITK Reference Manual | ||||
---|---|---|---|---|
Top | Description |
#define AMITK_LINE_PROFILE_VIEW (linep) #define AMITK_LINE_PROFILE_ANGLE (linep) #define AMITK_LINE_PROFILE_VISIBLE (linep) #define AMITK_LINE_PROFILE_START_POINT (linep) #define AMITK_LINE_PROFILE_END_POINT (linep) AmitkLineProfile; AmitkLineProfileDataElement; AmitkLineProfile* amitk_line_profile_new (void); void amitk_line_profile_copy_in_place (AmitkLineProfile *dest_profile, const AmitkLineProfile *src_profile); void amitk_line_profile_set_view (AmitkLineProfile *line_profile, const AmitkView view); void amitk_line_profile_set_angle (AmitkLineProfile *line_profile, const amide_real_t angle); void amitk_line_profile_set_visible (AmitkLineProfile *line_profile, const gboolean visible); void amitk_line_profile_set_start_point (AmitkLineProfile *line_profile, const AmitkPoint start_point); void amitk_line_profile_set_end_point (AmitkLineProfile *line_profile, const AmitkPoint end_point);
#define AMITK_LINE_PROFILE_VIEW(linep) (AMITK_LINE_PROFILE(linep)->view)
|
#define AMITK_LINE_PROFILE_ANGLE(linep) (AMITK_LINE_PROFILE(linep)->angle)
|
#define AMITK_LINE_PROFILE_VISIBLE(linep) (AMITK_LINE_PROFILE(linep)->visible)
|
#define AMITK_LINE_PROFILE_START_POINT(linep) (AMITK_LINE_PROFILE(linep)->start_point)
|
#define AMITK_LINE_PROFILE_END_POINT(linep) (AMITK_LINE_PROFILE(linep)->end_point)
|
typedef struct { GObject parent; AmitkView view; amide_real_t angle; /* in radians */ gboolean visible; /* in base coordinate frame. These are updated by the canvas */ AmitkPoint start_point; AmitkPoint end_point; } AmitkLineProfile;
typedef struct { amide_real_t value; amide_real_t location; } AmitkLineProfileDataElement;
void amitk_line_profile_copy_in_place (AmitkLineProfile *dest_profile, const AmitkLineProfile *src_profile);
|
|
|
void amitk_line_profile_set_view (AmitkLineProfile *line_profile, const AmitkView view);
|
|
|
void amitk_line_profile_set_angle (AmitkLineProfile *line_profile, const amide_real_t angle);
|
|
|
void amitk_line_profile_set_visible (AmitkLineProfile *line_profile, const gboolean visible);
|
|
|
void amitk_line_profile_set_start_point (AmitkLineProfile *line_profile, const AmitkPoint start_point);
|
|
|
void amitk_line_profile_set_end_point (AmitkLineProfile *line_profile, const AmitkPoint end_point);
|
|
|