<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Dear Magician,<br>
<br>
Finally I understood how it works after exact following the
instructions:<br>
<br>
set the input (VTS) and source (Plane) on the Change Input Dialog<br>
<br>
Although I wouldn't call this dialog user-friendly, it works, so
thank you very much for solving this issue.<br>
<br>
Best regards,<br>
Mikhail<br>
<br>
<br>
<div class="moz-cite-prefix">On 05/27/2014 11:34 AM, Magician wrote:<br>
</div>
<blockquote cite="mid:E48DB29B-08CD-4EFA-9DF1-DD3E61165232@mac.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<div>Hi Mikhail,</div>
<div><br>
</div>
<div><br>
</div>
<div>Maybe the usage of Resample With Dataset is wrong.</div>
<div>You should set the input (VTS) and source (Plane) on the
Change Input Dialog correctly.</div>
<div><br>
</div>
<div>Try the attached state file.</div>
<div><br>
</div>
<div><br>
</div>
<div>Magician</div>
<div><br>
</div>
<br>
<div>
<div>On May 27, 2014, at 2:34, Mikhail Artemyev <<a
moz-do-not-send="true"
href="mailto:artemiev.mikhail@gmail.com">artemiev.mikhail@gmail.com</a>>
wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div bgcolor="#FFFFFF" text="#000000"> Dear Magician,<br>
<br>
Here is a precise algorithm I follow to:<br>
<br>
1. Read the data (I usually do that in terminal: paraview
test.vts) (test.vts is attached)<br>
2. Sources -> Plane (Origin: 0 0 0, Point1: 4 0 0,
Point2: 0 2 0, X Resolution: 200, Y Resolution: 100)<br>
3. Filters -> Resample With Dataset -> (Available
input ports: Source; Select Input: Plane1) (test.pvsm is
attached)<br>
(After applying this filter I get nothing)<br>
4. Repeating step 3 with exactly the same parameters (if I
remember correctly) gave me the desired result once. But now
it doesn't. Nevertheless test2.pvsm, corresponding to the
state after doing this, is attached.<br>
<br>
Thank you for your help!<br>
<br>
Best regards,<br>
Mikhail<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">On 05/23/2014 06:18 PM,
Magician wrote:<br>
</div>
<blockquote
cite="mid:A3C2B0E6-F566-484E-9B3A-42BCD18553F5@mac.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
Hi Mikhail,
<div><br>
</div>
<div><br>
</div>
<div>I need to get more information about your problem.</div>
<div>Can you share your dataset or screenshot?</div>
<div>.pvsm state files are more suitable.</div>
<div><br>
</div>
<div><br>
</div>
<div>Magician</div>
<div><br>
</div>
<div><br>
<div>
<div>On May 24, 2014, at 5:33, Mikhail Artemyev <<a
moz-do-not-send="true"
href="mailto:artemiev.mikhail@gmail.com">artemiev.mikhail@gmail.com</a>>
wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div bgcolor="#FFFFFF" text="#000000"> Dear
Magician,<br>
<br>
Thank you for the explanation and for the hint!<br>
The only issue is that the last step of your
algorithm<br>
3. apply Resample With Dataset filter,<br>
not always gives the desired result.<br>
I was able to get the same representation like you
showed, but<br>
it was an accidental choice of several Resample
With Dataset filters,<br>
and I couldn't repeat it again. My impression is
that I have to apply<br>
this filter several times to different sources. Am
I right?<br>
<br>
Thank you.<br>
<br>
Best regards,<br>
Mikhail<br>
<br>
<br>
<div class="moz-cite-prefix">On 05/17/2014 12:00
AM, Magician wrote:<br>
</div>
<blockquote
cite="mid:218AA6FB-0196-4517-9D3F-3F31C4C71956@mac.com"
type="cite">
<meta http-equiv="Content-Type"
content="text/html; charset=ISO-8859-1">
<div>Hi Mikhail,</div>
<div><br>
</div>
<div><br>
</div>
<div>Yes, that’s because of the triangulation
(or tesselation) of surface representations.</div>
<div>Most of the 3D programs including ParaView
draw objects as groups of triangles.</div>
<div>That’s depends on today’s 3D rendering
pipelines such as OpenGL, DirectX, etc.</div>
<div>Please googling the keywords: ‘vertex
shading’</div>
<div><br>
</div>
<div>Even though you read your data as
structured grid with point values,</div>
<div>ParaView should immediately triangulate all
of the rectangles, and interpolating</div>
<div>the values between points of the triangles.</div>
<div><br>
</div>
<div># If you visualize cell values, there are
no problem caused by interpolating.</div>
<div><br>
</div>
<div>The attached image is one of the solution.</div>
<div>1. read your data</div>
<div>2. make a ‘fine resolution' Plane source
with same size to the original (for example,
200x100 structured grid)</div>
<div>3. apply Resample With Dataset filter</div>
<div>The result looks nearly-symmetric for me.</div>
<div><br>
</div>
<div><br>
</div>
<div>Magician</div>
<div><br>
</div>
<br>
<div>
<div>On May 17, 2014, at 10:40, <a
moz-do-not-send="true"
href="mailto:paraview-request@paraview.org">paraview-request@paraview.org</a>
wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">Date: Fri, 16 May 2014
20:40:18 -0500<br>
From: Mikhail Artemyev <<a
moz-do-not-send="true"
href="mailto:artemiev.mikhail@gmail.com">artemiev.mikhail@gmail.com</a>><br>
To: <a moz-do-not-send="true"
href="mailto:paraview@paraview.org">paraview@paraview.org</a><br>
Subject: [Paraview] non-symmetric
representation of symmetric field<br>
Message-ID: <<a moz-do-not-send="true"
href="mailto:5376BE02.7050800@gmail.com">5376BE02.7050800@gmail.com</a>><br>
Content-Type: text/plain;
charset="iso-8859-1"; Format="flowed"<br>
<br>
Dear all,<br>
<br>
Here is a minimal example of values
distributed over a mesh:<br>
<br>
0------0------0------0------0<br>
| | | | |<br>
0----0.5---0.75---0.5-----0<br>
| | | | |<br>
0------0------1------0------0<br>
<br>
To visualize this field I wrote a .vts file:<br>
<br>
<?xml version="1.0"?><br>
<VTKFile type="StructuredGrid"
version="0.1" byte_order="LittleEndian"><br>
<StructuredGrid WholeExtent="1 5 1 3 1
1"><br>
<Piece Extent="1 5 1 3 1 1"><br>
<PointData Scalars="scalars"><br>
<DataArray type="Float64"
Name="sol_" format="ascii"><br>
0 0 1 0 0 0 0.5 0.75 0.5 0 0 0 0 0 0<br>
</DataArray><br>
</PointData><br>
<Points><br>
<DataArray type="Float64"
NumberOfComponents="3" format="ascii"><br>
0 0 0<br>
1 0 0<br>
2 0 0<br>
3 0 0<br>
4 0 0<br>
0 1 0<br>
1 1 0<br>
2 1 0<br>
3 1 0<br>
4 1 0<br>
0 2 0<br>
1 2 0<br>
2 2 0<br>
3 2 0<br>
4 2 0<br>
</DataArray><br>
</Points><br>
</Piece><br>
</StructuredGrid><br>
</VTKFile><br>
<br>
The visual representation of this field,
however, doesn't look symmetric <br>
(a figure is attached),<br>
although the values are symmetric with
respect to a Y-axis crossing the <br>
center of the domain.<br>
<br>
Could you please shed some light on where I
am wrong -<br>
in my understanding of visualization
technique, or in a way I pass the <br>
data to ParaView?<br>
I use ParaView 4.1.0 64-bit, Linux.<br>
<br>
Thank you.<br>
Best regards,<br>
Mikhail<br>
</blockquote>
</div>
</blockquote>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
</blockquote>
</div>
=<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
</blockquote>
<br>
</body>
</html>