<div dir="ltr">Hi Saeed,<div><br></div><div>Please keep the discussion on the mailing list because I am not a VTK specialist.</div><div><br></div><div>I think cy<span style="font-family:arial,sans-serif;font-size:14px">lindrical transformation </span>will do if you confirm that your input coordinate sequence is (r,theta,z) and write code similar to the following:</div>

<div><div><span style="font-family:arial,sans-serif;font-size:14px;font-weight:bold;white-space:nowrap"><br></span>    // Get all data from the file<br></div>    vtkSmartPointer<vtkGenericDataObjectReader> reader = <br>

        vtkSmartPointer<vtkGenericDataObjectReader>::New();<br>    reader->SetFileName(inputFilename.c_str());<br>    reader->Update();<br><br>    // convert cylindrical to Cartesian coordinate system<br>    vtkSmartPointer<vtkCylindricalTransform> cylTrans =<br>

        vtkSmartPointer<vtkCylindricalTransform>::New();<br><br>    vtkSmartPointer<vtkTransformFilter> cylTransFilter =<br>        vtkSmartPointer<vtkTransformFilter>::New();<br>    cylTransFilter->SetInputData(reader->GetOutput());<br>

    cylTransFilter->SetTransform(cylTrans);<br>    cylTransFilter->Update();</div><div><br></div>However there is a possibility that the transformed results will have a lack of  the resolution in the circumferential direction. In that case, you may need to subdivide in theta direction on input data preliminarily.<div>

<br></div><div>Regards,</div><div>yoshimi</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-07-06 0:19 GMT+09:00 Saeed Mazrouei <span dir="ltr"><<a href="mailto:saeed.mazrouei@gmail.com" target="_blank">saeed.mazrouei@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>Hi,<br><br></div>Thanks for your reply.<br><br></div><span style="background-color:rgba(255,255,255,0)">I can read my data and make vtk structured grid but </span>I do not know<br>
How can I transform data to Cartesian coordinate system using <span style="background-color:rgba(255,255,255,0)">vtkCylindricalTransform.<br>
</span></div><span style="background-color:rgba(255,255,255,0)">Iwould appreciate if you tell me.<br></span></div><span style="background-color:rgba(255,255,255,0)">Regards<span class="HOEnZb"><font color="#888888"><br></font></span></span></div>
<span class="HOEnZb"><font color="#888888"><span style="background-color:rgba(255,255,255,0)">Saeed<br>
</span></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Jul 5, 2014 at 4:52 AM, kenichiro yoshimi <span dir="ltr"><<a href="mailto:rccm.kyoshimi@gmail.com" target="_blank">rccm.kyoshimi@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<div><br></div><div>Unfortunately there may be not the form for <span></span>cylindrical coordinate system in vtk file format. But you can load your cylindrical data as vtkRecti<span></span>linearDataSet or <span style="background-color:rgba(255,255,255,0)"><font>vtkStructuredGrid</font></span> data set and then transform them to Cartecian coordinate system using <span style="background-color:rgba(255,255,255,0)">vtkCylindricalTransform.</span></div>


<div><span style="background-color:rgba(255,255,255,0)"><br></span></div><div><span style="background-color:rgba(255,255,255,0)">Thanks,</span></div><div>Yoshimi</div>
<div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>