<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""></div><div class=""><br class=""></div><div class="">Magician</div><div class=""><br class=""></div><div class=""><br class=""></div><div><blockquote type="cite" class=""><div class="">On Jun 16, 2015, at 03:22, Berk Geveci <<a href="mailto:berk.geveci@kitware.com" class="">berk.geveci@kitware.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Dear Magician,<div class=""><br class=""></div><div class="">Unfortunately, vtkAMRBox is not wrapped into Python. The right solution is to add a method to vtkOverlappingAMR that takes 6 int values and internally generates an AMR box. Maybe you can give that a shot.</div><div class=""><br class=""></div><div class="">AMRCommon.h is a utility header written for that example. To duplicate it in Python, you have to rewrite it I am afraid.</div><div class=""><br class=""></div><div class="">Best,</div><div class="">-berk</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Fri, Jun 12, 2015 at 12:18 PM, Magician <span dir="ltr" class=""><<a href="mailto:f_magician@mac.com" target="_blank" class="">f_magician@mac.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class=""><div class=""><div class="">Hi Berk,</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Thanks for your advice. I missed the examples.</div><div class="">I'm now tracing Generate3DAMRDataSetWithPulse.cxx with Python.</div><div class=""><br class=""></div><div class="">And now I have other questions.</div><div class=""><br class=""></div><div class="">- The example includes vtkAMRBox class, but I can't find it</div><div class=""> in vtk or any other submodule on Python.</div><div class=""> How can I use it?</div><div class=""><br class=""></div><div class="">- Some methods are provided by AMRCommon.h.</div><div class=""> Can I use these methods with Python?</div><span class="HOEnZb"><font color="#888888" class=""><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Magician</div></font></span></div><div class=""><div class="h5"><div class=""><br class=""></div><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Jun 12, 2015, at 04:41, Berk Geveci <<a href="mailto:berk.geveci@kitware.com" target="_blank" class="">berk.geveci@kitware.com</a>> wrote:</div><br class=""><div class=""><div dir="ltr" class="">Hi Magician,<div class=""><br class=""></div><div class="">Did you look at the examples in Examples/AMR/Cxx?</div><div class=""><br class=""></div><div class="">Best,</div><div class="">-berk</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Wed, Jun 10, 2015 at 8:49 AM, Magician <span dir="ltr" class=""><<a href="mailto:f_magician@mac.com" target="_blank" class="">f_magician@mac.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br class="">
<br class="">
<br class="">
I'd like to define vtkHierarchicalBoxDataSet objects on VTK 6.2.0.<br class="">
But there are few informations to do it.<br class="">
<br class="">
Can I get any complete sample codes written in Python or C++?<br class="">
<br class="">
<br class="">
Magician<br class="">
_______________________________________________<br class="">
Powered by <a href="http://www.kitware.com/" target="_blank" class="">www.kitware.com</a><br class="">
<br class="">
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank" class="">http://www.kitware.com/opensource/opensource.html</a><br class="">
<br class="">
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank" class="">http://www.vtk.org/Wiki/VTK_FAQ</a><br class="">
<br class="">
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" target="_blank" class="">http://markmail.org/search/?q=vtkusers</a><br class="">
<br class="">
Follow this link to subscribe/unsubscribe:<br class="">
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" target="_blank" class="">http://public.kitware.com/mailman/listinfo/vtkusers</a><br class="">
</blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></body></html>