[Paraview] Writing XML VTK Binary files from C++

2017-11-30 Thread Stegmeier, Nicholas
Hello, I am new to Paraview and C++ coming from a mostly mathematics background. I am emailing to get resources or help on writing binary XML VTK files from C++. I have finally succeeded in using the ASCII XML VTK format for a 2D rectilinear CFD application. My ".pvtr" file is shown below.

[Paraview] Best file fomat for big data

2017-11-30 Thread as92
Hi! I just finish my own CFD simulation on 256 processors. The program made graphics output in 2000 time points. So large number of outputs I need to prepare smooth animation. I use XML VTK ascii format. So I have now 2000 pvtu files and 2000*256=512000 vtu files. I have problems with such big

[Paraview] unable to RGB voxel from tiff/jpeg slice to volume

2017-11-30 Thread joe kozak
grabbed frames from a standard youtube color video via ffmpeg used something like $./imageSeriesToVolume -sz 1.0 -o test.vtk -i input*.jpeg loaded test.vtk in paraview 5.0.1 and also paraview 5.4.1 on information tab i see: scalars unsigned char [33,239] "Map Scalars" on or off I get no

Re: [Paraview] unable to RGB voxel from tiff/jpeg slice to volume

2017-11-30 Thread Cory Quammen
Joe, This is more of a question for the ITK discussion forum [1], but I'll give you a potential solution here. The problem is that typedef itk::Image ImageType; declares a 3-dimensional scalar-valued image, not a 3-component (RGB) 2-dimensional image. To declare an RGB ITK image, try

Re: [Paraview] post-process of CFL3D result with surfaces in paraview?

2017-11-30 Thread kenichiro yoshimi
Hi Cheng, You can specify the i-j-k min/max indices in a structured grid dataset to extract curviliner grid as wall using the vtkExtractGrid filter through Programmable. Specifically, after adding Programmable Filter and Changing the output type to vtkPolyDatat, there is something like the

[Paraview] Registered texture images

2017-11-30 Thread postgurke
Hello,   I am using python scripts to import data into a ParaView (5.4.1) session. In order to keep the texture images in a saved state, I am registering them:   pathToTextureImage='path\\imagefile' Display = Show(testvtp, renderView1) Display.SetRepresentationType('Surface') texProxy =

Re: [Paraview] Best file fomat for big data

2017-11-30 Thread Mark Olesen
A few months back there was a suggestion on the mailing list that you can apparently write a single vtk geometry and then use something like "map data" to load the new, updated fields (perhaps Ken posted it? - don't know any other details). I agree that these vtk format limitations can be

Re: [Paraview] particle traces from point data

2017-11-30 Thread Alex Barrie
Yes, I have one file per timestep and each file is a list of points, X, Y, Z, C with one point per line. I am loading it with the 'Point3D' input. Thanks! Alex On Thu, Nov 30, 2017 at 9:18 AM, Joachim Pouderoux < joachim.pouder...@kitware.com> wrote: > Alex, > > Could you specify how is your

Re: [Paraview] particle traces from point data

2017-11-30 Thread Alex Barrie
Thanks, I see it now - I missed it because it wasn't in the "Temporal" tab. When I apply this filter, however, I get an error about a missing DATA_TIME_STEPS information key. Is this something I can specify or does it have to be in the raw data somehow? Thanks, Alex On Wed, Nov 29, 2017 at

Re: [Paraview] particle traces from point data

2017-11-30 Thread Joachim Pouderoux
Alex, Could you specify how is your data split over time? Do you have one file per timestep? How do you load your data with ParaView? Joachim *Joachim Pouderoux*, PhD *Technical Expert - Scientific Computing Team* *Kitware SAS * 2017-11-30 9:55 GMT-04:00 Alex Barrie

Re: [Paraview] Best file fomat for big data

2017-11-30 Thread Chris Richardson
I would recommend using xdmf (www.xdmf.org). It works well for large parallel datasets, and supports the same structures as vtk.ChrisOn 30 Nov 2017 10:13, a...@yandex.ru wrote:Hi! I just finish my own CFD simulation on 256 processors. The program made graphics output in 2000 time points. So large

Re: [Paraview] Assemble Variables into Tensor

2017-11-30 Thread Nicholas Richmond
Hi Utkarsh, Using the script you wrote with the Programmable Filter does the job nicely! Thanks so much for going above and beyond to help me assemble the arrays into a tensor. Programmable Filter never occurred to me and I am now looking forward to exploring Chapter 13 of the Paraview Guide to

Re: [Paraview] Assemble Variables into Tensor

2017-11-30 Thread Utkarsh Ayachit
You're most welcome :). Utkarsh On Thu, Nov 30, 2017 at 10:20 AM, Nicholas Richmond wrote: > Hi Utkarsh, > > Using the script you wrote with the Programmable Filter does the job nicely! > Thanks so much for going above and beyond to help me assemble the arrays >

Re: [Paraview] Writing XML VTK Binary files from C++

2017-11-30 Thread Mark Olesen
When you say "writing binary", you need to distinguish between three possibilities. 1) writing binary "inline" (actually base64 encoded) 2) writing binary "append" (actually base64 encoded) 3) writing raw binary "append" (really raw binary) Since you already have ASCII writing working and its