Actually hide the subclass from wrapping code

Change-Id: Ia74ef5bed26f19fd286090e18fe81b768c56e592
Minor cleanups in vtkClientServerInterpreter

Change-Id: I7a7640e7ba0eef084fe3a0bfad599fe4131089b9
Add context to new instance and command functions

This allows other mechanisms than just C functions to be registered with
the ClientServerInterpreter. Particularly, it will allow for using the
Python wrappings if available rather than building CS wrappings as well.

The implementation would use std::function if supporting it from MSVC
2008 through more modern compilers were easier (MSVC doesn't use a tr1/
directory for TR1 includes and not all TR1 functionality is available as
std::tr1 (just std::)).

All command function calling is internalized as part of this since the
context is only known to the vtkClientServerInterpreter class. In
particular, the GetCommandFunction method is replaced with a
HasCommandFunction/CallCommandFunction method pair.

Change-Id: I827ccc42e69f676e48a8453123834d6dbbb535a5
Use Python wrappings to implement ClientServer wrappings

With the unified bindings option set, ParaView will use Python as the
backing implementation for ClientServer wrapping. The goal is to
minimize the size of the build for Catalyst and the CS wrapping code is
an obvious target.

ParaView's plugins have unified bindings forced off because they cause a
circular dependency which cannot be broken (the plugin library contains
the ClientServer wrappers which, with unified bindings, requires the
Python library which requires the main plugin library for the actual
work).

Change-Id: Ieeb115799147c44822831f9c569fa37c4146b891
Check for NULL when getting strings from CS streams

Change-Id: I8df5fb6e0b85ca6bafd94fcbed16b95d778e3b48
Raise smtesting.TestError which is an exception

The smtesting.Error object is a function which returns a bool and cannot
be used as an exception.

Change-Id: Ib7eea95ff052518b017cfabe10865cbfda708bd8
Support extracting long long from Python < 2.7

Change-Id: I75fd86d24e67516dabf67f898aab486ef2f3f145
Fix misplaced brace

Change-Id: I721a4be4fc93a146935f52cf44303365b4449527
Remove debugging prints

Change-Id: I7048e38e21ffe7ce66805000e29189c61b5a46cd
Remove new objects from the Python cache as well

Change-Id: I436d7611cede759506e9dce1fc39fb301fed49b8
Remove reference counts from vtkSMDataTypeDomain

With unified bindings enabled, this cache's pointers get mixed up with
the Python object cache's pointers resulting in double free problems
since both store the pointer with vtkSmartPointer. The reference
counting seems to aim to allow dropping the cache after it isn't
"needed" anymore, but with Python objects floating around, at least one
instance is probably in the cache, pinning the reference count to
non-zero, so it likely has little effect in a unified-bindings world.

Change-Id: Id45ab6c11acf257f1ec989acd83f4f7c2c6d52a1
Compare addresses of the internal VTK object

With unified bindings creating ephermeral Python objects, two Python
objects containing the same VTK object are not guaranteed to compare as
equal.

Change-Id: Ic588f17128b165bee69c52b231391ce851031fe7
Initial version of Fragment Integration

Change-Id: I12d1d33c2f43963d321b21e601607e209bbe525e
Correctly finds the volume.

Change-Id: I674c187be18161da70982a3c01a96b10227f4702
Faster and possibly multiprocess ready.

Change-Id: Ifd683f50de6defbe8a07f1c9a5875527288475e7
Fixed for proper multiprocessing.

Change-Id: Iab173b6aa290b43bc116a59206572635ce06dc8d
Updated FragmentIntegration to look for AMRConnectivity

Change-Id: I125f62ae981be7de7fc1dafcdd8624a19c7e5bd4
Initial non-working version of AMRConnectivity

Change-Id: Ib62ef0b7cc1945ae6b8b62e4c644e8ad811f4f74
Adding the dual grid helper.

Change-Id: I9111e93099049c39485d5230d145d756ea13f829
This version works with single process.

Change-Id: I63f9898070d887d70945e55832f5f70faa8583ea