Re: [Paraview] CS Wrapper for plugins ignores preprocessor variable

2018-01-11 Thread Utkarsh Ayachit
Two approaches: 1. put the two is separate headers and pick the approach header based on if _DETAILED was defined at cmake configure time. 2. change header as follows: #ifndef __VTK_WRAP__ #ifdef __DETAILED #define vtkAlgorithm vtkMultiBlockDataSetAlgorithm #else #define vtkAlgorithm

[Paraview] CS Wrapper for plugins ignores preprocessor variable

2018-01-11 Thread Alexander Straub
Hello ParaView community, while programming a ParaView filter I encountered a problem with the CS wrapping. In the following I will describe the problem. The ParaView version I am currently using is 5.3.0. In my project I created a filter that has one of two possible outputs, depending on a

Re: [Paraview] ParaView - Variables and different Time Steps

2018-01-11 Thread Utkarsh Ayachit
Carolin, Check this post out: https://blog.kitware.com/improved-vtk-numpy-integration-part-5/ The input to your filter as a vtkMultiBlockDataSet with each block being a timestep, you can access individual arrays as described in the post or you can use the following approach: from

Re: [Paraview] Plot selection over time for threshold

2018-01-11 Thread Jairaj Mathur
Hi Ken This is EXACTLY what I wanted! Thank you so much. Is it possible to create a custom filter to do this, so that I dont have to follow these steps? Jairaj Mathur Mechanical Engineering Washington University in St Louis On Jan 8, 2018 2:23 PM, "Moreland, Kenneth" wrote: