<div dir="ltr"><div><div>Here's what it looks like after I create the poly data:<br><br><div style="margin-left:40px"><font size="2"><span style="font-family:monospace,monospace">vtkPolyData (000000000FB4D290)</span></font><br><font size="2"><span style="font-family:monospace,monospace">  Debug: Off</span></font><br><font size="2"><span style="font-family:monospace,monospace">  Modified Time: 18815</span></font><br><font size="2"><span style="font-family:monospace,monospace">  Reference Count: 1</span></font><br><font size="2"><span style="font-family:monospace,monospace">  Registered Events: (none)</span></font><br><font size="2"><span style="font-family:monospace,monospace">  Information: 000000000FB3EDD0</span></font><br><font size="2"><span style="font-family:monospace,monospace">  Data Released: False</span></font><br><font size="2"><span style="font-family:monospace,monospace">  Global Release Data: Off</span></font><br><font size="2"><span style="font-family:monospace,monospace">  UpdateTime: 0</span></font><br><font size="2"><span style="font-family:monospace,monospace">  Field Data:</span></font><br><font size="2"><span style="font-family:monospace,monospace">    Debug: Off</span></font><br><font size="2"><span style="font-family:monospace,monospace">    Modified Time: 18719</span></font><br><font size="2"><span style="font-family:monospace,monospace">    Reference Count: 1</span></font><br><font size="2"><span style="font-family:monospace,monospace">    Registered Events: (none)</span></font><br><font size="2"><span style="font-family:monospace,monospace">    Number Of Arrays: 0</span></font><br><font size="2"><span style="font-family:monospace,monospace">    Number Of Components: 0</span></font><br><font size="2"><span style="font-family:monospace,monospace">    Number Of Tuples: 0</span></font><br><font size="2"><span style="font-family:monospace,monospace">  Number Of Points: 19</span></font><br><font size="2"><span style="font-family:monospace,monospace">  Number Of Cells: 0</span></font><br><font size="2"><span style="font-family:monospace,monospace">  Cell Data:</span></font><br><font size="2"><span style="font-family:monospace,monospace">    Debug: Off</span></font><br><font size="2"><span style="font-family:monospace,monospace">    Modified Time: 18811</span></font><br><font size="2"><span style="font-family:monospace,monospace">    Reference Count: 1</span></font><br><font size="2"><span style="font-family:monospace,monospace">    Registered Events: </span></font><br><font size="2"><span style="font-family:monospace,monospace">      Registered Observers:</span></font><br><font size="2"><span style="font-family:monospace,monospace">        vtkObserver (000000000FAFB950)</span></font><br><font size="2"><span style="font-family:monospace,monospace">          Event: 33</span></font><br><font size="2"><span style="font-family:monospace,monospace">          EventName: ModifiedEvent</span></font><br><font size="2"><span style="font-family:monospace,monospace">          Command: 000000000FB3ECE0</span></font><br><font size="2"><span style="font-family:monospace,monospace">          Priority: 0</span></font><br><font size="2"><span style="font-family:monospace,monospace">          Tag: 1</span></font><br><font size="2"><span style="font-family:monospace,monospace">    Number Of Arrays: 1</span></font><br><font size="2"><span style="font-family:monospace,monospace">    Array 0 name = objtypes2</span></font><br><font size="2"><span style="font-family:monospace,monospace">    Number Of Components: 1</span></font><br><font size="2"><span style="font-family:monospace,monospace">    Number Of Tuples: 19</span></font><br><font size="2"><span style="font-family:monospace,monospace">    Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 )</span></font><br><font size="2"><span style="font-family:monospace,monospace">    Interpolate Flags: ( 1 1 1 1 1 0 0 1 )</span></font><br><font size="2"><span style="font-family:monospace,monospace">    Pass Through Flags: ( 1 1 1 1 1 1 1 1 )</span></font><br><font size="2"><span style="font-family:monospace,monospace">    Scalars: (none)</span></font><br><font size="2"><span style="font-family:monospace,monospace">    Vectors: (none)</span></font><br><font size="2"><span style="font-family:monospace,monospace">    Normals: (none)</span></font><br><font size="2"><span style="font-family:monospace,monospace">    TCoords: (none)</span></font><br><font size="2"><span style="font-family:monospace,monospace">    Tensors: (none)</span></font><br><font size="2"><span style="font-family:monospace,monospace">    GlobalIds: (none)</span></font><br><font size="2"><span style="font-family:monospace,monospace">    PedigreeIds: (none)</span></font><br><font size="2"><span style="font-family:monospace,monospace">    EdgeFlag: (none)</span></font><br><font size="2"><span style="font-family:monospace,monospace">  Point Data:</span></font><br><font size="2"><span style="font-family:monospace,monospace">    Debug: Off</span></font><br><font size="2"><span style="font-family:monospace,monospace">    Modified Time: 18814</span></font><br><font size="2"><span style="font-family:monospace,monospace">    Reference Count: 1</span></font><br><font size="2"><span style="font-family:monospace,monospace">    Registered Events: </span></font><br><font size="2"><span style="font-family:monospace,monospace">      Registered Observers:</span></font><br><font size="2"><span style="font-family:monospace,monospace">        vtkObserver (000000000FAFBB30)</span></font><br><font size="2"><span style="font-family:monospace,monospace">          Event: 33</span></font><br><font size="2"><span style="font-family:monospace,monospace">          EventName: ModifiedEvent</span></font><br><font size="2"><span style="font-family:monospace,monospace">          Command: 000000000FB3ECE0</span></font><br><font size="2"><span style="font-family:monospace,monospace">          Priority: 0</span></font><br><font size="2"><span style="font-family:monospace,monospace">          Tag: 1</span></font><br><font size="2"><span style="font-family:monospace,monospace">    Number Of Arrays: 2</span></font><br><font size="2"><span style="font-family:monospace,monospace">    Array 0 name = objtypes</span></font><br><font size="2"><span style="font-family:monospace,monospace">    Array 1 name = ZeroDColors</span></font><br><font size="2"><span style="font-family:monospace,monospace">    Number Of Components: 4</span></font><br><font size="2"><span style="font-family:monospace,monospace">    Number Of Tuples: 19</span></font><br><font size="2"><span style="font-family:monospace,monospace">    Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 )</span></font><br><font size="2"><span style="font-family:monospace,monospace">    Interpolate Flags: ( 1 1 1 1 1 0 0 1 )</span></font><br><font size="2"><span style="font-family:monospace,monospace">    Pass Through Flags: ( 1 1 1 1 1 1 1 1 )</span></font><br><font size="2"><span style="font-family:monospace,monospace">    Scalars: </span></font><br><font size="2"><span style="font-family:monospace,monospace">      Debug: Off</span></font><br><font size="2"><span style="font-family:monospace,monospace">      Modified Time: 18771</span></font><br><font size="2"><span style="font-family:monospace,monospace">      Reference Count: 2</span></font><br><font size="2"><span style="font-family:monospace,monospace">      Registered Events: (none)</span></font><br><font size="2"><span style="font-family:monospace,monospace">      Name: ZeroDColors</span></font><br><font size="2"><span style="font-family:monospace,monospace">      Data type: unsigned char</span></font><br><font size="2"><span style="font-family:monospace,monospace">      Size: 93</span></font><br><font size="2"><span style="font-family:monospace,monospace">      MaxId: 56</span></font><br><font size="2"><span style="font-family:monospace,monospace">      NumberOfComponents: 3</span></font><br><font size="2"><span style="font-family:monospace,monospace">      Information: 000000000FB3ED80</span></font><br><font size="2"><span style="font-family:monospace,monospace">        Debug: Off</span></font><br><font size="2"><span style="font-family:monospace,monospace">        Modified Time: 18770</span></font><br><font size="2"><span style="font-family:monospace,monospace">        Reference Count: 1</span></font><br><font size="2"><span style="font-family:monospace,monospace">        Registered Events: (none)</span></font><br><font size="2"><span style="font-family:monospace,monospace">      Name: ZeroDColors</span></font><br><font size="2"><span style="font-family:monospace,monospace">      Number Of Components: 3</span></font><br><font size="2"><span style="font-family:monospace,monospace">      Number Of Tuples: 19</span></font><br><font size="2"><span style="font-family:monospace,monospace">      Size: 93</span></font><br><font size="2"><span style="font-family:monospace,monospace">      MaxId: 56</span></font><br><font size="2"><span style="font-family:monospace,monospace">      LookupTable: (none)</span></font><br><font size="2"><span style="font-family:monospace,monospace">    Vectors: (none)</span></font><br><font size="2"><span style="font-family:monospace,monospace">    Normals: (none)</span></font><br><font size="2"><span style="font-family:monospace,monospace">    TCoords: (none)</span></font><br><font size="2"><span style="font-family:monospace,monospace">    Tensors: (none)</span></font><br><font size="2"><span style="font-family:monospace,monospace">    GlobalIds: (none)</span></font><br><font size="2"><span style="font-family:monospace,monospace">    PedigreeIds: (none)</span></font><br><font size="2"><span style="font-family:monospace,monospace">    EdgeFlag: (none)</span></font><br><font size="2"><span style="font-family:monospace,monospace">  Bounds: </span></font><br><font size="2"><span style="font-family:monospace,monospace">    Xmin,Xmax: (-485.801, 63.3056)</span></font><br><font size="2"><span style="font-family:monospace,monospace">    Ymin,Ymax: (-54.0469, 53.9257)</span></font><br><font size="2"><span style="font-family:monospace,monospace">    Zmin,Zmax: (23.6906, 163.528)</span></font><br><font size="2"><span style="font-family:monospace,monospace">  Compute Time: 21365</span></font><br><font size="2"><span style="font-family:monospace,monospace">  Number Of Points: 19</span></font><br><font size="2"><span style="font-family:monospace,monospace">  Point Coordinates: 000000000FAED710</span></font><br><font size="2"><span style="font-family:monospace,monospace">  Locator: 0000000000000000</span></font><br><font size="2"><span style="font-family:monospace,monospace">  Number Of Vertices: 0</span></font><br><font size="2"><span style="font-family:monospace,monospace">  Number Of Lines: 0</span></font><br><font size="2"><span style="font-family:monospace,monospace">  Number Of Polygons: 0</span></font><br><font size="2"><span style="font-family:monospace,monospace">  Number Of Triangle Strips: 0</span></font><br><font size="2"><span style="font-family:monospace,monospace">  Number Of Pieces: 1</span></font><br><font size="2"><span style="font-family:monospace,monospace">  Piece: -1</span></font><br><font size="2"><span style="font-family:monospace,monospace">  Ghost Level: 0</span></font><br></div><br></div>Here's what it looks like after it passes through the vtkWarpVector (it's now an unstructured grid instead of poly data, and the arrays are now missing):<br><br><span style="font-family:monospace,monospace">vtkWarpVector (000000000AAFAAB0)<br>  Debug: Off<br>  Modified Time: 21598<br>  Reference Count: 2<br>  Registered Events: (none)<br>  Executive: 000000000A2DBCD0<br>  ErrorCode: No error<br>  Information: 000000000F697940<br>  AbortExecute: Off<br>  Progress: 1<br>  Progress Text: (None)<br>  Scale Factor: 10<br><br><br>vtkUnstructuredGrid (000000000FD7C8A0)<br>  Debug: Off<br>  Modified Time: 21553<br>  Reference Count: 2<br>  Registered Events: (none)<br>  Information: 000000000FB43920<br>  Data Released: False<br>  Global Release Data: Off<br>  UpdateTime: 21561<br>  Field Data:<br>    Debug: Off<br>    Modified Time: 21543<br>    Reference Count: 1<br>    Registered Events: (none)<br>    Number Of Arrays: 0<br>    Number Of Components: 0<br>    Number Of Tuples: 0<br>  Number Of Points: 0<br>  Number Of Cells: 0<br>  Cell Data:<br>    Debug: Off<br>    Modified Time: 21551<br>    Reference Count: 1<br>    Registered Events: <br>      Registered Observers:<br>        vtkObserver (000000000FD856E0)<br>          Event: 33<br>          EventName: ModifiedEvent<br>          Command: 000000000FB43AB0<br>          Priority: 0<br>          Tag: 1<br>    Number Of Arrays: 0<br>    Number Of Components: 0<br>    Number Of Tuples: 0<br>    Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 )<br>    Interpolate Flags: ( 1 1 1 1 1 0 0 1 )<br>    Pass Through Flags: ( 1 1 1 1 1 1 1 1 )<br>    Scalars: (none)<br>    Vectors: (none)<br>    Normals: (none)<br>    TCoords: (none)<br>    Tensors: (none)<br>    GlobalIds: (none)<br>    PedigreeIds: (none)<br>    EdgeFlag: (none)<br>  Point Data:<br>    Debug: Off<br>    Modified Time: 21553<br>    Reference Count: 1<br>    Registered Events: <br>      Registered Observers:<br>        vtkObserver (000000000FD858F0)<br>          Event: 33<br>          EventName: ModifiedEvent<br>          Command: 000000000FB43AB0<br>          Priority: 0<br>          Tag: 1<br>    Number Of Arrays: 0<br>    Number Of Components: 0<br>    Number Of Tuples: 0<br>    Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 )<br>    Interpolate Flags: ( 1 1 1 1 1 0 0 1 )<br>    Pass Through Flags: ( 1 1 1 1 1 1 1 1 )<br>    Scalars: (none)<br>    Vectors: (none)<br>    Normals: (none)<br>    TCoords: (none)<br>    Tensors: (none)<br>    GlobalIds: (none)<br>    PedigreeIds: (none)<br>    EdgeFlag: (none)<br>  Bounds: <br>    Xmin,Xmax: (1, -1)<br>    Ymin,Ymax: (1, -1)<br>    Zmin,Zmax: (1, -1)<br>  Compute Time: 0<br>  Number Of Points: 0<br>  Point Coordinates: 0000000000000000<br>  Locator: 0000000000000000<br>  Number Of Pieces: 1<br>  Piece: 0<br>  Ghost Level: 0<br><br></span></div><span style="font-family:monospace,monospace"><font face="arial,helvetica,sans-serif">I posted a simple example earlier in the thread that replicates the behavior I'm seeing. Thanks for your help!</font><br></span><div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 5, 2018 at 3:44 AM, Charles Kind <span dir="ltr"><<a href="mailto:charles.kind@bristol.ac.uk" target="_blank">charles.kind@bristol.ac.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Robby,<br>
<br>
Could you print to console, or whatever, the datastructure before and after<br>
WarpVectors and let me see them? ie In Python I just use<br>
print(datastructure).<br>
<div class="HOEnZb"><div class="h5"><br>
Charlie<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.<wbr>com/VTK-Users-f1224199.html</a><br>
______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_<wbr>FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://vtk.org/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">https://vtk.org/mailman/<wbr>listinfo/vtkusers</a><br>
</div></div></blockquote></div><br></div>