<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">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><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><br></div><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 class="webkit-indent-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="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p><p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p><p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p><div style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; "><!--EndFragment--></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><br></div><div>-1</div><div>5</div><div>-1</div><div>72</div><div>-1</div><div>73</div><div>-1</div><div>81</div><div>-1</div><div>83</div><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>Talk to you later,</div><div>-Eric</div><div><br></div><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div>------------------------------------------------------</div><div>Eric E Monson</div><div>Duke Visualization Technology Group</div><div><br class="webkit-block-placeholder"></div></span></div><br></body></html>