<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Courier;
panose-1:2 7 4 9 2 2 5 2 4 4;}
@font-face
{font-family:Courier;
panose-1:2 7 4 9 2 2 5 2 4 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Sprechblasentext Zchn";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.SprechblasentextZchn
{mso-style-name:"Sprechblasentext Zchn";
mso-style-priority:99;
mso-style-link:Sprechblasentext;
font-family:"Tahoma","sans-serif";
mso-fareast-language:DE-AT;}
span.E-MailFormatvorlage20
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.E-MailFormatvorlage21
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE-AT" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">i have uploaded the vti onto<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><a href="https://expirebox.com/download/60e7c1e8d177f282ae90d42f75e5ae50.html">https://expirebox.com/download/60e7c1e8d177f282ae90d42f75e5ae50.html</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">the link is 48h accessible<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">when I load the vti into paraview everything is visualized correctly<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="DE" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Von:</span></b><span lang="DE" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Paraview-developers [mailto:paraview-developers-bounces@paraview.org]
<b>Im Auftrag von </b>Lodron, Gerald<br>
<b>Gesendet:</b> Mittwoch, 11. Jänner 2017 12:07<br>
<b>An:</b> Joachim Pouderoux<br>
<b>Cc:</b> Paraview Developer (Paraview-developers@paraview.org); Paraview User (paraview@paraview.org)<br>
<b>Betreff:</b> Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Sorry for my late reply:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">“21745593” is correct, that’s the UID string of the sensor/camera which generates the vtkImagedata, I set the string from its SDK…. I will try
writing the vti file for you….<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="DE" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Von:</span></b><span lang="DE" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Joachim Pouderoux [<a href="mailto:joachim.pouderoux@kitware.com">mailto:joachim.pouderoux@kitware.com</a>]
<br>
<b>Gesendet:</b> Dienstag, 10. Jänner 2017 19:09<br>
<b>An:</b> Lodron, Gerald<br>
<b>Cc:</b> Paraview Developer (<a href="mailto:Paraview-developers@paraview.org">Paraview-developers@paraview.org</a>); Paraview User (<a href="mailto:paraview@paraview.org">paraview@paraview.org</a>)<br>
<b>Betreff:</b> Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<div>
<p class="MsoNormal">Hmm sorry if I had took a closer look I would have seen that AllocateScalars set a default name "ImageScalars" to the scalar array.<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Then don't know what you did but the print says that the name of your array is "<span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">21745593</span><span lang="EN-US">" which is quite strange.
Is it what you did?</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Could you write your "<span style="font-family:"Courier New"">output"
</span><span style="font-family:"Arial","sans-serif"">image data to a .VTI file using a vtkXMLImageDataWriter after initializing it in your RequestData</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-family:"Arial","sans-serif"">function and see if you can load in with PV and view it? Share it if you can't.</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">Best,</span><o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><br clear="all">
<o:p></o:p></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><o:p></o:p></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><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">2017-01-10 2:00 GMT-04:00 Lodron, Gerald <<a href="mailto:Gerald.Lodron@joanneum.at" target="_blank">Gerald.Lodron@joanneum.at</a>>:<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Here i printed my vtkImageDataOutput of my plugin in Request data, may that helps…:</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">output vtkImageData (00000087ABEB1260)</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Debug: Off</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Modified Time: 870183</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Reference Count: 1</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Registered Events: (none)</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Information: 00000087AC049A90</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Data Released: False</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Global Release Data: Off</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">UpdateTime: 195896</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Field Data:</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Debug: Off</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Modified Time: 870094</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Reference Count: 1</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Registered Events: (none)</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Number Of Arrays: 0</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Number Of Components: 0</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Number Of Tuples: 0</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Number Of Points: 1920000</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Number Of Cells: 1917201</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Cell Data:</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Debug: Off</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Modified Time: 870179</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Reference Count: 1</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Registered Events:
</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Registered Observers:</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">vtkObserver (00000087ABC476A0)</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Event: 33</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">EventName: ModifiedEvent</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Command: 00000087AC0495E0</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Priority: 0</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Tag: 1</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Number Of Arrays: 0</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Number Of Components: 0</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Number Of Tuples: 0</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 )</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Interpolate Flags: ( 1 1 1 1 1 0 0 1 )</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Pass Through Flags: ( 1 1 1 1 1 1 1 1 )</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Scalars: (none)</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Vectors: (none)</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Normals: (none)</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">TCoords: (none)</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Tensors: (none)</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">GlobalIds: (none)</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">PedigreeIds: (none)</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">EdgeFlag: (none)</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Point Data:</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Debug: Off</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Modified Time: 870183</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Reference Count: 1</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Registered Events:
</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Registered Observers:</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">vtkObserver (00000087ABC475B0)</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Event: 33</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">EventName: ModifiedEvent</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Command: 00000087AC0495E0</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Priority: 0</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Tag: 1</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Number Of Arrays: 1</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Array 0 name = 21745593</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Number Of Components: 1</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Number Of Tuples: 1920000</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 )</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Interpolate Flags: ( 1 1 1 1 1 0 0 1 )</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Pass Through Flags: ( 1 1 1 1 1 1 1 1 )</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Scalars:
</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Debug: Off</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Modified Time: 870148</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Reference Count: 2</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Registered Events: (none)</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Name: 21745593</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Data type: unsigned char</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Size: 1920000</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black">MaxId: 1919999</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black">NumberOfComponents: 1</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black">Information: 0000000000000000</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Name: 21745593</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Number Of Components: 1</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Number Of Tuples: 1920000</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Size: 1920000</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">MaxId: 1919999</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">LookupTable: (none)</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Vectors: (none)</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Normals: (none)</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">TCoords: (none)</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Tensors: (none)</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">GlobalIds: (none)</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">PedigreeIds: (none)</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">EdgeFlag: (none)</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Bounds:
</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Xmin,Xmax: (0, 1599)</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Ymin,Ymax: (0, 1199)</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Zmin,Zmax: (0, 0)</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Compute Time: 870184</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-US" style="font-size:8.5pt;font-family:Courier;color:black">Spacing: (1, 1, 1)</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black">Origin: (0, 0, 0)</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black">Dimensions: (1600, 1200, 1)</span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black">Increments: (0, 0, 0)</span><o:p></o:p></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><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black"> </span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black"> </span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black"> </span><o:p></o:p></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:8.5pt;font-family:Courier;color:black"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span lang="DE" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Von:</span></b><span lang="DE" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Paraview-developers
[mailto:<a href="mailto:paraview-developers-bounces@paraview.org" target="_blank">paraview-developers-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.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</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">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….</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span lang="DE" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Von:</span></b><span lang="DE" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Joachim
Pouderoux [<a href="mailto:joachim.pouderoux@kitware.com" target="_blank">mailto:joachim.pouderoux@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.org</a>)<br>
<b>Betreff:</b> Re: [Paraview] vtkImageData Plugin, vtkImageData not rendered</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt">Hi Gerald,<o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Not sure it is the only issue but please try giving a name to the output scalar arrays.<o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">ParaView won't make visible arrays which don't have a name.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Example:<o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt"><span style="font-family:"Courier New""> output->GetPointData()->GetScalars()->SetName("values");</span><o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:"Arial","sans-serif"">Best,</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><br clear="all">
<o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b>Joachim Pouderoux</b><span style="font-size:10.0pt">,
</span><span style="font-size:7.5pt">PhD</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><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><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">2017-01-09 5:20 GMT-04:00 Lodron, Gerald <<a href="mailto:Gerald.Lodron@joanneum.at" target="_blank">Gerald.Lodron@joanneum.at</a>>:<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">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.imgSizeX, oData.imgSizeY, 1);<br>
output ->AllocateScalars(VTK_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>
------------------------------------------------------------------------------------<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" target="_blank">+43-316-876-1751</a> <br>
general fax: <a href="tel:+43%20316%208761751" 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>
_______________________________________________<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/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/ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" target="_blank">
http://markmail.org/search/?q=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/mailman/listinfo/paraview</a><o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>