vtk-m2/examples/rendering
Kenneth Moreland 72b43d7151 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.
2016-06-11 12:09:51 -06:00
..
CMakeLists.txt Add glut-based rendering example. 2016-05-05 13:26:39 -04:00
Rendering.cxx Consolidate background color in rendering classes 2016-06-11 12:09:51 -06:00