Re: [Paraview] Question about building reader plugin

2009-03-31 Thread Jacques Papper
Isn't your problem that you want a vtkImageAlgorithm and not a vtkIamgeAlgorithm ??? Seems like a typo to me 2009/4/1 shenyanwen > Hello, everyone! > I am trying to build my own reader into ParaView as a plugin. But after I > put my source file and XML files and the CMakeLists file into the

[Paraview] Question about building reader plugin

2009-03-31 Thread shenyanwen
Hello, everyone! I am trying to build my own reader into ParaView as a plugin. But after I put my source file and XML files and the CMakeLists file into the specific directory and I used CMake to build it. Then I open the sln file it created. I just choose ALL_BUILD and I ran to many errors like be

Re: [Paraview] Dataset name in a MultiBlock dataset and display of unstructured grid

2009-03-31 Thread #CHENG ZHIGAO#
Hi, Ken Thanks for your reply. Yes, i am using my own reader. Currently all the blocks are constructed in the reader. And all the blocks are display in the view after pressing the Apply button. But the user would only expect to see one block each time. If i combine rea

Re: [Paraview] VTK XML Binary Output

2009-03-31 Thread David Mulholland
Hi Thorsten, That's really helpful. I don't quite know how to write out the number of bits as a char? If you could explain a way of how to do that it would be greatly appreciated. Also, how do I calculate what value goes in for the offset? I had a look at a couple of output files from paravie

Re: [Paraview] Crash on Paraview

2009-03-31 Thread Moreland, Kenneth
(I'm cc'ing back to the ParaView mailing list so others can see and comment.) OK. I'm able to replicate the problem by creating a large data set with the Wavelet source. What I suspect is happening is that ParaView is generating a wireframe representation of the selected cells. The wireframe

Re: [Paraview] Crash on Paraview

2009-03-31 Thread Moreland, Kenneth
I don't think this is enough information to diagnose your problem. Could you send a more detailed description on how to replicate the crash and any data necessary? -Ken On 3/31/09 12:29 PM, "Wu, Yue" wrote: Hello, I am new to ParaView and want some help. I am using ParaView to edit

[Paraview] Crash on Paraview

2009-03-31 Thread Wu, Yue
Hello, I am new to ParaView and want some help. I am using ParaView to edit VTK files I generated from another software. The VTK is reconstructed from parallel CT images. What I need to do is to erase those features (bones, lungs etc) I don't want. The problem is that ParaView crashe

[Paraview] Help with colorful display under non "all scalar" mode of threshold filter

2009-03-31 Thread Kun Chen
Hi, all I just start to learn Paraview and use this tool to display some 3D images. The version I use is 3.2.1. Now I meet a problem: After loading a 3D labeled image, I try to use the threshold filter to display the labeled region with different color. If the "all scalar" option is sele

[Paraview] Loading 3D+t mhd files possible?

2009-03-31 Thread Thomas Boettger
Hi everybody, It has been a while since I have been using paraview for the last time and it looks quite different now. I just tried loading a set of image volumes in mhd/raw format. My files are named: d1.mhd d2.mhd d3.mhd and so on. I thought that way I could load time resolved data and for a

Re: [Paraview] Question about writing custom reader for paraview

2009-03-31 Thread Moreland, Kenneth
I assume you are referring to the Doxygen of the classes located at http://www.vtk.org/doc/release/5.2/html/. There is some trickery in the vtkDataArray classes like vtkDoubleArray and vtkIntArray to make them seem like they inherit directly from vtkDataArray when in fact they really inherit fr

Re: [Paraview] Question about writing custom reader for paraview

2009-03-31 Thread Moreland, Kenneth
The first argument, sz, is the size of the array. It should equal the number of components times the number of tuples. The second argument, extSize, can be ignored. It is the amount of entries that should be added to the array every time a larger one needs to be allocated. If you make the ar

Re: [Paraview] VTK XML Binary Output

2009-03-31 Thread Thorsten Hater
Hello, the solution might be to append your data as < DataArray ... format="appended"> < AppendedData encoding="raw"> _Data where you should replace with a four byte integer containing the number of bytes in the data array as 4 chars. Setting the encoding to "raw" tells ParaView

[Paraview] VTK XML Binary Output

2009-03-31 Thread David Mulholland
Hello, I am currently trying to write my own quick output routine to generate a binary file using C++. I am currently trying to avoid having to use the vtk libraries because I only need a very basic output that doesn't change much. I so far have the ASCII output working no problem but I can't g

[Paraview] vtkRIB exporter

2009-03-31 Thread Nicholas Yue
Hi, Given that there is currently the ability within VTK to export RIB, how do I enable it if I were to build paraview from source? Regards -- Nicholas Yue ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitwar

Re: [Paraview] Dataset name in a MultiBlock dataset and display of unstructured grid

2009-03-31 Thread Moreland, Kenneth
Zhigao, Are you creating your own reader? If so, why not combine the actual reader and subsequent filter into a single "meta" reader class. That way ParaView can read in the data and apply the block extraction all in one step. It should make the user interface easier to use and gets around t

Re: [Paraview] Dataset name in a MultiBlock dataset and display of unstructured grid

2009-03-31 Thread #CHENG ZHIGAO#
Thanks, Paul...The name part has been done according to your suggestion... The other question still remains: The scenario is that: I have a reader which reads a multiple block data. Each of the data block is a unstructured grid. After i load the data and press the Apply but