This would probably require changing the ParaView code in a few places. I suspect that we have things like<div><br></div><div>if (classname == &quot;vtkImageData&quot;)</div><div><br></div><div>all over the place. However, there may be a better solution. Can you explain what additional information you are storing in this subclass?</div>
<div><br></div><div>-berk<br><br><div class="gmail_quote">On Tue, Jun 29, 2010 at 12:15 PM, Lord, John (UK) <span dir="ltr">&lt;<a href="mailto:John.Lord@baesystems.com">John.Lord@baesystems.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">




<div>
<div><font face="Arial" size="2"><span>Hi,</span></font></div>
<div><font face="Arial" size="2"><span></span></font> </div>
<div><span><font size="2"><font face="Arial">I have written 
a sub-class of vtkImageData that holds additional information for processing the 
data further down the pipeline.  When a filter outputs my 
sub-class, Paraview gives the message &quot;<span style="font-size:7.8pt;color:#008000;font-family:&#39;Courier&#39;"><font color="#000000">Cannot show the data in the current view although the view 
reported that it can show the data.&quot;</font></span></font></font></span></div>
<div><span><font size="2"><font face="Arial"><span style="font-size:7.8pt;color:#008000;font-family:&#39;Courier&#39;"><font color="#000000"></font></span></font></font></span> </div>
<div><span><span style="font-size:7.8pt;color:#008000;font-family:&#39;Courier&#39;"><font face="Arial" color="#000000" size="2">How do I tell Paraview that it should render my 
sub-class in the same way as a vtkImageData object.</font></span></span></div>
<div><span><span style="font-size:7.8pt;color:#008000;font-family:&#39;Courier&#39;"><font face="Arial" color="#000000" size="2"></font></span></span> </div>
<div><span><span style="font-size:7.8pt;color:#008000;font-family:&#39;Courier&#39;"><font face="Arial" color="#000000" size="2">Regards,</font></span></span></div>
<div><span><span style="font-size:7.8pt;color:#008000;font-family:&#39;Courier&#39;"><font face="Arial" color="#000000" size="2">John</font></span></span></div>
<div><font face="Arial" size="2"></font> </div>
<div align="left"><font face="Arial" size="2">BAE Systems (Operations) 
Limited<br>Registered Office: Warwick House, PO Box 87, Farnborough Aerospace 
Centre, Farnborough, Hants, GU14 6YU, UK<br>Registered in England &amp; Wales 
No: 1996687 </font></div>
<div> </div> <br>
********************************************************************<br>
This email and any attachments are confidential to the intended<br>
recipient and may also be privileged. If you are not the intended<br>
recipient please delete it from your system and notify the sender.<br>
You should not copy it or use it for any purpose nor disclose or<br>
distribute its contents to any other person.<br>
********************************************************************<br>
<br>
</div>
<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>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>