Hi Eric,<div><br><div class="gmail_quote">On Fri, Apr 9, 2010 at 2:58 PM, Eric E. Monson <span dir="ltr"><<a href="mailto:emonson@cs.duke.edu" target="_blank">emonson@cs.duke.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div style="word-wrap:break-word">Hey Marcus,<div><br></div><div>First, I see you snuck in moving the parallel coordinates axes with the middle mouse button -- cool! :)</div></div></blockquote><div><br></div><div>Yes - still experimenting with a few required features. I have refactored the axis labeling code, and added in support for enumeration on axes.</div>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><br></div><div>I was playing with the PC chart in ParaView and came across a strange problem: Selections work fine if I'm doing it by ID (set in Selection Inspector panel Selection Type), but if I have the Selection Type set to Global Node IDs the list of Global IDs is twice as long as it should be, and alternates -1 values with the correct IDs.</div>

</div></blockquote><div><br></div><div>This is where I need to talk to Utkarsh, as I knew that I had not accounted for all of the selection mechanisms. From looking at the spread sheet view selection code it appeared that selection ID properties had 2 or 3 elements per command. When using global node IDs they just have one. Is there a</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>Here's the pipeline to reproduce with built-in functions (this morning's CVS PV):</div>

<div><br></div><div>Point Source (I did 100 pts, 10 rad)</div><div>Generate Ids</div><div>Elevation</div><div>Programmable filter:</div><blockquote style="margin:0 0 0 40px;border:none;padding:0px">from paraview.vtk import vtkAssignAttribute<br>

pdi = self.GetInputDataObject(0,0)<br>pdo = self.GetOutputDataObject(0)<br>aa = vtkAssignAttribute()<br>aa.SetInput(pdi)<br># aa.Assign()<br># Second arg: 5=GlobalIds, 6=PedigreeIds<br># Third arg: 0=Point, 1=Cell data<br>

aa.Assign('Ids',5,0)<br>aa.Update()<br>pdo.ShallowCopy(aa.GetOutputDataObject(0))</blockquote>PlotData<div><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"></p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">

</p><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"></p><div style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"></div></div><div><br></div>

<div>Make a selection in the PC chart with the Selection Inspector visible. The SI Selection Type will show IDs. Switch this to Global Node IDs, and the list will still look fine. Then, make a different selection in the PC chart with Global Node IDs still as the Type. I get lists like this:</div>
</div></blockquote><div><br></div><div>Thanks for the steps - I see this behavior too, and the single element per command. The issue is that the selection IDs only match by chance too - they are still just the row indices. It looks like I would need to get the global node ids column, and map from table row indices to global node ids (and back again) in the ParaView proxy/ParaView parallel coordinate view class.</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">
<div><br></div><div>where the values that aren't -1 are correct. If you switch Type back to IDs, then back to Global IDs without changing the selection it looks fine again, until you make a new selection with Global IDs set as the Type.</div>

<div><br></div><div>Since this is a strange one, let me know if you'd like me to file a bug report.</div><div><br></div></div></blockquote><div>If you could file a bug that would be great. It would be good to get this working correctly, but I am still learning about selection mechanisms in ParaView. The -1 values you see are the process ID (not set as multiprocess is currently not implemented in charts).</div>
<div><br></div><div>Marcus</div></div>
</div>