<div dir="ltr"><div><div>Hmm sorry if I had took a closer look I would have seen that AllocateScalars set a default name "ImageScalars" to the scalar array.<br></div>Then don't know what you did but the print says that the name of your array is "<span style="font-size:8.5pt;font-family:courier;color:black" lang="EN-US">21745593</span><span lang="EN-US">" which is quite strange. Is it what you did?</span><span lang="EN-US"></span><br><br></div><div>Could you write your "<span style="font-family:monospace,monospace">output" </span><span style="font-family:arial,helvetica,sans-serif">image data to a .VTI file using a vtkXMLImageDataWriter after initializing it in your RequestData<br></span></div><div><span style="font-family:arial,helvetica,sans-serif">function and see if you can load in with PV and view it? Share it if you can't.<br><br></span></div><div><span style="font-family:arial,helvetica,sans-serif">Best,<br></span></div><div><span style="font-family:monospace,monospace"></span></div><div><span lang="EN-US"></span></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><b>Joachim Pouderoux</b><font size="2">, <font size="1">PhD</font></font><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font size="1"><i>Technical Expert - Scientific Computing Team</i></font><br><b><font size="1"><a href="http://www.kitware.fr" target="_blank">Kitware SAS</a></font></b><br></blockquote>
</div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">2017-01-10 2:00 GMT-04:00 Lodron, Gerald <span dir="ltr"><<a href="mailto:Gerald.Lodron@joanneum.at" target="_blank">Gerald.Lodron@joanneum.at</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="DE-AT">
<div class="m_7002607742464192375WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Here i printed my vtkImageDataOutput of my plugin in Request data, may that helps…:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">output vtkImageData (00000087ABEB1260)</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Debug: Off</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Modified Time: 870183</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Reference Count: 1</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Registered Events: (none)</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Information: 00000087AC049A90</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Data Released: False</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Global Release Data: Off</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">UpdateTime: 195896</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Field Data:</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Debug: Off</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Modified Time: 870094</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Reference Count: 1</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Registered Events: (none)</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Number Of Arrays: 0</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Number Of Components: 0</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Number Of Tuples: 0</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Number Of Points: 1920000</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Number Of Cells: 1917201</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Cell Data:</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Debug: Off</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Modified Time: 870179</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Reference Count: 1</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Registered Events:
</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Registered Observers:</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">vtkObserver (00000087ABC476A0)</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Event: 33</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">EventName: ModifiedEvent</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Command: 00000087AC0495E0</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Priority: 0</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Tag: 1</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Number Of Arrays: 0</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Number Of Components: 0</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Number Of Tuples: 0</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 )</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Interpolate Flags: ( 1 1 1 1 1 0 0 1 )</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Pass Through Flags: ( 1 1 1 1 1 1 1 1 )</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Scalars: (none)</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Vectors: (none)</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Normals: (none)</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">TCoords: (none)</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Tensors: (none)</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">GlobalIds: (none)</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">PedigreeIds: (none)</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">EdgeFlag: (none)</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Point Data:</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Debug: Off</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Modified Time: 870183</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Reference Count: 1</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Registered Events:
</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Registered Observers:</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">vtkObserver (00000087ABC475B0)</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Event: 33</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">EventName: ModifiedEvent</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Command: 00000087AC0495E0</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Priority: 0</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Tag: 1</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Number Of Arrays: 1</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Array 0 name = 21745593</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Number Of Components: 1</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Number Of Tuples: 1920000</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 )</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Interpolate Flags: ( 1 1 1 1 1 0 0 1 )</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Pass Through Flags: ( 1 1 1 1 1 1 1 1 )</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Scalars:
</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Debug: Off</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Modified Time: 870148</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Reference Count: 2</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Registered Events: (none)</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Name: 21745593</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Data type: unsigned char</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Size: 1920000</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black">MaxId: 1919999</span><u></u><u></u></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black">NumberOfComponents: 1</span><u></u><u></u></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black">Information: 0000000000000000</span><u></u><u></u></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Name: 21745593</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Number Of Components: 1</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Number Of Tuples: 1920000</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Size: 1920000</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">MaxId: 1919999</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">LookupTable: (none)</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Vectors: (none)</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Normals: (none)</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">TCoords: (none)</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Tensors: (none)</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">GlobalIds: (none)</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">PedigreeIds: (none)</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">EdgeFlag: (none)</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Bounds:
</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Xmin,Xmax: (0, 1599)</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Ymin,Ymax: (0, 1199)</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Zmin,Zmax: (0, 0)</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Compute Time: 870184</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black" lang="EN-US">Spacing: (1, 1, 1)</span><span lang="EN-US"><u></u><u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black">Origin: (0, 0, 0)</span><u></u><u></u></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black">Dimensions: (1600, 1200, 1)</span><u></u><u></u></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black">Increments: (0, 0, 0)</span><u></u><u></u></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black">Extent: (0, 1599, 0, 1199, 0, 0)</span><u></u><u></u></p>
<p style="margin:0cm;margin-bottom:.0001pt">
<span style="font-size:8.5pt;font-family:Courier;color:black"><u></u> <u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt">
<span style="font-size:8.5pt;font-family:Courier;color:black"><u></u> <u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt">
<span style="font-size:8.5pt;font-family:Courier;color:black"><u></u> <u></u></span></p>
<p style="margin:0cm;margin-bottom:.0001pt">
<span style="font-size:8.5pt;font-family:Courier;color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="DE">Von:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="DE"> Paraview-developers [mailto:<a href="mailto:paraview-developers-bounces@paraview.org" target="_blank">paraview-developers-<wbr>bounces@paraview.org</a>]
<b>Im Auftrag von </b>Lodron, Gerald<br>
<b>Gesendet:</b> Dienstag, 10. Jänner 2017 06:49<br>
<b>An:</b> Joachim Pouderoux<br>
<b>Cc:</b> Paraview Developer (<a href="mailto:Paraview-developers@paraview.org" target="_blank">Paraview-developers@paraview.<wbr>org</a>); Paraview User (<a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a>)<br>
<b>Betreff:</b> Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered<u></u><u></u></span></p>
</div>
</div><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Good try but does not effect anything except the string in paraview’s combo box. The strange thing is that I also cannot see anything in spreadsheet
view (empty cell and point data)… but on information tab point data and cell data is there….<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="DE">Von:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="DE"> Joachim Pouderoux [<a href="mailto:joachim.pouderoux@kitware.com" target="_blank">mailto:joachim.pouderoux@<wbr>kitware.com</a>]
<br>
<b>Gesendet:</b> Montag, 09. Jänner 2017 19:40<br>
<b>An:</b> Lodron, Gerald<br>
<b>Cc:</b> Paraview User (<a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a>); Paraview Developer (<a href="mailto:Paraview-developers@paraview.org" target="_blank">Paraview-developers@paraview.<wbr>org</a>)<br>
<b>Betreff:</b> Re: [Paraview] vtkImageData Plugin, vtkImageData not rendered<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi Gerald,<u></u><u></u></p>
</div>
<p class="MsoNormal">Not sure it is the only issue but please try giving a name to the output scalar arrays.<u></u><u></u></p>
</div>
<p class="MsoNormal">ParaView won't make visible arrays which don't have a name.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Example:<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-family:"Courier New""> output->GetPointData()-><wbr>GetScalars()->SetName("values"<wbr>);</span><u></u><u></u></p>
</div>
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">Best,</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><br clear="all">
<u></u><u></u></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><b>Joachim Pouderoux</b><span style="font-size:10.0pt">, </span>
<span style="font-size:7.5pt">PhD</span><u></u><u></u></p>
<p class="MsoNormal"><i><span style="font-size:7.5pt">Technical Expert - Scientific Computing Team</span></i><br>
<b><span style="font-size:7.5pt"><a href="http://www.kitware.fr" target="_blank">Kitware SAS</a></span></b><u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">2017-01-09 5:20 GMT-04:00 Lodron, Gerald <<a href="mailto:Gerald.Lodron@joanneum.at" target="_blank">Gerald.Lodron@joanneum.at</a>>:<u></u><u></u></p>
<p class="MsoNormal">Hi<br>
<br>
I programmed successfully a plugin source wich generates a vtkImageData output and made it the same way as on my 3d cloud plugins of vtkPolyData. The source is inherited from vtkImageAlgorithm and only contains one output with unsigned char array and one component.<br>
<br>
In the request data function of the filter I currently have a very dummy:<br>
<br>
output->SetDimensions(oData.<wbr>imgSizeX, oData.imgSizeY, 1);<br>
output ->AllocateScalars(VTK_<wbr>UNSIGNED_CHAR, 1);<br>
memcpy(output ->GetScalarPointer(), &oData.imgData[0], oData.imgSizeX* oData.imgSizeY*sizeof(unsigned char));<br>
<br>
in paraview I see in the information tab that I have an uniform rectilinear grid with 1917201 cells and 1920000 points (image is 1600*1200px). In data Arrays I get an "ImageScalars" of unsigned char and a correct range of my memcopy data (my min max range
is not 0,255 so data seems to be there)...<br>
<br>
the problem is that I cannot see anything in the render view, any suggestions what I am making wrong? I tested all representation (slice, surface, outline, on Solid Color and on my array), never see anything.....<br>
<br>
I also compared the Information tab on a loaded jpeg image and cannot see any difference (which is rendered in render view except the Array's string name), by the way: can I disable "MapScalars" by default?<br>
<br>
I am using pv5.2<br>
<br>
------------------------------<wbr>------------------------------<wbr>------------------------<br>
Gerald Lodron<br>
<br>
Researcher of Machine Vision Applications Group<br>
DIGITAL - Institute for Information and Communication Technologies<br>
<br>
JOANNEUM RESEARCH Forschungsgesellschaft mbH<br>
Steyrergasse 17, 8010 Graz, AUSTRIA<br>
<br>
phone: <a href="tel:+43%20316%208761751" value="+433168761751" target="_blank">+43-316-876-1751</a> <br>
general fax: <a href="tel:+43%20316%208761751" value="+433168761751" target="_blank">+43-316-876-1751</a><br>
web: <a href="http://www.joanneum.at/digital" target="_blank">http://www.joanneum.at/digital</a><br>
e-mail: <a href="mailto:gerald.lodron@joanneum.at" target="_blank">gerald.lodron@joanneum.at</a><br>
<br>
______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">
http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">
http://paraview.org/Wiki/<wbr>ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" target="_blank">
http://markmail.org/search/?q=<wbr>ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/paraview</a><u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div></div></div>
</div>
</blockquote></div><br></div>