コード例 #1
0
ファイル: slice.cpp プロジェクト: JohnWangDataAnalyst/mrtrix3
 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);
 }
コード例 #2
0
ファイル: slice.cpp プロジェクト: richardbeare/mrtrix3
 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;
 }