Hi!
I've recently downloaded PV 3.10.0 and extended it with my own filters I've
already build in PV 3.6 and PV 3.8.0. However, executing them in PV3.10.0, I
get the error
Warning: In
/home/happenhofer/svn/paraview/branches/ParaView-3.10.0/Servers/Filters/vtkTexturePainter.cxx,
line 179
vtkTexturePainter (0x900c8d0): Failed to locate selected scalars. Will use
image scalars by default.
ERROR: In
/home/happenhofer/svn/paraview/branches/ParaView-3.10.0/VTK/Rendering/vtkOpenGLTexture.cxx,
line 196
vtkOpenGLTexture (0x9083d20): No scalar values found for texture input!
I've googled those errors and one way to get rid of this seemed to be to name
the arrays. Lamentably, the error persists after naming them.
Here is a code fragment of setting the output (hor is a vtkDoubleArray):
hor -> SetName(name.c_str());
output -> CopyStructure(input);
output -> GetPointData() -> AddArray(hor);
output -> GetPointData() -> SetActiveScalars(name.c_str());
output -> Squeeze();
Do you have any ideas on this? As I said, in PV 3.6.x and PV 3.8.0 this code
worked fine.
Also, since I've been developing filters for ParaView quite a time now and some
of my filters might be interesting to other users as well, so I thought about
contributing code.
I have coded a DataCalculator which operates on different data sets, for
example if you have two datasets at different times and want to know the
difference between the values, you could use this filter.
Another filter of mine calculates the horizontal average of a dataset.
Lastly, I wrote a wrapper-routine to the VTK-and the XDMF-Writer already
included in Paraview, so that they do not just write one file, but write a time
series of files. This might be interesting if you perform some operations on a
time-series read in and want to save the output without having to call the
writer for each time step separately.
If you are interested, please let me know.
Greetings,
Natalie
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview