~ubuntu-branches/ubuntu/trusty/blender/trusty-proposed

« back to all changes in this revision

Viewing changes to source/blender/editors/space_view3d/view3d_intern.h

  • Committer: Package Import Robot
  • Author(s): Matteo F. Vescovi
  • Date: 2013-08-14 10:43:49 UTC
  • mfrom: (14.2.19 sid)
  • Revision ID: package-import@ubuntu.com-20130814104349-t1d5mtwkphp12dyj
Tags: 2.68a-3
* Upload to unstable
* debian/: python3.3 Depends simplified
  - debian/control: python3.3 Depends dropped
    for blender-data package
  - 0001-blender_thumbnailer.patch refreshed
* debian/control: libavcodec b-dep versioning dropped

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
struct bMotionPath;
48
48
struct bPoseChannel;
49
49
struct bScreen;
 
50
struct Mesh;
50
51
struct wmNDOFMotionData;
51
52
struct wmOperatorType;
52
53
struct wmWindowManager;
86
87
void VIEW3D_OT_view_lock_clear(struct wmOperatorType *ot);
87
88
void VIEW3D_OT_view_lock_to_active(struct wmOperatorType *ot);
88
89
void VIEW3D_OT_view_center_cursor(struct wmOperatorType *ot);
 
90
void VIEW3D_OT_view_center_pick(struct wmOperatorType *ot);
89
91
void VIEW3D_OT_view_center_camera(struct wmOperatorType *ot);
90
92
void VIEW3D_OT_view_pan(struct wmOperatorType *ot);
91
93
void VIEW3D_OT_view_persportho(struct wmOperatorType *ot);
101
103
void VIEW3D_OT_zoom_border(struct wmOperatorType *ot);
102
104
 
103
105
void view3d_boxview_copy(ScrArea *sa, ARegion *ar);
104
 
void ndof_to_quat(struct wmNDOFMotionData *ndof, float q[4]);
105
 
float ndof_to_axis_angle(struct wmNDOFMotionData *ndof, float axis[3]);
 
106
void ndof_to_quat(const struct wmNDOFMotionData *ndof, float q[4]);
 
107
float ndof_to_axis_angle(const struct wmNDOFMotionData *ndof, float axis[3]);
106
108
 
107
109
/* view3d_fly.c */
108
110
void view3d_keymap(struct wmKeyConfig *keyconf);
109
111
void VIEW3D_OT_fly(struct wmOperatorType *ot);
110
112
 
 
113
/* view3d_ruler.c */
 
114
void VIEW3D_OT_ruler(struct wmOperatorType *ot);
 
115
 
111
116
/* drawanim.c */
112
117
void draw_motion_paths_init(View3D *v3d, struct ARegion *ar);
113
118
void draw_motion_path_instance(Scene *scene,
119
124
 
120
125
/* drawobject.c */
121
126
void draw_object(Scene *scene, struct ARegion *ar, View3D *v3d, Base *base, const short dflag);
122
 
int draw_glsl_material(Scene *scene, struct Object *ob, View3D *v3d, const char dt);
 
127
bool draw_glsl_material(Scene *scene, struct Object *ob, View3D *v3d, const char dt);
123
128
void draw_object_instance(Scene *scene, View3D *v3d, RegionView3D *rv3d, struct Object *ob, const char dt, int outline);
124
129
void draw_object_backbufsel(Scene *scene, View3D *v3d, RegionView3D *rv3d, struct Object *ob);
125
130
void drawaxes(float size, char drawtype);
126
131
 
127
132
void view3d_cached_text_draw_begin(void);
128
133
void view3d_cached_text_draw_add(const float co[3], const char *str, short xoffs, short flag, const unsigned char col[4]);
129
 
void view3d_cached_text_draw_end(View3D * v3d, ARegion * ar, int depth_write, float mat[4][4]);
 
134
void view3d_cached_text_draw_end(View3D *v3d, ARegion *ar, bool depth_write, float mat[4][4]);
130
135
 
131
136
enum {
132
137
        V3D_CACHE_TEXT_ZBUF         = (1 << 0),
137
142
};
138
143
 
139
144
/* drawarmature.c */
140
 
int draw_armature(Scene *scene, View3D *v3d, ARegion *ar, Base *base,
141
 
                  const short dt, const short dflag, const unsigned char ob_wire_col[4],
142
 
                  const short is_outline);
 
145
bool draw_armature(Scene *scene, View3D *v3d, ARegion *ar, Base *base,
 
146
                   const short dt, const short dflag, const unsigned char ob_wire_col[4],
 
147
                   const bool is_outline);
143
148
 
144
149
/* drawmesh.c */
145
150
void draw_mesh_textured(Scene *scene, View3D *v3d, RegionView3D *rv3d,
146
151
                        struct Object *ob, struct DerivedMesh *dm, const int draw_flags);
 
152
void draw_mesh_face_select(struct RegionView3D *rv3d, struct Mesh *me, struct DerivedMesh *dm);
 
153
void draw_mesh_paint_weight_faces(struct DerivedMesh *dm, const bool do_light,
 
154
                                  void *facemask_cb, void *user_data);
 
155
void draw_mesh_paint_weight_edges(RegionView3D *rv3d, struct DerivedMesh *dm, const bool use_depth,
 
156
                                  void *edgemask_cb, void *user_data);
147
157
void draw_mesh_paint(View3D *v3d, RegionView3D *rv3d,
148
158
                     struct Object *ob, struct DerivedMesh *dm, const int draw_flags);
149
159
 
150
160
/* view3d_draw.c */
151
161
void view3d_main_area_draw(const struct bContext *C, struct ARegion *ar);
152
 
void draw_depth(Scene *scene, struct ARegion *ar, View3D *v3d, int (*func)(void *));
 
162
void draw_depth(Scene *scene, struct ARegion *ar, View3D *v3d, int (*func)(void *), bool alphaoverride);
153
163
void draw_depth_gpencil(Scene *scene, ARegion *ar, View3D *v3d);
154
164
void ED_view3d_after_add(ListBase *lb, Base *base, const short dflag);
155
165
 
173
183
void VIEW3D_OT_game_start(struct wmOperatorType *ot);
174
184
 
175
185
 
176
 
int ED_view3d_boundbox_clip(RegionView3D * rv3d, float obmat[4][4], struct BoundBox *bb);
 
186
bool ED_view3d_boundbox_clip(RegionView3D *rv3d, float obmat[4][4], const struct BoundBox *bb);
177
187
 
178
188
void view3d_smooth_view(struct bContext *C, struct View3D *v3d, struct ARegion *ar, struct Object *, struct Object *,
179
189
                        float *ofs, float *quat, float *dist, float *lens);
197
207
void view3d_tool_props_register(struct ARegionType *art);
198
208
 
199
209
/* view3d_snap.c */
200
 
int ED_view3d_minmax_verts(struct Object *obedit, float min[3], float max[3]);
 
210
bool ED_view3d_minmax_verts(struct Object *obedit, float min[3], float max[3]);
201
211
 
202
212
void VIEW3D_OT_snap_selected_to_grid(struct wmOperatorType *ot);
203
213
void VIEW3D_OT_snap_selected_to_cursor(struct wmOperatorType *ot);
236
246
#define VIEW3D_CAMERA_BORDER_HACK
237
247
#ifdef VIEW3D_CAMERA_BORDER_HACK
238
248
extern unsigned char view3d_camera_border_hack_col[3];
239
 
extern short view3d_camera_border_hack_test;
 
249
extern bool view3d_camera_border_hack_test;
240
250
#endif
241
251
 
242
252
#endif /* __VIEW3D_INTERN_H__ */