Fix QVTKWidget problem on Windows with Aero off.

Need to invalidate the whole region at the start of WM_PAINT so the
desktop compositor will composite the whole area.

Change-Id: I447f190bae2c549a6d0b86647141a546089b5ed3
COMP: Restore building of ghost generation tests

Change-Id: I376b881ceb573effee703fb56e8d32e0c2cec79f
BUGFIX: Resolve issue with empty cells

Resolved issue with cell-centered data resulting in test failure due to
not being able to acquire a cell. When ghost-data are generated the
vtkGhostArrays are computed and currently are stored in the visibility
array (which will be going away in the future). Consequently, GetCell
operations performed by the test to ensure the integrity of the data
were returning a vtkEmptyCell which in turn was causing  for the test
to fail. Instead of using GetCell, GetCellPoints is now used.

Change-Id: I50ac90c84524c207e640c0d1c9f4cc7846ec36f9
ENH: Encapsulated writing to files in and ifdef

Encapsulated code to write multiblock data, used for debugging,
within an ifdef. The test will only generate files if the line
"#define DEBUG_ON" is uncommented.

Change-Id: I17009a1e3cb9893b5bf1f9c7d84a36c951287170
COMP: Build parallel ghost generation tests

These tests were disabled post VTK modularization. A
CMake file is added to build the tests as well as a
TEST_DEPENDS in module.cmake

Change-Id: If3e0e1c8db564cbf39086e50690d8d776a3532f3
STYLE: Minor cleanup

Change-Id: Ia42d5f9dfff09eec82e76c2c21449d45c0326cf2
ENH: Add #ifdef DEBUG_ON

Encapsulated the code that was generating files, useful for debuggig, in
and #ifdef. The test will now generate files iff the "#define DEBUG_ON"
is uncommented.

Change-Id: Ida2e031fd14ce5df8553afa4c2e3753e6b91d375
STYLE: Centralize where information logging

Moved the code that log information to the console reporting
test parameters in the beggining of Test2D and Test3D routines.

Change-Id: I912064b0b68aacab4170089770fdbbb5c28db9f6
BUGFIX: Resolve blanked cell issue

Resolved issue resulting in test-failure due to not being able to
acquire the nodes of the cell via GetCell method. If the cell is
blanked, GetCell returns an empty cell, in which case the nodes
of the cell are invalid. Consequently, cell centroid calculations
were erroneous (NANs were computed) and the test was failing.
Changed the code to use GetCellPoints instead.

Change-Id: I6139168acb91c3614d238ab60c7e7882d47e0d4d
BUGFIX: Fix memory leak

Delete temporary data-structures after constructing test dataset instances.

Change-Id: I3ff1fb810204b88786a552238c578a933443d056
ENH: Encapsulate writing to files in an ifdef

Encapsulated code to that was writing to files within an
"#ifdef DEBUG_ON". The test will now only generate files if
the line "#define DEBUG_ON" is uncommented.

Change-Id: Id1f3314e31bb4c8d8a83debb07551ffa53caadba
DOC: Correct copy/paste error in documentation

Corrected documentation that erroneously was listing that all
blocks must have the same spacing. This is only the case for the
uniform grid case.

Change-Id: Ib298b31d8341aabed3c2a5d3b32d6b4526bd6168
Fix VPIC Reader

This reverts commit 4a9c42be2ae6062cf3946fa7648a5832912972bd, which may have silenced a warning, but broke VPIC to do so. Fixes for whatever the warning was will follow, once the dashboard shows them to me.

Change-Id: I02e183e9ddab63791123c66fcd652de00224b1ec
ENH: Remove non-ctests from CMakeLists

Removed TestRectilinearGridPartitioner and
TestStructuredGridPartitioner which are stand-alone
partitioners and were not meant to be run as ctests.

Change-Id: I6c50e1077c36980068a47acade1136bb00cb3a55
BUGFIX: Refer to target using TARGET_FILE syntax

Correct the way the target was referenced. Instead of
${VTK_BINARY_DIR}/bin the $<TARGET_FILE:${TName}> is used.

Change-Id: Ic039ca549878ea4bbeb4ecc913a1665f4c947a96
COMP: Resolve compiler warnings on unused vars

Silenced some compiler warnings for unused vars when DEBUG_ON is
not defined.

Change-Id: I1d267c7a8cd658bf7f5ed4df60196118164e0758
BUG: Fix bug when reading shader from file (4725)

This commit fixes bug 4725 where the line terminator
is placed in the wrong place in the character string
that holds the shader program text on Windows.

Change-Id: I1c2d8f242d02e2847d0cc8159cf0de6ae8d8b519
Add support for loading system installed fonts in vtkFreeTypeTools.

This patch:
* Adds FindFontConfig.cmake
* Adds a simple HashString method, used to turn a font name into a
  16 bit hash. This is used to map text properties to a long int id
  for the freetype face cache.
* Adds zlib support to the included freetype library
* Try to load font faces using FontConfig, but falls back to the
  compiled fonts if FontConfig fails.
* Disable fontconfig lookup by default to preserve old behavior.

Change-Id: Ia245a3ea84ab5cab486e6ab4c42fd9da874ad1bd
Add support for more keyboard keys in QVTKInteractorAdapter

Difference exists between the digits 1,2,...9,0 localized above the
letters q,w,...o,p and the digits 0,1...9 on the numpad. While pressing
those keys will result in the same generated ascii values, their key
symbols are different. For the digit 1: the key symbole is "1" for the
key above the letter 'q' and "KP_1" for the key '1' on the numpad.
Key_Clear can be obtained by doing SHIFT + Keypad_5
Qt::Key_Prior/Qt::Key_Next were renamed into
Qt::Key_PageUp/Qt::Key_PageDownfrom Qt3 to Qt4.
Vertical bar '|' is restored

Change-Id: Ic11d320a643bb5eb212cec39d776dcd56d1ae378
BUG 0012898. Fix texture coordinates for vtkTextActor.

This patch undoes the fix for bug 12898. The texture coordinate
fix was coincidental, the real issue was an improperly calculated
bounding box, which was fixed in 5fff9333c. This patch also fixes
issues with rotated text and other cases where bbox_text[0] < 0.0.

This patch has been tested against Paraview and the issue with
clipped text has indeed been fixed by 5fff9333c.

Change-Id: If0496e90a4ddce6329cbde300792e23096d25455