<div dir="ltr"><div><div><div>Thank you Cory, <br><br></div>Yeah, the only best option seems available is to support selecting which arrays are loaded by the reader.<br><br></div>But, I just want to let you know that I think  VISIT's  <span class=""><i>avtvisit FileFormat</i> supports this.<br><br><br></span></div><span class="">Sumeet <br></span><div><div><br><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 12, 2016 at 8:50 AM, Cory Quammen <span dir="ltr"><<a href="mailto:cory.quammen@kitware.com" target="_blank">cory.quammen@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Sumeet,<div><br></div><div>Please include the list with your reply so that others may participate in the conversation.<br><div><br></div><div>It is possible at the reader level to specify which arrays are loaded through the reader properties panel. See the VTU and Exodus II file readers in ParaView, for example. However, any unloaded arrays will not be displayed in the Color By combobox.</div><div><br></div><div>At present, I do not believe it is possible to do what you are asking without some significant source code changes within ParaView. For example, support for consumers to request subsets of data arrays from producers, like your reader, would need to be added. That's a fairly heavy lift.</div></div><div><br></div><div>Your best bet for now is probably to support selecting which arrays are loaded by your reader. See the xml description for XMLUnstructuredGridReaderCore in</div><div><br></div><div>paraview/ParaViewCore/<wbr>ServerManager/SMApplication/<wbr>Resources/readers.xml</div><div><br></div><div>for an example of how to set this up.</div><div><br></div><div>HTH,</div><div>Cory</div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 10, 2016 at 1:05 PM, sumeet kumar <span dir="ltr"><<a href="mailto:sumeet.kumar507@gmail.com" target="_blank">sumeet.kumar507@gmail.com</a>></span> wrote:<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>Hey Cory, <br><br></div>Currently I am doing this from my reader.<br><br><span style="color:rgb(0,0,255)">    Node_Mesh->GetPointData()->Add<wbr>Array(Generalized_Displacement<wbr>s);<br>    Node_Mesh->GetPointData()->Add<wbr>Array(Node_Tag);<br>    Node_Mesh->GetCellData()->AddA<wbr>rray(Element_Tag);<br>    Node_Mesh->GetCellData()->AddA<wbr>rray(Material_Tag);<br>    Node_Mesh->GetPointData()->Add<wbr>Array(Elastic_Strain);<br>    Node_Mesh->GetPointData()->Add<wbr>Array(Plastic_Strain);<br>    Node_Mesh->GetPointData()->Add<wbr>Array(Stress);<br></span></div><span style="color:rgb(0,0,255)"><span style="color:rgb(0,0,0)">Which means I am sending all field data <b>Generalized_Displacemnts , Node_Tag, Element_Tag, Material_tag, Elastic_Strain ........ <br></b><br></span></span></div><span style="color:rgb(0,0,255)"><span style="color:rgb(0,0,0)">Now suppose, in Paraview, user selects field_data  <i><b>Generalized Displacements </b></i>.to visualize.<br><br></span></span></div><div><span style="color:rgb(0,0,255)"><span style="color:rgb(0,0,0)"></span></span></div><div><span style="color:rgb(0,0,255)"><span style="color:rgb(0,0,0)">Currently, I am sending all the field data associated with that mesh as stated above. In order to be efficient, I want to send only <i>Generalized_Displacements</i> in the next time step. <br>But at the same time, I want that the user should be able to see all the field datasets, so that if he changes his mind and select other field dataset to visualize, I would get a request and send the same data.<br><br></span></span></div><div><span style="color:rgb(0,0,255)"><span style="color:rgb(0,0,0)">In other words, I want to respond to the events when (the choice of field data to visualize is changed), so that i can send that field data only. <br></span></span></div><div><span style="color:rgb(0,0,255)"><span style="color:rgb(0,0,0)">But, The user should be able to view other field data options, so that they can change the request what they want to visualize. <br></span></span></div><div><span style="color:rgb(0,0,255)"><span style="color:rgb(0,0,0)">Basically, I want to respond to this event as shown below<br><br><img alt="Inline image 2" src="cid:ii_156756a2e813ddb9" height="74" width="568"><br></span></span></div><div><span style="color:rgb(0,0,255)"><span style="color:rgb(0,0,0)"><br><br></span></span></div><div><span style="color:rgb(0,0,255)"><span style="color:rgb(0,0,0)">Sumeet<br></span></span></div><div><span style="color:rgb(0,0,255)"><span style="color:rgb(0,0,0)"></span></span></div><div><div><div><span style="color:rgb(0,0,255)"><br></span></div></div></div><div class="gmail_extra"><div><div><br><div class="gmail_quote">On Wed, Aug 10, 2016 at 8:24 AM, Cory Quammen <span dir="ltr"><<a href="mailto:cory.quammen@kitware.com" target="_blank">cory.quammen@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Sumeet,<div><br></div><div>Could you clarify what you mean by "sending data to ParaView"?</div><div><br></div><div>Thanks,</div><div>Cory</div></div><div class="gmail_extra"><div><div><br><div class="gmail_quote">On Wed, Aug 10, 2016 at 2:58 AM, sumeet kumar <span dir="ltr"><<a href="mailto:sumeet.kumar507@gmail.com" target="_blank">sumeet.kumar507@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello all, <br><br></div><div>I have a unstructured mesh with many fields like Displacements, velocity, Stresses, Strains, Material no.. etc either on nodes or on cell. Currently, I associate all the field data arrays with my unstructured mesh and send it to ParaView for visualization and it works great..<br><br></div><div>But, now, since I have many field data and the mesh can be also very large. Sending all data at once would be very <i>slow and in-efficient.</i><br><br></div><div>What I want is the following:<br><ul><li>I want that based on user request I should send attach that field data only. For example in the ParaView, if the User selects Displacements to Visualize, I should some how know that and only send displacements and similarly.</li><li>Also, I want that the user should be able to see all the different field data options I have, so that he can select and ask for as it is done normally . <br></li><li>I also, want that if the user selects a filter like, <b>wrap by vector </b>with displacements and chooses to see stress, ParaView should generate requests for <i>displacements and stresses so that I can send them.</i></li></ul><p>I would be really thankfull, if someone could answer my queries.<br></p></div><div><br><div data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div><span><span style="font-size:12.8px">         </span><br><div><font style="font-family:"trebuchet ms",sans-serif;font-size:12.8px;color:rgb(51,51,51)">Sumeet Kumar Sinha</font></div><div><span style="color:rgb(51,51,51);font-family:"trebuchet ms",sans-serif;font-size:small">Graduate Student</span></div><div><span style="font-size:12.8px;font-family:"trebuchet ms",sans-serif;color:rgb(51,51,51)">Phone: (+1)</span><a href="tel:%28%2B91%29%209910516219" value="+919910516219" style="font-size:12.8px;font-family:"trebuchet ms",sans-serif;color:rgb(17,85,204)" target="_blank"> </a><span style="font-size:12.8px;font-family:"trebuchet ms",sans-serif;color:rgb(51,51,51)"><a href="tel:5306018271" value="+15306018271" target="_blank">5306018271</a></span></div><div><span style="color:rgb(51,51,51);font-family:"trebuchet ms",sans-serif;font-size:12.8px">Website : </span><a href="http://www.sumeetsinha.in/" style="font-family:"trebuchet ms",sans-serif;font-size:12.8px;color:rgb(17,85,204)" target="_blank">http://www.sumeetsinha.in/</a></div></span></div></div></div></div></div></div>
</div><div><div></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span><font color="#888888">-- <br><div data-smartmail="gmail_signature">Cory Quammen<br>R&D Engineer<br>Kitware, Inc.</div>
</font></span></div>
</blockquote></div><br><br clear="all"><br></div></div><span><font color="#888888">-- <br></font></span><div data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div><span><span><font color="#888888"><img src="http://faculty.engineering.ucdavis.edu/ceetemplate/wp-content/uploads/2013/06/CEE75percent500w.jpg" style="font-size:12.8px" height="31" width="200"><span style="font-size:12.8px">         </span></font></span><span><br><div><font style="font-family:"trebuchet ms",sans-serif;font-size:12.8px;color:rgb(51,51,51)">Sumeet Kumar Sinha</font></div><div><span style="color:rgb(51,51,51);font-family:"trebuchet ms",sans-serif;font-size:small">Graduate Student</span></div><div><span style="font-size:12.8px;font-family:"trebuchet ms",sans-serif;color:rgb(51,51,51)">Phone: (+1)</span><a href="tel:%28%2B91%29%209910516219" value="+919910516219" style="font-size:12.8px;font-family:"trebuchet ms",sans-serif;color:rgb(17,85,204)" target="_blank"> </a><span style="font-size:12.8px;font-family:"trebuchet ms",sans-serif;color:rgb(51,51,51)"><a href="tel:5306018271" value="+15306018271" target="_blank">5306018271</a></span></div><div><span style="color:rgb(51,51,51);font-family:"trebuchet ms",sans-serif;font-size:12.8px">Website : </span><a href="http://www.sumeetsinha.in/" style="font-family:"trebuchet ms",sans-serif;font-size:12.8px;color:rgb(17,85,204)" target="_blank">http://www.sumeetsinha.in/</a></div></span></span></div></div></div></div></div></div>
</div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div data-smartmail="gmail_signature">Cory Quammen<br>R&D Engineer<br>Kitware, Inc.</div>
</div>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div><span><img src="http://faculty.engineering.ucdavis.edu/ceetemplate/wp-content/uploads/2013/06/CEE75percent500w.jpg" style="font-size:12.8000001907349px" height="31" width="200"><span style="font-size:12.8000001907349px">         </span><br><div><font style="font-family:'trebuchet ms',sans-serif;font-size:12.8000001907349px;color:rgb(51,51,51)">Sumeet Kumar Sinha</font></div><div><span style="color:rgb(51,51,51);font-family:'trebuchet ms',sans-serif;font-size:small">Graduate Student</span></div><div><span style="font-size:12.8000001907349px;font-family:'trebuchet ms',sans-serif;color:rgb(51,51,51)">Phone: (+1)</span><a href="tel:%28%2B91%29%209910516219" value="+919910516219" style="font-size:12.8000001907349px;font-family:'trebuchet ms',sans-serif;color:rgb(17,85,204)" target="_blank"> </a><span style="font-size:12.8000001907349px;font-family:'trebuchet ms',sans-serif;color:rgb(51,51,51)">5306018271</span></div><div><span style="color:rgb(51,51,51);font-family:'trebuchet ms',sans-serif;font-size:12.8000001907349px">Website : </span><a href="http://www.sumeetsinha.in/" style="font-family:'trebuchet ms',sans-serif;font-size:12.8000001907349px;color:rgb(17,85,204)" target="_blank">http://www.sumeetsinha.in/</a></div></span></div></div></div></div></div></div>
</div>