kitware:paraview.git
3 years agoENH: Added a new item delegate class to handle highlighting items
Sankhesh Jhaveri [Fri, 21 Feb 2014 16:02:08 +0000 (11:02 -0500)]
ENH: Added a new item delegate class to handle highlighting items

The class is currently used to highlight and unhighlight items
matched by the pqItemViewSearchWidget
This fixes issue 14572.

Change-Id: If88c665e1b0441aac456b62ee69a67662db301a2

3 years agoMerge topic 'update_vtk'
Utkarsh Ayachit [Mon, 17 Feb 2014 15:33:34 +0000 (10:33 -0500)]
Merge topic 'update_vtk'

0bbbc2f4 Update VTK to VTK master.

3 years agoUpdate VTK to VTK master.
Utkarsh Ayachit [Sun, 16 Feb 2014 17:26:37 +0000 (12:26 -0500)]
Update VTK to VTK master.

Fixes ExodusReader to not use the deprecated ExodusMetaData API.

Change-Id: I3bc48e3ea5a6c32426205b16016ed76722065a00

3 years agoMerge topic 'visit-bridge-update-2.7.0'
Utkarsh Ayachit [Sat, 15 Feb 2014 13:56:52 +0000 (08:56 -0500)]
Merge topic 'visit-bridge-update-2.7.0'

239fd1cd Update VisItBridge link to fix OpenFoam multiple definition errors.
ca2e30c2 Update link to VisItBridge to fix regression for Chombo reader.
28ea952a Update VisItBridge link to fix static compilation on Windows.
708bf089 Update VisItBridge link.
40ba4746 Update link to VisItBridge.
5976dc0d Update link to new VisItBridge to fix Windows compilation.
ad1136b7 Include an additional file in GMVReader so we fix Windows compilation.
a97ef6c2 Update link to VisItBridge based on visit-2.7.0
1b215988 Update link to VisItBridge (based on visit-2.7.0)

3 years agoMerge topic 'view-settings'
Utkarsh Ayachit [Sat, 15 Feb 2014 13:56:46 +0000 (08:56 -0500)]
Merge topic 'view-settings'

ecf33c12 Fix button sizes on Mac? Changed from Form to Grid layout.

3 years agoMerge topic 'robust_pca'
Utkarsh Ayachit [Sat, 15 Feb 2014 13:56:41 +0000 (08:56 -0500)]
Merge topic 'robust_pca'

a9a51296 Expose VTK robust PCA in ParaView

3 years agoMerge topic 'remove_duplicate_pqColorTableModel'
Utkarsh Ayachit [Sat, 15 Feb 2014 13:56:31 +0000 (08:56 -0500)]
Merge topic 'remove_duplicate_pqColorTableModel'

db6d2a7c Removed old, unused, duplicate class named pqColorTableModel

3 years agoMerge topic 'fix_parallel_amrconnectivity'
Utkarsh Ayachit [Sat, 15 Feb 2014 13:56:26 +0000 (08:56 -0500)]
Merge topic 'fix_parallel_amrconnectivity'

10ec3ebf Remove compiler warnings.
774bd751 Still working out issues with PEquivalency.  90% there.

3 years agoMerge topic 'easy_subclassing'
Utkarsh Ayachit [Sat, 15 Feb 2014 13:56:09 +0000 (08:56 -0500)]
Merge topic 'easy_subclassing'

18233503 Make it easier (still) to subclass pqTabbedMultiViewWidget.

3 years agoMerge topic 'catalyst-rendering-fix'
Utkarsh Ayachit [Sat, 15 Feb 2014 13:55:59 +0000 (08:55 -0500)]
Merge topic 'catalyst-rendering-fix'

d433f5bb Prevent divide-by-zero in coprocessing.py
d6ca1e7e Link PVVTKExtensionsRendering with MPI
78f572e9 Add PassArrays to Essentials

3 years agoMerge topic 'assembly-exporter'
Utkarsh Ayachit [Sat, 15 Feb 2014 13:55:51 +0000 (08:55 -0500)]
Merge topic 'assembly-exporter'

39510db9 Inverse Y to fix JavaScript handling
8ec3c8f8 Fix some Z ordering issue
2bf138b7 Fix method profile
9c64673d Fix header typo
458c822a Add RenderView that act as a RGB+Z buffer writer

3 years agoMerge topic '14511-qt5-support'
Utkarsh Ayachit [Sat, 15 Feb 2014 13:55:39 +0000 (08:55 -0500)]
Merge topic '14511-qt5-support'

338bb882 BUG: QT_USE_FILE not required/used for H5PartReader plugin
7db74014 Import Qt5Widgets module at the top level
0fb21b1d Updated QtTesting to use Qt5
6fa66ba5 Use the new Qt5 plugin architecture
a59a868b QWindowsStyle and QPlastiqueStyle obsoleted
785695c0 QtGui library -> include QtGui/* files directly
20c9a634 Obsoleted constructor for QGraphicsItem
88cbb1f4 Multiple Qt5 related minor changes
dd2a9104 Qt5 obsoletes toAscii and fromAscii methods
44530d07 Compile flags (-fPIE) for position independent code
7aa49510 QAbstractItemModel::reset() and QAbstractItemModel::createIndex
eb421899 Qt5 obsoletes global typedef qInstallMsgHandler and QtMsgHandler
f3b59483 Obsoleted methods from QHeaderView
9ed056a1 Modified ParaView macros to use both Qt4 and Qt5
eed7ccd3 Initial changes to support Qt5
b0dcd1fd Making vtkSMTesting work with Chart Views.
...

3 years agoInverse Y to fix JavaScript handling
Sebastien Jourdain [Fri, 14 Feb 2014 17:31:27 +0000 (10:31 -0700)]
Inverse Y to fix JavaScript handling

Change-Id: I75301d0afd9f1015a997721cf7d48cdb14745c7c

3 years agoFix some Z ordering issue
Sebastien Jourdain [Fri, 14 Feb 2014 16:35:36 +0000 (09:35 -0700)]
Fix some Z ordering issue

Change-Id: Ib54247785881c93b770a74765cc786954634d87a

3 years agoFix method profile
Sebastien Jourdain [Fri, 14 Feb 2014 15:41:31 +0000 (08:41 -0700)]
Fix method profile

Change-Id: I86321c64895c1e4b65198b94a16817b971147670

3 years agoFix header typo
Sebastien Jourdain [Fri, 14 Feb 2014 15:39:44 +0000 (08:39 -0700)]
Fix header typo

Change-Id: I2cf9ff942004f2b2a26b3b6b8e94b2e66bbfabe8

3 years agoBUG: QT_USE_FILE not required/used for H5PartReader plugin
Sankhesh Jhaveri [Fri, 14 Feb 2014 05:36:04 +0000 (00:36 -0500)]
BUG: QT_USE_FILE not required/used for H5PartReader plugin

Change-Id: I62b7b8bcf136e094c11187fbfaedd05a2d099ad2

3 years agoAdd RenderView that act as a RGB+Z buffer writer
Sebastien Jourdain [Thu, 13 Feb 2014 00:34:07 +0000 (17:34 -0700)]
Add RenderView that act as a RGB+Z buffer writer

That new ParaView plugin allow the generation of RGB+Z data
and provide some processing algorithm which allow usage
of those that on the web.

Change-Id: Idbf3d5e8f3a01bb96a2192693c0a31c50f83d8a3

3 years agoImport Qt5Widgets module at the top level
Sankhesh Jhaveri [Tue, 11 Feb 2014 22:46:12 +0000 (17:46 -0500)]
Import Qt5Widgets module at the top level

This ensures all the required Qt5 variables can be found.
For example, just importing Qt5Core does not help find QT_UIC_EXECUTABLE using
the macro "get_target_property(QT_UIC_EXECUTABLE Qt5::uic LOCATION)".

Change-Id: I8756ce9468c5134693d256a9755f1217bc24ae29

3 years agoUpdated QtTesting to use Qt5
Sankhesh Jhaveri [Fri, 31 Jan 2014 17:28:30 +0000 (12:28 -0500)]
Updated QtTesting to use Qt5

QtTesting should use user selected Qt version

Change-Id: I55379c00655595e567ae393d42a25baa8635b916

3 years agoUse the new Qt5 plugin architecture
Sankhesh Jhaveri [Thu, 30 Jan 2014 23:04:31 +0000 (18:04 -0500)]
Use the new Qt5 plugin architecture

Q_EXPORT_PLUGIN2 deprecated. Replaced by Q_PLUGIN_METADATA
Find the Qt5 RCC executable to generate qrc_* files.

Change-Id: I407ac783071895e2f01d51d0ddd71635e54813f3

3 years agoQWindowsStyle and QPlastiqueStyle obsoleted
Sankhesh Jhaveri [Thu, 30 Jan 2014 18:01:06 +0000 (13:01 -0500)]
QWindowsStyle and QPlastiqueStyle obsoleted

Replaced with the Fusion style and the new QStyleFactory::create() API.
Use style depending on Qt version used

Change-Id: I3bb01c883025122a9de40b98866de6a757def047

3 years agoQtGui library -> include QtGui/* files directly
Sankhesh Jhaveri [Thu, 30 Jan 2014 17:59:33 +0000 (12:59 -0500)]
QtGui library -> include QtGui/* files directly

Change-Id: Ia0d1e6510c014fb67986f330cd98c81f73aa17c3

3 years agoObsoleted constructor for QGraphicsItem
Sankhesh Jhaveri [Thu, 30 Jan 2014 17:57:32 +0000 (12:57 -0500)]
Obsoleted constructor for QGraphicsItem

Removed the use of QGraphicsScene from the constructor argument.

Change-Id: Ib257adc90fbd8b810baa4d65dcbd78d5e66da9d1

3 years agoMultiple Qt5 related minor changes
Sankhesh Jhaveri [Thu, 30 Jan 2014 17:30:22 +0000 (12:30 -0500)]
Multiple Qt5 related minor changes

1. QCursor constructor needs QPixmap instead of const char*
2. Qt::WFlags obsoleted. Replaced by Qt::WindowFlags
3. QPixmap::serialNumber() deprecated. Replaced by QPixmap::cacheKey()
4. QVariant(Qt::GlobalColor) is now private. Use QVariant(QColor(Qt::GlobalColor)) instead.
5. QMetaMethod::signature obsoleted. Replaced by QMetaMethod::methodSignature().
   To avoid runtime issues get the pointer to data using methodSignature().constData()
6. QDir::convertSeparators obsoleted. Replaced by
   toNativeSeparators/fromNativeSeparators
7. QRegion::unite deprecated. Replaced by QRegion::united
8. QCoreApplication::UnicodeUTF8 is deprecated.
9. Missing includes

Change-Id: I1a5b889b01178f030ed97a65bb7c5ff006949bef

3 years agoQt5 obsoletes toAscii and fromAscii methods
Sankhesh Jhaveri [Thu, 30 Jan 2014 16:33:22 +0000 (11:33 -0500)]
Qt5 obsoletes toAscii and fromAscii methods

Replaced all instances:
QString::toAscii --> QString::toLatin1
QString::fromAscii --> QString::fromLatin1
QChar::fromAscii --> QLatin1Char

Change-Id: I5107bbd7b5550ded121310314f0569246ff8bf2c

3 years agoCompile flags (-fPIE) for position independent code
Sankhesh Jhaveri [Thu, 30 Jan 2014 15:57:19 +0000 (10:57 -0500)]
Compile flags (-fPIE) for position independent code

Qt5 is built and packaged with the -reduce-relocations configure option as
default. This causes compilations to run with the -Bsymbolic-functions option,
which makes function pointer comparison ineffective, unless the -fPIE flag is
also supplied.

Change-Id: Ic1dead333d25b2ff17eda049b57d08db3a27f8b4

3 years agoQAbstractItemModel::reset() and QAbstractItemModel::createIndex
Sankhesh Jhaveri [Thu, 30 Jan 2014 17:20:43 +0000 (12:20 -0500)]
QAbstractItemModel::reset() and QAbstractItemModel::createIndex

QAbstractItemModel::reset -
The deprecated function emitted two signals, namely modelAboutToBeReset and
modelReset. Using beginResetModel and endResetModel to emit these signals
instead.

QAbstractItemModel::createIndex -
Ambiguity when compiling with gcc.
When the last parameter is either NULL or 0, GCC fails to resolve
which path to follow. Use the default value (void* ptr = 0) provided in the
function declaration.

Change-Id: I45760b1cc9d9afc183a2aed9100d7ab398f0ab65

3 years agoQt5 obsoletes global typedef qInstallMsgHandler and QtMsgHandler
Sankhesh Jhaveri [Thu, 30 Jan 2014 16:48:39 +0000 (11:48 -0500)]
Qt5 obsoletes global typedef qInstallMsgHandler and QtMsgHandler

Using qInstallMessageHander and QtMessageHandler
QtMessageHandler has a different signature than QtMsgHandler providing
information about context. Incorporated that information in the vtkOutputWindow
message printout.

Change-Id: Icd94f6fc411e0761c0254a0e11784543b0cf0bd7

3 years agoObsoleted methods from QHeaderView
Sankhesh Jhaveri [Thu, 30 Jan 2014 16:43:24 +0000 (11:43 -0500)]
Obsoleted methods from QHeaderView

Replaced all instances:
QHeaderView::setClickable --> QHeaderView::setSectionsClickable
QHeaderView::setResizeMode --> QHeaderView::setSectionResizeMode
QHeaderView::setMovable --> QHeaderView::setSectionsMovable

Change-Id: I537f7148abfccf4564d375475ec76b8485c31777

3 years agoRemove compiler warnings.
Nathan Fabian [Thu, 13 Feb 2014 21:58:00 +0000 (14:58 -0700)]
Remove compiler warnings.

Change-Id: I548340500d1a55c050866a09f704204c4fc84323

3 years agoModified ParaView macros to use both Qt4 and Qt5
Sankhesh Jhaveri [Wed, 15 Jan 2014 15:03:11 +0000 (10:03 -0500)]
Modified ParaView macros to use both Qt4 and Qt5

Depending on the PARAVIEW_QT_VERSION variable value, the appropriate Qt version
is used.

Change-Id: I296dbc87a4ad05426bdf65e16e4bafa7bcdb8074

3 years agoInitial changes to support Qt5
Sankhesh Jhaveri [Tue, 14 Jan 2014 18:55:19 +0000 (13:55 -0500)]
Initial changes to support Qt5

Added a new flag called PARAVIEW_QT_VERSION that can be set to either 4 or 5.
Depending on the value of this flag, the appropriate Qt version is looked for
and built against.

If PARAVIEW_QT_VERSION==5, the necessary Qt5 modules can be
imported by including the script "ParaViewQt5.cmake". This script also sets
important Qt variables used throughout the project.

Setting the officially supported version of Qt5 to 5.0.2. Although, paraview
compiles fine against Qt-5.0.0, there are known issues that prevent it from
being fully functional (https://bugreports.qt-project.org/browse/QTBUG-28872).
Setting the minimum Qt5 version to 5.0.0.

Change-Id: I152529ef3da9492a44094c1e08444398a022d047

3 years agoMaking vtkSMTesting work with Chart Views.
Utkarsh Ayachit [Thu, 13 Feb 2014 20:10:39 +0000 (15:10 -0500)]
Making vtkSMTesting work with Chart Views.

Change-Id: I7bda816ea2d53a47e87365c673959e86fb891d12

3 years agoDisable render-server test for PlotOverTimeAutoApply.
Utkarsh Ayachit [Thu, 13 Feb 2014 16:47:19 +0000 (11:47 -0500)]
Disable render-server test for PlotOverTimeAutoApply.

Since it uses surface selection which is not supported in render-server mode,
disable  PlotOverTimeAutoApply in that configuration.

Change-Id: Ie8ee0150cd3d613e53e0a1e2b03ed552351d80e4

3 years agoBUG #13773. Fixed auto-apply issues with plot-selection-over-time.
Utkarsh Ayachit [Thu, 13 Feb 2014 16:22:19 +0000 (11:22 -0500)]
BUG #13773. Fixed auto-apply issues with plot-selection-over-time.

pqSelectionInputWidget was setting up the default value for the selection input
using a timer. That was happening after the auto-apply timer timed out. Thus,
the apply would happen before the value was set, resulting in the default for
the representation being setup incorrectly. That meant no data would be shown
even the selection-input was setup immediately after when the timer expired.
This fixes that issue by ensure that pqProxyPropertyWidget explicitly does the
initialization and removing the timer logic from pqSelectionInputWidget.

Also added a test to test this.

Change-Id: I6b51801e362b0cbc9aec4a7a370db0b6f32adcb2

3 years agoExpose VTK robust PCA in ParaView
Tristan Coulange [Tue, 11 Feb 2014 18:24:28 +0000 (19:24 +0100)]
Expose VTK robust PCA in ParaView

Change-Id: Id2051461213b989e9d6d7b7ce291e3d92f4366c3

3 years agoBUG: Fix errors in static builds.
Utkarsh Ayachit [Thu, 13 Feb 2014 16:03:54 +0000 (11:03 -0500)]
BUG: Fix errors in static builds.

On static build dashboards, since StreamingParticles plugin is auto-loaded,
ParaView was raising error when loading AMR datatsets.
vtkStreamingParticlesRepresentation was incorrectly indicating that it can't
support AMR datasets. Any representation added to "GeometryRepresentation" is
required to support all datatypes that GeometryRepresentation supports. Fixed
that.

Change-Id: Ic17d25768c62ce634249259d016d7796fd18e71f

3 years agoUpdate VisItBridge link to fix OpenFoam multiple definition errors.
Dan Lipsa [Wed, 12 Feb 2014 16:27:57 +0000 (11:27 -0500)]
Update VisItBridge link to fix OpenFoam multiple definition errors.

Change-Id: I34621c6c925907bd12d38c9f7c983c9181fe08f9

3 years agoFix autoapply issue.
Utkarsh Ayachit [Wed, 12 Feb 2014 04:53:47 +0000 (23:53 -0500)]
Fix autoapply issue.

AutoApply was starting separate singleShot(..) calls instead of using a
single timer instance. This was causing weird issues on OsX with
PlotSelectionOverTime when AutoApply was ON. Fixed that.

Change-Id: Ic6917f301df0db75e194df7364b007d333dd2ae6

3 years agoUpdate link to VisItBridge to fix regression for Chombo reader.
Dan Lipsa [Tue, 11 Feb 2014 22:46:40 +0000 (17:46 -0500)]
Update link to VisItBridge to fix regression for Chombo reader.

Change-Id: I83bdd423d79034251f9b295d0e22e9b2b9bb61b9

3 years agoUpdate VisItBridge link to fix static compilation on Windows.
Dan Lipsa [Tue, 11 Feb 2014 21:26:39 +0000 (16:26 -0500)]
Update VisItBridge link to fix static compilation on Windows.

Change-Id: Ied4b312383e4896ee1dc08631bf43aee4bc186d1

3 years agoUpdate VisItBridge link.
Dan Lipsa [Tue, 11 Feb 2014 20:29:08 +0000 (15:29 -0500)]
Update VisItBridge link.

Change-Id: Id08122148ded8eb28ba9744f31b17c349ed25c04

3 years agoUpdate link to VisItBridge.
Dan Lipsa [Tue, 11 Feb 2014 18:53:41 +0000 (13:53 -0500)]
Update link to VisItBridge.

Change-Id: Ia57467ba923aa17f7eee585690b1da99e51b310f

3 years agoFixed more unused variable warnings.
Utkarsh Ayachit [Tue, 11 Feb 2014 17:05:15 +0000 (12:05 -0500)]
Fixed more unused variable warnings.

Change-Id: I19fe45f6857cc1201899981bba763e81dc663740

3 years agoFixed warnings with shadowed variables.
Utkarsh Ayachit [Tue, 11 Feb 2014 16:58:44 +0000 (11:58 -0500)]
Fixed warnings with shadowed variables.

Change-Id: I610e68c34134a589d25771a32fae55fdf0cc6b06

3 years agoUpdate test to potentially work better on Windows.
Utkarsh Ayachit [Tue, 11 Feb 2014 14:46:50 +0000 (09:46 -0500)]
Update test to potentially work better on Windows.

We need to fix the trace recording/playback for pipeline browser to more
reliable.

Change-Id: I33ba0594031b9f86f705041702c264b2cfd77fbb

3 years agoRemoved old, unused, duplicate class named pqColorTableModel
Cory Quammen [Tue, 11 Feb 2014 00:50:04 +0000 (19:50 -0500)]
Removed old, unused, duplicate class named pqColorTableModel

In addition:

- removed unused pqColorTableDelegate class
- added missing export for the remaining pqColorTableModel

Change-Id: I3b30dcc970c40177b642cf05e6b6cc0c6ec15cee

3 years agoCOMP: Fixed warnings
Utkarsh Ayachit [Mon, 10 Feb 2014 21:13:38 +0000 (16:13 -0500)]
COMP: Fixed warnings

Change-Id: Ief3f927ce032f38ef302237dc86d08d6729018e5

3 years agoIncrease test thresholds.
Utkarsh Ayachit [Mon, 10 Feb 2014 21:00:38 +0000 (16:00 -0500)]
Increase test thresholds.

Change-Id: I4742b7ceeb9b671113cee57a20506c3622490b28

3 years agoAdd selection toggling context menu to pqSeriesEditorPropertyWidget.
Utkarsh Ayachit [Mon, 10 Feb 2014 18:28:46 +0000 (13:28 -0500)]
Add selection toggling context menu to pqSeriesEditorPropertyWidget.

Change-Id: I885810872f13de7441dc527d6422bccf2b88983c

3 years agoMake test playback a little more consistent.
Utkarsh Ayachit [Mon, 10 Feb 2014 16:48:37 +0000 (11:48 -0500)]
Make test playback a  little more consistent.

Change-Id: I9c174fd0161367496b7920f84a90e44a17e54be7

3 years agoFix button sizes on Mac? Changed from Form to Grid layout.
Dan Lipsa [Mon, 10 Feb 2014 16:42:41 +0000 (11:42 -0500)]
Fix button sizes on Mac? Changed from Form to Grid layout.

Change-Id: Ie4321b1ed61830e2004afdcb9afcf22fc664a7f2

3 years agoFix LineChartSelection test.
Utkarsh Ayachit [Mon, 10 Feb 2014 16:06:11 +0000 (11:06 -0500)]
Fix LineChartSelection test.

Change-Id: Ifcc151999dcf1e1a274a7637d73dcc136ec01ede

3 years agoFix interaction and locking of ranges.
Utkarsh Ayachit [Mon, 10 Feb 2014 16:05:22 +0000 (11:05 -0500)]
Fix interaction and locking of ranges.

Charts were ignoreing interaction since on interaction the axes ranges were no
locked. Fixed that. Lock axes ranges on interaction.

Change-Id: I632850d6421ab3fdb4f0110dde7cbe6852103091

3 years agoUpdate link to new VisItBridge to fix Windows compilation.
Dan Lipsa [Mon, 10 Feb 2014 15:39:02 +0000 (10:39 -0500)]
Update link to new VisItBridge to fix Windows compilation.

Change-Id: Id3bd2dde58d546af9bdd38231556e9d357b71ed6

3 years agoInclude an additional file in GMVReader so we fix Windows compilation.
Dan Lipsa [Mon, 10 Feb 2014 15:36:54 +0000 (10:36 -0500)]
Include an additional file in GMVReader so we fix Windows compilation.

We provide the definition for snprintf on Windows.

Change-Id: I06f18871389c171a3604cde8beb020b6c2b0fc42

3 years agoFix/Update tests after chart refactoring.
Utkarsh Ayachit [Sun, 9 Feb 2014 23:33:39 +0000 (18:33 -0500)]
Fix/Update tests after chart refactoring.

Updating/Fixing tests. XYChart and XYHistogram tests have now been expanded to
test some components of the display panel better, including composite datasets
and changes in available arrays.

Change-Id: Ic4ee83049ae13420f23101591e9b31db8c6f3139

3 years agoCleanup chart axis range reset logic.
Utkarsh Ayachit [Sun, 9 Feb 2014 23:32:08 +0000 (18:32 -0500)]
Cleanup chart axis range reset logic.

Every time the view is updated, we recalculate the chart axis ranges. The
recalculation logic respects the case when user has "fixed" the axis range so
it's not a problem to do this on every update. This ensures that over time and
when new series are added/removed, the axis range is update automatically.

Change-Id: I4a3a706ee391d62177f9211c7371325d580e6365

3 years agoChange color assignment logic.
Utkarsh Ayachit [Sun, 9 Feb 2014 23:31:03 +0000 (18:31 -0500)]
Change color assignment logic.

Make each vtkSMChartSeriesSelectionDomain instance pick its own instance of
vtkColorSeries.

Change-Id: I909e22d59cbb0751361d77e98f71deea78867b95

3 years agoUpdate pqSLACManager after chart changes.
Utkarsh Ayachit [Sun, 9 Feb 2014 21:52:27 +0000 (16:52 -0500)]
Update pqSLACManager after chart changes.

Updating pqSLACManager to use the new chart representations for setting up
default values appropriately.

Change-Id: I51134d1f97059eaa87b41824e007f5f077343654

3 years agoBUG: vtkSMChartRepresentationProxy was chosing incorrect default.
Utkarsh Ayachit [Sun, 9 Feb 2014 21:19:24 +0000 (16:19 -0500)]
BUG: vtkSMChartRepresentationProxy was chosing incorrect default.

When known arrays were not available, vtkSMChartRepresentationProxy still
erroneously chose to use the array instead of index due to a typo/copy-paste
error. Fixed that.

Change-Id: I174c5b3b449cd8f9e844478af724dd8fb9eebdaf

3 years agoUpdate link to VisItBridge based on visit-2.7.0
Dan Lipsa [Sat, 8 Feb 2014 18:32:10 +0000 (13:32 -0500)]
Update link to VisItBridge based on visit-2.7.0

Change-Id: I25a384d705893fc8957ea0634f4d685f2dedb89d

3 years agoRemove unnecessary drag/drop overrides.
Utkarsh Ayachit [Fri, 7 Feb 2014 22:31:29 +0000 (17:31 -0500)]
Remove unnecessary drag/drop overrides.

They were added in past for supporting drag/drop in scatter plot. That code has
been revised. Cleaning this up since I am not sure why this was needed in the
first place.

Change-Id: I8525ae7b17c5557a71d32608147b11ba490bbc9d

3 years agoEnable multi-selection in pqSeriesEditorPropertyWidget.
Utkarsh Ayachit [Fri, 7 Feb 2014 22:16:37 +0000 (17:16 -0500)]
Enable multi-selection in pqSeriesEditorPropertyWidget.

pqSeriesEditorPropertyWidget now allows users to select multiple rows and change
series properties for all of them.

Change-Id: Ic00566ba97207a554a71f9905cd0b7005e5a2571

3 years agoFix segfault in comparative chart views.
Utkarsh Ayachit [Fri, 7 Feb 2014 21:52:27 +0000 (16:52 -0500)]
Fix segfault in comparative chart views.

pqComparativeContextView was overriding appropriate methods on the superclass.
Fixed that.

Change-Id: I5fffe88792c8e0d57351f28449011de72d242ad7

3 years agoAdd support for cases when series-domains change.
Utkarsh Ayachit [Thu, 6 Feb 2014 22:57:51 +0000 (17:57 -0500)]
Add support for cases when series-domains change.

When the domain for property with a vtkSMChartSeriesSelectionDomain changes, we
need to update the property to reflect the change. This implementation handles
it as follows:

+ vtkSMChartSeriesSelectionDomain has 'experimental' logic to update the
  property values to reflect the domain change.
+ pqSeriesEditorPropertyWidget uses a filtering mechanism to filter out rows for
  series that are not currently in domain to avoid the table from getting too big.
+ Also includes some cleanup to pqSMAdaptor to speed up certain 'get' calls.

Change-Id: Iebbf9669d981bcd394d02b0fce588d88464950da

3 years agoAdded auto-sizing QTableView subclass.
Utkarsh Ayachit [Thu, 2 Jan 2014 19:29:33 +0000 (14:29 -0500)]
Added auto-sizing QTableView subclass.

Added a pqTableView which is a QTableView subclass that can resize its height
based on the number of rows in it in an attempt to avoid to adding scroll bar
for not too long a list of rows without always taking up space when there are
fewer items in the table.

Change-Id: I08223820d0e5a67ce75d5dc6c0c30b51fba69c1d

3 years agoCosmetic changes to pqSeriesEditorPropertyWidget.
Utkarsh Ayachit [Thu, 2 Jan 2014 15:45:46 +0000 (10:45 -0500)]
Cosmetic changes to pqSeriesEditorPropertyWidget.

Avoid the ugly and fairly annoying horizontal scroll bar.
Also changed row heights to add a little padding for better readability of text.

Change-Id: Ia06de3e5a64b5f957357f40b580c1b3e215d9657

3 years agoStill working out issues with PEquivalency. 90% there.
Nathan Fabian [Fri, 7 Feb 2014 21:35:13 +0000 (14:35 -0700)]
Still working out issues with PEquivalency.  90% there.

Change-Id: Ic9455ac1149b74070bbbf0e4c128016e2011a919

3 years agoPrevent divide-by-zero in coprocessing.py
Ben Boeckel [Fri, 7 Feb 2014 19:08:59 +0000 (14:08 -0500)]
Prevent divide-by-zero in coprocessing.py

Change-Id: Id443a4235c0191b6387d49b94b590d73e42fede3

3 years agoLink PVVTKExtensionsRendering with MPI
Ben Boeckel [Fri, 7 Feb 2014 19:08:10 +0000 (14:08 -0500)]
Link PVVTKExtensionsRendering with MPI

Change-Id: I6c32b66f39b7ad2741fb36a347bce2b17fc1859f

3 years agoAdd PassArrays to Essentials
Ben Boeckel [Fri, 7 Feb 2014 19:07:58 +0000 (14:07 -0500)]
Add PassArrays to Essentials

Change-Id: If89f171706c4a8a03e90b2e741063f946860e9f7

3 years agoMake it easier (still) to subclass pqTabbedMultiViewWidget.
Utkarsh Ayachit [Fri, 7 Feb 2014 14:34:25 +0000 (09:34 -0500)]
Make it easier (still) to subclass pqTabbedMultiViewWidget.

Change-Id: I2b9e7ddf57c579292ae0b8f4e48ea6c0e8450652

3 years agoCleanup logic for setting default values.
Utkarsh Ayachit [Wed, 1 Jan 2014 21:23:32 +0000 (16:23 -0500)]
Cleanup logic for setting default values.

Added mechanism on vtkSMProxy to set default values for all properties that
pqProxy now uses when a new proxy is created. We still have a few hacks lurking
around for dealing with compound proxies in pqPipelineSource.

Added support in vtkSMChartRepresentationProxy to correctly set UseIndexForXAxis
property's default value based on what XArray is picked.

Change-Id: If7e4ba6d40541e501a5524d2bbe55be8f992d646

3 years agoSwitching series widget to be a pqTreeView.
Utkarsh Ayachit [Wed, 1 Jan 2014 18:39:17 +0000 (13:39 -0500)]
Switching series widget to be a pqTreeView.

pqTreeView is more compact than QTableView. Also fixed pqTreeView to avoid
showing a vertical scroll bar for a configurable number of rows.

Change-Id: Id0de77ede659e0df1f6b51179810c586c8fe1bd5

3 years agoFixed issue with histogram display panel.
Utkarsh Ayachit [Sat, 28 Dec 2013 22:19:18 +0000 (17:19 -0500)]
Fixed issue with  histogram display panel.

The "X" array wasn't showing up correctly on the histogram panel. The problem
was that pqStringVectorPropertyWidget didn't setup hooks to monitor the
domain to update the available values in the combox-box. Fixed that.

Change-Id: I3f2e08156ca99b4a9db2aca28a84897b1a109d3a

3 years agoRefactoring 2D chart representations.
Utkarsh Ayachit [Tue, 3 Sep 2013 22:25:05 +0000 (18:25 -0400)]
Refactoring 2D chart representations.

The primary objective of this refactor is to remove custom display panels for
charting views such as line/bar/scatter-plot-matrix/parallel-coordinates views
and migrate these panels to the new style as required by the unified Properties
panel added in ParaView 4.0.

The secondary object is to move logic for setting up defaults etc. to the
ServerManager layer rather than in VTK or Qt world, so that the representations
behave consistently in pvpython and ParaView-GUI.

This is achieved as follows:

+ New domains are added (vtkSMChartSeriesListDomain and
  vtkSMChartSeriesSelectionDomain) which can be used on properties pertaining to
  series in a plot e.g. SeriesVisibility, SeriesColor etc. These domains
  automatically keep themselves up-to-date when new arrays are added or removed
  due to other state changes. Like other domains in ParaView, these only depend
  on the data-information available on the client-side.

+ vtkChartNamedOptions and vtkXYChartNamedOptions are removed. Instead
  vtkChartRepresentation subclasses take over the responsibility of managing
  series parameters. vtkXYChartRepresentation is suitable for vtkChartXY views
  which accept vtkPlot subclasses.

+ vtkChartRepresentation is refactored to simplify data-delivery logic. Also
  added a new REQUEST_RENDER pass to vtkPVContextView which allows chart
  representations to update the vtk objects properly thus separating data
  related operations from appearance related operations.

+ pqChartSeriesSettingsModel represent the table-widget used for presenting user
  with the available series and changing their properties. Based on properties
  available on the proxy, pqChartSeriesSettingsModel can adapt its UI to show as
  few or as many widgets as needed. pqChartSeriesSettingsModel is used for all
  2D views, thus we no longer need separate pqChartSeriesSettingsModel and
  pqPlotSettingsModel which have been removed.

+ vtkPVPlotMatrixRepresentation now respects order specified by the user on the
  SeriesVisibility property. The UI no longer hacks the order changes (which
  were not preserved in state files or undo/redo stacks), instead updates the
  property appropriately. Same can be done for
  vtkPVParallelCoordinatesRepresentation,  but missing API on
  vtkPVParallelCoordinatesRepresentation keeps that from actually working, for
  now.

+ Refactored logic for dealing with multiblock-of-tables. The mechanism for
  naming/addressing tables in a multiblock dataset has also changed to make it
  easier to read. vtkChartRepresentation makes it easier for subclasses to work
  with multiblock of tables (e.g. vtkXYChartRepresentation) or a single
  vtkTable (vtkPVParallelCoordinatesRepresentation,
  vtkPVPlotMatrixRepresentation).

A few side effects:

+ New arrays that become available are no longer shown automatically. The onus
  falls on the appplication layer to manage their visibility/appearance. Work in
  progress to update UI when new arrays become available.

Change-Id: I6531f85a2167c73d98dbb28edf7aa3cc32031111

3 years agoAdded mechanism to easily determine block-name.
Utkarsh Ayachit [Sat, 28 Dec 2013 07:30:37 +0000 (02:30 -0500)]
Added mechanism to easily determine block-name.

Added mechanism to vtkPVDataInformation to easily determine block name i.e. the
vtkCompositeDataSet::NAME() for a block in a composite dataset.

Change-Id: Iee25295d6fd4603f85c6b218cfff9cdc794209fb

3 years agoRemove unnecessary shallow copy.
Utkarsh Ayachit [Sat, 28 Dec 2013 07:29:48 +0000 (02:29 -0500)]
Remove unnecessary shallow copy.

Minor cleanup, removed unnecessary shallow copy.

Change-Id: I5e08407c50c9c3e543aaca3e7e487fc34f255293

3 years agovtkPVMergeTablesMultiBlock wrongly added empty tables to output.
Utkarsh Ayachit [Sat, 28 Dec 2013 07:28:42 +0000 (02:28 -0500)]
vtkPVMergeTablesMultiBlock wrongly added empty tables to output.

vtkPVMergeTablesMultiBlock ended up adding empty vtkTable instances to the
output with a particular location was empty on all input composite datasets.
Fixed that.

Change-Id: I3e0aab158b3740f6f62ecdb0386af0bb30d682a8

3 years agoMerge topic 'view-settings'
Utkarsh Ayachit [Fri, 7 Feb 2014 13:07:59 +0000 (08:07 -0500)]
Merge topic 'view-settings'

42de1bb4 Remove BackgroundLights test from Mac OS X
4b4d7b23 Fix tests for modified dialogs.
0e533d04 Solve alignment and naming issues in Background and Lights editors.
d20b6c9e Improve coverage for pqBackgroundEditorWidget.cxx

3 years agoMerge topic 'make_subclassing_easier'
Utkarsh Ayachit [Fri, 7 Feb 2014 13:07:38 +0000 (08:07 -0500)]
Merge topic 'make_subclassing_easier'

06dcb491 Make it easier to subclass pqTabbedMultiViewWidget.

3 years agoMerge topic 'fix_parallel_amrconnectivity'
Utkarsh Ayachit [Fri, 7 Feb 2014 13:07:30 +0000 (08:07 -0500)]
Merge topic 'fix_parallel_amrconnectivity'

540aad75 Protection against null
c15093d8 Finally worked around the issue with needing to use 0 instead of -1

3 years agoMerge topic 'fix-catalyst-script'
Utkarsh Ayachit [Fri, 7 Feb 2014 13:07:22 +0000 (08:07 -0500)]
Merge topic 'fix-catalyst-script'

5c0ba65c Require a build when installing Catalyst trees
851b95e5 Run test configure if wanted even without a build
dd5816c2 Make mkdir calls verbose

3 years agoMerge topic 'catalyst-web-metadata-add-on'
Utkarsh Ayachit [Fri, 7 Feb 2014 13:07:14 +0000 (08:07 -0500)]
Merge topic 'catalyst-web-metadata-add-on'

197a9af9 Add 'type' metadata inside generated catalyst web docs

3 years agoMerge topic 'add-rendering-base-edition'
Utkarsh Ayachit [Fri, 7 Feb 2014 13:06:57 +0000 (08:06 -0500)]
Merge topic 'add-rendering-base-edition'

1e564b73 Add support for '--' to the catalyst script
85125d67 Add vtkFrustumSource for next
b77dd145 Move ImagingCore enable to Rendering-Base

3 years agoMerge topic 'add-paraview-config'
Utkarsh Ayachit [Fri, 7 Feb 2014 13:06:45 +0000 (08:06 -0500)]
Merge topic 'add-paraview-config'

fd192326 Revert "Remove target printing"
fabc46a6 Remove target printing
4215de47 Fix vtkPVPythonCatalyst to have the Python version
98706d82 Add a paraview-config executable

3 years agoMerge topic '14545_parallel_python_import_paraview.simple'
Utkarsh Ayachit [Fri, 7 Feb 2014 13:06:07 +0000 (08:06 -0500)]
Merge topic '14545_parallel_python_import_paraview.simple'

ee30a6f1 Adding Python test with MPI for importing paraview.simple.
9d6784e4 Fix to make Python running in parallel to properly import paraview.simple.

3 years agoMerge topic '14544_temporal_xdmf'
Utkarsh Ayachit [Fri, 7 Feb 2014 13:05:56 +0000 (08:05 -0500)]
Merge topic '14544_temporal_xdmf'

726de05f BUG: 14544: Fix xdmf file series.

3 years agoMerge topic '14540_fix_disappearing_columns'
Utkarsh Ayachit [Fri, 7 Feb 2014 13:05:49 +0000 (08:05 -0500)]
Merge topic '14540_fix_disappearing_columns'

ec30c1f1 BUG #14540: Fix issue with disappearing columns.

3 years agoMerge topic '14498-crash-delete-value'
Utkarsh Ayachit [Fri, 7 Feb 2014 13:05:41 +0000 (08:05 -0500)]
Merge topic '14498-crash-delete-value'

46a35abb BUG: Remove selected entry when nothing selected

3 years agoProtection against null
Nathan Fabian [Wed, 5 Feb 2014 19:07:14 +0000 (12:07 -0700)]
Protection against null

Change-Id: Iab8b043d7354a058d9a0bd89771a6d010951290f

3 years agoBUG: Remove selected entry when nothing selected
Sankhesh Jhaveri [Wed, 5 Feb 2014 17:39:47 +0000 (12:39 -0500)]
BUG: Remove selected entry when nothing selected

ParaView was crashing when one hits the remove selected button without actually
selecting anything.
Fixes issue 14498

Change-Id: Id85ea280ed7d33d7d41634400a4465562d65738c

3 years agoUpdate link to VisItBridge (based on visit-2.7.0)
Dan Lipsa [Tue, 4 Feb 2014 23:01:11 +0000 (18:01 -0500)]
Update link to VisItBridge (based on visit-2.7.0)

Change-Id: Ice45e082b434f602215026697750fcadc029a679

3 years agoBUG #14540: Fix issue with disappearing columns.
Utkarsh Ayachit [Wed, 29 Jan 2014 22:11:24 +0000 (17:11 -0500)]
BUG #14540: Fix issue with disappearing columns.

The bug was introduced due to the view reordering columns as the model was
reset. Fixed that by moving the re-ordering logic to vtkSpreadSheetView itself.
Also sorted all columns based on array names.

Change-Id: If912a690f61205383922c8318b0d621e15e68fb3

3 years agoFinally worked around the issue with needing to use 0 instead of -1
Nathan Fabian [Wed, 29 Jan 2014 23:49:29 +0000 (16:49 -0700)]
Finally worked around the issue with needing to use 0 instead of -1

Change-Id: I98bfa349869b7f5ec546c6a09ffe2fa8671384bf

3 years agoMake it easier to subclass pqTabbedMultiViewWidget.
Utkarsh Ayachit [Tue, 4 Feb 2014 16:52:49 +0000 (11:52 -0500)]
Make it easier to subclass pqTabbedMultiViewWidget.

Change-Id: I660fc93d2a8999023f42c2fe11a3aac48e4e930e

3 years agoRemove BackgroundLights test from Mac OS X
Dan Lipsa [Tue, 4 Feb 2014 15:38:31 +0000 (10:38 -0500)]
Remove BackgroundLights test from Mac OS X

This test uses the color dialog which is different on Mac OS X.

Change-Id: Ic61dcabb246804a7735036b3b5c4f8d4d8c902d9

3 years agoFix tests for modified dialogs.
Dan Lipsa [Mon, 3 Feb 2014 18:29:16 +0000 (13:29 -0500)]
Fix tests for modified dialogs.

Change-Id: I33495b5c851966f5b21b350e93f1ce567caa574e