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