Re: [Paraview] VTK Data File Scalars Analysis
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 Giraldowrote: > 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.quam...@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 < >> guillegira...@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 Engineer >> Kitware, Inc. >> > -- > Por favor confirmar recepción. > > Atte. > > Guillermo E. Giraldo Fernandez > Cel. 301 628 6730 > Colombia - Suramérica > -- Cory Quammen R Engineer Kitware, Inc. ___ 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
Re: [Paraview] VTK Data File Scalars Analysis
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.quam...@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 < > guillegira...@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 Engineer > Kitware, Inc. > -- 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
Re: [Paraview] VTK Data File Scalars Analysis
The VTK file format. El lun., oct. 19, 2015 9:20 AM, Cory Quammenescribió: > 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 < > guillegira...@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.quam...@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 < >>> guillegira...@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 Engineer >>> Kitware, Inc. >>> >> -- >> Por favor confirmar recepción. >> >> Atte. >> >> Guillermo E. Giraldo Fernandez >> Cel. 301 628 6730 >> Colombia - Suramérica >> > > > > -- > Cory Quammen > R Engineer > Kitware, Inc. > -- 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
Re: [Paraview] VTK Data File Scalars Analysis
Thanks, very much. El lun., oct. 19, 2015 9:40 AM, Cory Quammenescribió: > VTK/IO/Legacy contains the various VTK file readers. > > On Mon, Oct 19, 2015 at 10:33 AM, Guillermo Giraldo < > guillegira...@gmail.com> wrote: > >> The VTK file format. >> >> El lun., oct. 19, 2015 9:20 AM, Cory Quammen >> escribió: >> >>> 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 < >>> guillegira...@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.quam...@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 < > guillegira...@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 Engineer > Kitware, Inc. > -- Por favor confirmar recepción. Atte. Guillermo E. Giraldo Fernandez Cel. 301 628 6730 Colombia - Suramérica >>> >>> >>> >>> -- >>> Cory Quammen >>> R Engineer >>> Kitware, Inc. >>> >> -- >> Por favor confirmar recepción. >> >> Atte. >> >> Guillermo E. Giraldo Fernandez >> Cel. 301 628 6730 >> Colombia - Suramérica >> > > > > -- > Cory Quammen > R Engineer > Kitware, Inc. > -- 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
Re: [Paraview] VTK Data File Scalars Analysis
VTK/IO/Legacy contains the various VTK file readers. On Mon, Oct 19, 2015 at 10:33 AM, Guillermo Giraldowrote: > The VTK file format. > > El lun., oct. 19, 2015 9:20 AM, Cory Quammen > escribió: > >> 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 < >> guillegira...@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.quam...@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 < guillegira...@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 Engineer Kitware, Inc. >>> -- >>> Por favor confirmar recepción. >>> >>> Atte. >>> >>> Guillermo E. Giraldo Fernandez >>> Cel. 301 628 6730 >>> Colombia - Suramérica >>> >> >> >> >> -- >> Cory Quammen >> R Engineer >> Kitware, Inc. >> > -- > Por favor confirmar recepción. > > Atte. > > Guillermo E. Giraldo Fernandez > Cel. 301 628 6730 > Colombia - Suramérica > -- Cory Quammen R Engineer Kitware, Inc. ___ 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
Re: [Paraview] VTK Data File Scalars Analysis
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 Giraldowrote: > 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 Engineer Kitware, Inc. ___ 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
[Paraview] VTK Data File Scalars Analysis
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