<div dir="ltr"><div>1) refLower = vtkPolyData::SafeDownCast( actorLower->GetMapper()->GetInputAsDataSet());</div> I received an exception concering :<div> Unhandled exception at 0x0f0fb5e1 (vtkFiltering.dll) : 0xC0000005: Access violation reading location 0x00000034.<br>
</div><div><br></div><div><br></div><div>2) I tried : <span style="font-size:12.727272033691406px;color:rgb(80,0,80);font-family:arial,sans-serif">actorLower->GetMapper()-></span><span style="font-size:12.727272033691406px;color:rgb(80,0,80);font-family:arial,sans-serif">GetInputAsDataSet()->Print(</span><span style="font-size:12.727272033691406px;color:rgb(80,0,80);font-family:arial,sans-serif">std::cout); </span></div>
<div> It doesn't compiled.</div><div> error C2664: 'vtkPolyData::SafeDownCast' : cannot convert parameter 1 from 'void' to 'vtkObjectBase *'<br></div><div><br></div><div><br></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">2014-03-02 16:01 GMT+01:00 Cory Quammen-2 [via VTK] <span dir="ltr"><<a href="/user/SendEmail.jtp?type=node&node=5726154&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>></span>:<br>
<blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">
What does
<br><br>actorLower->GetMapper()->GetInputAsDataSet()->Print(std::cout);
<br><br>report?
<br><br></div><div class="">On Sun, Mar 2, 2014 at 9:52 AM, agatte <<a href="http://user/SendEmail.jtp?type=node&node=5726153&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>> wrote:
</div><div><div class=""><br>> Thanks for quick reply Cory.
<br>>
<br>> I tried it but it doesn't work ...
<br>>
<br>>
<br>>
<br>> --
<br>> View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Convert-vtkActor-to-vtkPolyData-tp5726148p5726152.html" rel="nofollow" link="external" target="_blank">http://vtk.1045678.n5.nabble.com/Convert-vtkActor-to-vtkPolyData-tp5726148p5726152.html</a><br>
> Sent from the VTK - Users mailing list archive at Nabble.com.
<br></div><div class="">> _______________________________________________
<br>> Powered by <a href="http://www.kitware.com" target="_blank" rel="nofollow" link="external">www.kitware.com</a>
<br>>
<br>> Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="nofollow" link="external" target="_blank">http://www.kitware.com/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="nofollow" link="external" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>>
<br>> Follow this link to subscribe/unsubscribe:
<br>> <a href="http://www.vtk.org/mailman/listinfo/vtkusers" rel="nofollow" link="external" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a></div></div><div class="">_______________________________________________
<br>Powered by <a href="http://www.kitware.com" target="_blank" rel="nofollow" link="external">www.kitware.com</a>
<br><br>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="nofollow" link="external" target="_blank">http://www.kitware.com/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="nofollow" link="external" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br><br>Follow this link to subscribe/unsubscribe:
<br><a href="http://www.vtk.org/mailman/listinfo/vtkusers" rel="nofollow" link="external" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br>
<br>
</div><hr noshade size="1" color="#cccccc">
<div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif">
<div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
<a href="http://vtk.1045678.n5.nabble.com/Convert-vtkActor-to-vtkPolyData-tp5726148p5726153.html" target="_blank" rel="nofollow" link="external">http://vtk.1045678.n5.nabble.com/Convert-vtkActor-to-vtkPolyData-tp5726148p5726153.html</a>
</div>
<div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
To unsubscribe from Convert vtkActor to vtkPolyData, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.<br>
<a href="http://vtk.1045678.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_blank" link="external">NAML</a>
</div></blockquote></div><br></div>
<br/><hr align="left" width="300" />
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Convert-vtkActor-to-vtkPolyData-tp5726148p5726154.html">Re: Convert vtkActor to vtkPolyData</a><br/>
Sent from the <a href="http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html">VTK - Users mailing list archive</a> at Nabble.com.<br/>