[Paraview] VTK Data File Scalars Analysis

Cory Quammen cory.quammen at kitware.com
Mon Oct 19 10:20:20 EDT 2015


VTK and ParaView have many reader classes. Did you have a particular format
in mind?If not, then I suggest to navigate to VTK/IO/ and look at the
source code contained therein.

HTH,
Cory



On Mon, Oct 19, 2015 at 10:02 AM, Guillermo Giraldo <guillegiraldo at gmail.com
> wrote:

> Thanks, now it's clear.
>
> If I'd like to find the actual VTK file reading process, where in the
> repository should I look?
>
> El vie., 16 de oct. de 2015 a la(s) 4:12 p. m., Cory Quammen <
> cory.quammen at kitware.com> escribió:
>
>> Guillermo,
>>
>> vtkSplitColumnComponents assigns the names based on a guess that
>> 3-component arrays are vectors with X, Y, Z components and 6-component
>> arrays represent symmetric 3x3 matrices, i.e.
>>
>> XX XY XZ
>> XY YY YZ
>> XZ YZ ZZ
>>
>> See ParaView/ParaViewCore/VTKExtensions/Core/vtkPVPostFilter.cxx, lines
>> 147-174.
>>
>> HTH,
>> Cory
>>
>> On Fri, Oct 16, 2015 at 12:28 PM, Guillermo Giraldo <
>> guillegiraldo at gmail.com> wrote:
>>
>>> Hi,
>>>
>>> I'd like to know how Paraview analyses scalar data from a VTK data file.
>>> Specially, how it extracts the components of a scalar and assigns names for
>>> color plots. For example if numComp is 3 they are named "Magnitude, X, Y
>>> and Z2, but if numComp is 6 they are named "Magnitude, XX, YY; ZZ, XY, XZ
>>> and YZ". How is this determined?
>>>
>>> Some questions I'd like to answer are: can this be done with only the
>>> VTK library? If not, are there any other library that can do it (e.g.
>>> paraview python)?
>>>
>>> Pointing to the specific code file in the git repository should be
>>> enough, but an explanation would be great!
>>>
>>> Thanks in advance and greetings.
>>> --
>>> Por favor confirmar recepción.
>>>
>>> Atte.
>>>
>>> Guillermo E. Giraldo Fernandez
>>> Cel. 301 628 6730
>>> Colombia - Suramérica
>>>
>>> _______________________________________________
>>> 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
>>>
>>> Search the list archives at: http://markmail.org/search/?q=ParaView
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://public.kitware.com/mailman/listinfo/paraview
>>>
>>>
>>
>>
>> --
>> Cory Quammen
>> R&D Engineer
>> Kitware, Inc.
>>
> --
> Por favor confirmar recepción.
>
> Atte.
>
> Guillermo E. Giraldo Fernandez
> Cel. 301 628 6730
> Colombia - Suramérica
>



-- 
Cory Quammen
R&D Engineer
Kitware, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20151019/1bcac141/attachment.html>


More information about the ParaView mailing list