void Slice::draw_plane (int axis, Displayable::Shader& shader_program, Projection& with_projection) { setup_draw (axis, with_projection); draw_plane_primitive (axis, shader_program, with_projection); draw_crosshairs (with_projection); draw_orientation_labels (with_projection); }
void Slice::draw_plane (int axis, Displayable::Shader& shader_program, Projection& with_projection) { ASSERT_GL_MRVIEW_CONTEXT_IS_CURRENT; setup_projection (axis, with_projection); draw_plane_primitive (axis, shader_program, with_projection); draw_crosshairs (with_projection); draw_orientation_labels (with_projection); ASSERT_GL_MRVIEW_CONTEXT_IS_CURRENT; }