vtk-m/vtkm/rendering
Kenneth Moreland 0da5573085 Fix scaling of x/y field of views
Prevously, the x field of view was computed by scaling the y field of
view by the aspect ratio of the canvas. However, this is wrong because
the field of view angles do not scale linearly with the aspect ratio.
Fix this issue by using trig functions to convert the angle to distance,
scale the distance, and then convert back to angle.
2018-05-07 18:40:45 -06:00
..
internal Merge branch 'master' into cmake_refactor 2017-11-28 13:36:02 -07:00
raytracing Fix scaling of x/y field of views 2018-05-07 18:40:45 -06:00
testing Merge branch 'master' into vtk-m-cmake_refactor 2018-03-29 22:51:26 -04:00
Actor.cxx Remove default constructor for ColorTable 2018-04-02 11:44:17 -06:00
Actor.h Introduce vtkm::cont::ColorTable replacing vtkm::rendering::ColorTable 2018-03-28 16:11:23 -04:00
AxisAnnotation2D.cxx Removing move command to remove warnings. 2018-04-10 10:27:12 -04:00
AxisAnnotation2D.h Adding delete and assignment oeprators to annotations. 2018-04-09 14:09:52 -04:00
AxisAnnotation3D.cxx Removing move command to remove warnings. 2018-04-10 10:27:12 -04:00
AxisAnnotation3D.h Adding delete and assignment oeprators to annotations. 2018-04-09 14:09:52 -04:00
AxisAnnotation.cxx Update copyright for Sandia 2017-09-20 15:33:44 -06:00
AxisAnnotation.h Update copyright for Sandia 2017-09-20 15:33:44 -06:00
BitmapFont.cxx Update copyright for Sandia 2017-09-20 15:33:44 -06:00
BitmapFont.h Update copyright for Sandia 2017-09-20 15:33:44 -06:00
BitmapFontFactory.cxx Update copyright for Sandia 2017-09-20 15:33:44 -06:00
BitmapFontFactory.h Update copyright for Sandia 2017-09-20 15:33:44 -06:00
BoundingBoxAnnotation.cxx Update copyright for Sandia 2017-09-20 15:33:44 -06:00
BoundingBoxAnnotation.h Update copyright for Sandia 2017-09-20 15:33:44 -06:00
Camera.cxx Enable highest level of warnings(W4) under MSVC 2017-09-22 13:04:28 -04:00
Camera.h Misc. typos 2018-01-30 06:51:47 -05:00
Canvas.cxx Correct casting warnings found inside vtkm_rendering 2018-04-24 13:00:33 -04:00
Canvas.h Introduce vtkm::cont::ColorTable replacing vtkm::rendering::ColorTable 2018-03-28 16:11:23 -04:00
CanvasEGL.cxx Update copyright for Sandia 2017-09-20 15:33:44 -06:00
CanvasEGL.h Remove all uses of VTKM_OVERRIDE at instead just use override. 2017-11-02 09:18:15 -04:00
CanvasGL.cxx Fix off-by-one-overrun of color table map array 2018-03-29 14:19:22 -06:00
CanvasGL.h Introduce vtkm::cont::ColorTable replacing vtkm::rendering::ColorTable 2018-03-28 16:11:23 -04:00
CanvasOSMesa.cxx Update copyright for Sandia 2017-09-20 15:33:44 -06:00
CanvasOSMesa.h Remove all uses of VTKM_OVERRIDE at instead just use override. 2017-11-02 09:18:15 -04:00
CanvasRayTracer.cxx Misc. typos 2018-01-30 06:51:47 -05:00
CanvasRayTracer.h Remove all uses of VTKM_OVERRIDE at instead just use override. 2017-11-02 09:18:15 -04:00
CMakeLists.txt Adding previous cmake fix. 2018-04-09 14:04:52 -04:00
Color.cxx Update copyright for Sandia 2017-09-20 15:33:44 -06:00
Color.h Update copyright for Sandia 2017-09-20 15:33:44 -06:00
ColorBarAnnotation.cxx Remove default constructor for ColorTable 2018-04-02 11:44:17 -06:00
ColorBarAnnotation.h Introduce vtkm::cont::ColorTable replacing vtkm::rendering::ColorTable 2018-03-28 16:11:23 -04:00
ColorLegendAnnotation.cxx Removing move command to remove warnings. 2018-04-10 10:27:12 -04:00
ColorLegendAnnotation.h Adding delete and assignment oeprators to annotations. 2018-04-09 14:09:52 -04:00
ConnectivityProxy.cxx Introduce vtkm::cont::ColorTable replacing vtkm::rendering::ColorTable 2018-03-28 16:11:23 -04:00
ConnectivityProxy.h Introduce vtkm::cont::ColorTable replacing vtkm::rendering::ColorTable 2018-03-28 16:11:23 -04:00
DecodePNG.cxx Misc. typos 2018-01-30 06:51:47 -05:00
DecodePNG.h Update copyright for Sandia 2017-09-20 15:33:44 -06:00
LineRenderer.cxx Depth no considered with annotations. Fix for volume renderer. Consistent color blending. 2018-01-29 11:39:21 -08:00
LineRenderer.h Fix copyright header merge issues 2017-09-22 15:31:27 -07:00
Mapper.cxx Introduce vtkm::cont::ColorTable replacing vtkm::rendering::ColorTable 2018-03-28 16:11:23 -04:00
Mapper.h Introduce vtkm::cont::ColorTable replacing vtkm::rendering::ColorTable 2018-03-28 16:11:23 -04:00
MapperConnectivity.cxx Introduce vtkm::cont::ColorTable replacing vtkm::rendering::ColorTable 2018-03-28 16:11:23 -04:00
MapperConnectivity.h Introduce vtkm::cont::ColorTable replacing vtkm::rendering::ColorTable 2018-03-28 16:11:23 -04:00
MapperGL.cxx Introduce vtkm::cont::ColorTable replacing vtkm::rendering::ColorTable 2018-03-28 16:11:23 -04:00
MapperGL.h Introduce vtkm::cont::ColorTable replacing vtkm::rendering::ColorTable 2018-03-28 16:11:23 -04:00
MapperRayTracer.cxx Introduce vtkm::cont::ColorTable replacing vtkm::rendering::ColorTable 2018-03-28 16:11:23 -04:00
MapperRayTracer.h Introduce vtkm::cont::ColorTable replacing vtkm::rendering::ColorTable 2018-03-28 16:11:23 -04:00
MapperVolume.cxx Introduce vtkm::cont::ColorTable replacing vtkm::rendering::ColorTable 2018-03-28 16:11:23 -04:00
MapperVolume.h Introduce vtkm::cont::ColorTable replacing vtkm::rendering::ColorTable 2018-03-28 16:11:23 -04:00
MapperWireframer.cxx Move Scatter from Worklet to Dispatcher 2018-04-27 00:43:51 -04:00
MapperWireframer.h Introduce vtkm::cont::ColorTable replacing vtkm::rendering::ColorTable 2018-03-28 16:11:23 -04:00
MatrixHelpers.h Update copyright for Sandia 2017-09-20 15:33:44 -06:00
Scene.cxx Update copyright for Sandia 2017-09-20 15:33:44 -06:00
Scene.h Update copyright for Sandia 2017-09-20 15:33:44 -06:00
TextAnnotation.cxx Update copyright for Sandia 2017-09-20 15:33:44 -06:00
TextAnnotation.h Update copyright for Sandia 2017-09-20 15:33:44 -06:00
TextAnnotationBillboard.cxx Depth no considered with annotations. Fix for volume renderer. Consistent color blending. 2018-01-29 11:39:21 -08:00
TextAnnotationBillboard.h Remove all uses of VTKM_OVERRIDE at instead just use override. 2017-11-02 09:18:15 -04:00
TextAnnotationScreen.cxx Update copyright for Sandia 2017-09-20 15:33:44 -06:00
TextAnnotationScreen.h Remove all uses of VTKM_OVERRIDE at instead just use override. 2017-11-02 09:18:15 -04:00
TextRenderer.cxx Merge branch 'master' into vtk-m-cmake_refactor 2018-02-23 14:52:00 -05:00
TextRenderer.h Depth no considered with annotations. Fix for volume renderer. Consistent color blending. 2018-01-29 11:39:21 -08:00
Texture2D.h Correct 'may be used uninitialized in this function' warnings in wavelets 2018-04-24 13:27:51 -04:00
TextureGL.cxx Update copyright for Sandia 2017-09-20 15:33:44 -06:00
TextureGL.h Introduce vtkm::cont::ColorTable replacing vtkm::rendering::ColorTable 2018-03-28 16:11:23 -04:00
Triangulator.h Misc. typos 2018-01-30 06:51:47 -05:00
View1D.cxx Introduce vtkm::cont::ColorTable replacing vtkm::rendering::ColorTable 2018-03-28 16:11:23 -04:00
View1D.h let there be foreground color 2017-12-04 20:46:38 -08:00
View2D.cxx adding finer grain control over color bar and scalar field label 2018-01-18 13:21:39 -08:00
View2D.h let there be foreground color 2017-12-04 20:46:38 -08:00
View3D.cxx adding finer grain control over color bar and scalar field label 2018-01-18 13:21:39 -08:00
View3D.h let there be foreground color 2017-12-04 20:46:38 -08:00
View.cxx let there be foreground color 2017-12-04 20:46:38 -08:00
View.h let there be foreground color 2017-12-04 20:46:38 -08:00
Wireframer.h Update CoordinateSystem to use the Virtual Array 2018-01-10 10:19:19 -05:00
WorldAnnotator.cxx Depth no considered with annotations. Fix for volume renderer. Consistent color blending. 2018-01-29 11:39:21 -08:00
WorldAnnotator.h Depth no considered with annotations. Fix for volume renderer. Consistent color blending. 2018-01-29 11:39:21 -08:00
WorldAnnotatorGL.cxx Depth no considered with annotations. Fix for volume renderer. Consistent color blending. 2018-01-29 11:39:21 -08:00
WorldAnnotatorGL.h Depth no considered with annotations. Fix for volume renderer. Consistent color blending. 2018-01-29 11:39:21 -08:00