Added ability for pqPropertyWidget to update when in advanced mode.

We have cases where a pqPropertyWidget need to change itself based on
whether the container pqProxyWidget is showing "advanced" properties or
not. For example, thq pqProxySelectionWidget which is used for
properties with proxy-list-domains, we may want to not show the
properties for the selected proxy in the domain, unless in advanced
view.

To facilitate that pqPropertyWidget now has a new method
"updateWidget()" which is called by pqProxyWidget before showing the
widget. Supclasses (such as pqProxyPropertyWidget) can override this
method to update their appearance based on the panel mode.

pqProxyPropertyWidget (working with pqProxySelectionWidget) overrides
this method to hide/show the widget for the selected proxy.

Change-Id: Ifdbbdfec1828b4eba717d79a9412c206a994bbd8
Rename vtkPVGlyphFilter to vtkPVLegacyGlyphFilter.

Making space for the new vtkPVGlyphFilter. We'll keep the old one around
for backwards compatility with previous scripts.

Change-Id: I12892196439b71213132fa4feeca7c983db99909
Update VTK.

Change-Id: Id77fde93bada02693cdaa37a3d6f8197892ee915
Refactoring vtkPVGlyphFilter for better masking of points.

Refactoring vtkPVGlyphFilter to improve usability esp when glyphing
random points. The vtkPVGlyphFilter now uses a random spatial
distribution of points to decide which points in the dataset to glyph,
if requested.

The filter has 3 modes: glyph all points, glyph every n-th point, and
glyph a spatial distribution of points.

This commit also includes Qt side enhancemnets needed for this filter to
work. These include:

Added pqGenericPropertyWidgetDecorator to handle show/hide
enable/disable widgets when the value of some other property matches a
criteria. Glyph uses it to hide the properties that depend on the "Glyph
Mode".

Change-Id: Iadb659c380d9c58766f9d0996f0ffd4a018b16ba
Added ability to easily set scale factor for glyph.

Added a button on the "Scale Factor" property widget to easily reset the
scale factor using current data value. This replaces the "automatic"
setting of scale factor that was done in pqGlyphPanel (which was a hack)
by a more acceptable solution for now the Properties panel works.

The "Reset Scale Factor" button also gets highlighted when the scale
factor domain value is potentially changed to make the user aware that
he may want to look at the scale factor.

Change-Id: I9d60816393c69f7c570ec85becf8c5559c7976af
Added new Glyph With Arbitrary Source filter.

Added a new filter for glyphing with arbitrary source, based on the new
"Glyph" filter.

Change-Id: I71a51838e5d040f50d469e0acc05b9176c39fc31
*.pvsm backwards compatibility for Glyph.

State files with "Glyph" are 'fixed' to create "Legacy Glyph" instead.
Also warn the user that he should try to replace the filter manually
using the new one.

Change-Id: I29bc4f4e967f7d14a851995e610b99cb3613c1f3
Fix NormalsGlyph filter to use the new Glyph.

Updating NormalsGlyph filter to use the new Glyph filter. That required
that we updated pqGlyphScaleFactorPropertyWidget and
pqGlyphScaleFactorPropertyWidget so that it doesn't warn about missng
properties.

CompoundProxies and PropertyWidgets/Decorators have a hard time playing
well together. We may need to revisit that.

Change-Id: Id3a1b4aa708781b5012d48f2669fd8369b42b308
Document Glyph changes for backwards compatibility.

Change-Id: I01cd9fe2010c9182c1412e4f0dc387dc9416fd89
Handle case when data bounds are planar.

The computation to determine good neighborhood missed the fact that the
data bounds could be planar. This fix addresses that issue.

Change-Id: I0fd6ae50202b5bcb71a97cc67453a1ec083d1e0c
Update tests to use the new Glyph panel.

Change-Id: Ia4dfce4d53a5a1f85f794f0ccdb34e8164deaf94
Merge topic '14279_glyph_filter' into next

7628d347 Update tests to use the new Glyph panel.
317a11f9 Handle case when data bounds are planar.
84e360a5 Document Glyph changes for backwards compatibility.
cf0dc68d Fix NormalsGlyph filter to use the new Glyph.
9ca58909 *.pvsm backwards compatibility for Glyph.
dbecb373 Added new Glyph With Arbitrary Source filter.
651e51d2 Added ability to easily set scale factor for glyph.
5caaf8ef Refactoring vtkPVGlyphFilter for better masking of points.
4048d031 Update VTK.
4e5b2449 Rename vtkPVGlyphFilter to vtkPVLegacyGlyphFilter.
ea3ee68b Added ability for pqPropertyWidget to update when in advanced mode.