comparison src/gl-render.h @ 12327:2ad37783bf01 axes-layout

Move axes layout from opengl_renderer::draw_axes to axes::properties
author Konstantinos Poulios <logari81@googlemail.com>
date Thu, 03 Feb 2011 01:00:32 +0100
parents 85934e0fcce9
children 63dc132a1000
comparison
equal deleted inserted replaced
12326:731a0b589cab 12327:2ad37783bf01
164 unsigned int make_marker_list (const std::string& m, double size, 164 unsigned int make_marker_list (const std::string& m, double size,
165 bool filled) const; 165 bool filled) const;
166 166
167 void setup_opengl_transformation (const axes::properties& props); 167 void setup_opengl_transformation (const axes::properties& props);
168 168
169 void draw_axes_planes (bool visible, const Matrix& axe_color, 169 void draw_axes_planes (const axes::properties& props);
170 const Matrix& xlim, const Matrix& ylim, 170 void draw_axes_boxes (const axes::properties& props);
171 const Matrix& zlim, double x_plane, 171
172 double y_plane, double z_plane); 172 void draw_axes_x_grid (const axes::properties& props);
173 173 void draw_axes_y_grid (const axes::properties& props);
174 void draw_axes_boxes (const axes::properties& props, 174 void draw_axes_z_grid (const axes::properties& props);
175 bool visible, bool box, bool xySym, 175
176 double xPlane, double yPlane, double zPlane, 176 void draw_axes_title (const axes::properties& props);
177 double xPlaneN, double yPlaneN, double zPlaneN,
178 double xpTick, double ypTick, double zpTick,
179 double xpTickN, double ypTickN, double zpTickN);
180
181 void draw_axes_x_grid (const axes::properties& props,
182 bool visible, bool box,
183 const std::string& gridstyle,
184 const std::string& minorgridstyle,
185 bool nearhoriz, double tickdir,
186 bool xyzSym, bool layer2Dtop,
187 bool x2Dtop, int xstate,
188 double x_min, double x_max,
189 double xticklen, double xtickoffset,
190 double fy, double yPlane, double yPlaneN,
191 double ypTick, double ypTickN,
192 double fz, int zstate, double zPlane,
193 double zPlaneN, double zpTick,
194 double zpTickN);
195
196 void draw_axes_y_grid (const axes::properties& props,
197 bool visible, bool box,
198 const std::string& gridstyle,
199 const std::string& minorgridstyle,
200 bool nearhoriz, double tickdir,
201 bool xyzSym, bool layer2Dtop,
202 bool y2Dright, int ystate,
203 double y_min, double y_max,
204 double yticklen, double ytickoffset,
205 double fx, double xPlane, double xPlaneN,
206 double xpTick, double xpTickN,
207 double fz, int zstate, double zPlane,
208 double zPlaneN, double zpTick,
209 double zpTickN);
210
211 void draw_axes_z_grid (const axes::properties& props,
212 bool visible, bool box,
213 const std::string& gridstyle,
214 const std::string& minorgridstyle,
215 double tickdir, bool xySym, bool zSign,
216 int zstate, double z_min, double z_max,
217 double zticklen, double ztickoffset,
218 double fx, double xPlane, double xPlaneN,
219 double fy, double yPlane, double yPlaneN);
220
221 void draw_axes_title (const axes::properties& props,
222 double x_min, double x_max,
223 double y_min, double y_max,
224 double z_min, double z_max);
225
226 void draw_axes_children (const axes::properties& props); 177 void draw_axes_children (const axes::properties& props);
227 178
228 private: 179 private:
229 // The graphics toolkit associated with the figure being rendered. 180 // The graphics toolkit associated with the figure being rendered.
230 graphics_toolkit toolkit; 181 graphics_toolkit toolkit;