vtk-m2/vtkm/rendering
Kenneth Moreland e50d91199c Merge branch 'consolidate-background-color' into 'master'
Consolidate background color in rendering classes

Before this commit, there were three separate classes (Mapper, Canvas,
and View) that were all managing their own version of the background
color. As you can imagine, this could easily become out of sync, and in
fact if the user code did not specify the same background at least
twice, it would not work.

Fix this by consolidating the background color management to the Canvas.
This is the class most responsible for maintaining the background. All
other classes get or set the background from the Canvas.

That said, I also removed setting the background color from the
constructor in the Canvas. This background color is overridden by the
View anyway, so having it there was only confusing.

See merge request !448
2016-06-13 11:46:18 -04:00
..
internal Modify build to handle non-X-based OpenGL 2016-05-25 15:34:14 -06:00
raytracing Hide internal parts of Canvas 2016-06-09 12:07:59 -06:00
testing Merge branch 'consolidate-background-color' into 'master' 2016-06-13 11:46:18 -04:00
Actor.h Add cool2warm color map as default 2016-06-09 12:07:54 -06:00
AxisAnnotation2D.h Remove templating from View 2016-06-09 12:08:01 -06:00
AxisAnnotation3D.h Remove templating from View 2016-06-09 12:08:01 -06:00
AxisAnnotation.h Change vtkm::rendering::SceneRenderer* to Mapper* 2016-06-02 13:41:14 -06:00
BitmapFont.h Remove templating from View 2016-06-09 12:08:01 -06:00
BitmapFontFactory.h cleanup and style 2016-06-01 13:37:03 -04:00
BoundingBoxAnnotation.h Remove templating from View 2016-06-09 12:08:01 -06:00
Camera.h Add dolly for 3D cameras 2016-06-09 13:34:29 -06:00
Canvas.h Consolidate background color in rendering classes 2016-06-11 12:09:51 -06:00
CanvasGL.h Consolidate background color in rendering classes 2016-06-11 12:09:51 -06:00
CanvasOSMesa.h Consolidate background color in rendering classes 2016-06-11 12:09:51 -06:00
CanvasRayTracer.h Consolidate background color in rendering classes 2016-06-11 12:09:51 -06:00
CMakeLists.txt Consolidate functionality in Canvas classes 2016-06-09 12:07:55 -06:00
Color.h Consolidate functionality in Canvas classes 2016-06-09 12:07:55 -06:00
ColorBarAnnotation.h Remove templating from View 2016-06-09 12:08:01 -06:00
ColorTable.h Add cool2warm color map as default 2016-06-09 12:07:54 -06:00
Mapper.h Consolidate background color in rendering classes 2016-06-11 12:09:51 -06:00
MapperGL.h Consolidate functionality in Canvas classes 2016-06-09 12:07:55 -06:00
MapperRayTracer.h Remove Width and Height from Camera 2016-06-09 12:07:56 -06:00
MapperVolume.h Remove Width and Height from Camera 2016-06-09 12:07:56 -06:00
MatrixHelpers.h Make a shared header of 3D transformations 2016-06-09 13:34:29 -06:00
Scene.h Make giving Camera to View optional 2016-06-09 13:34:29 -06:00
TextAnnotation.h Make a shared header of 3D transformations 2016-06-09 13:34:29 -06:00
TextureGL.h Remove templating from View 2016-06-09 12:08:01 -06:00
Triangulator.h cleanup and style 2016-06-01 13:37:03 -04:00
View.h Merge branch 'consolidate-background-color' into 'master' 2016-06-13 11:46:18 -04:00
WorldAnnotator.h Make defining WorldAnnotator for View optional 2016-06-09 12:08:03 -06:00
WorldAnnotatorGL.h Remove templating from View 2016-06-09 12:08:01 -06:00