<div dir="ltr">Dear Magician,<div><br></div><div>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><br></div><div>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><br></div><div>Best,</div><div>-berk</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 12, 2015 at 12:18 PM, Magician <span dir="ltr"><<a href="mailto:f_magician@mac.com" target="_blank">f_magician@mac.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><div>Hi Berk,</div><div><br></div><div><br></div><div>Thanks for your advice. I missed the examples.</div><div>I'm now tracing Generate3DAMRDataSetWithPulse.cxx with Python.</div><div><br></div><div>And now I have other questions.</div><div><br></div><div>- The example includes vtkAMRBox class, but I can't find it</div><div>  in vtk or any other submodule on Python.</div><div>  How can I use it?</div><div><br></div><div>- Some methods are provided by AMRCommon.h.</div><div>  Can I use these methods with Python?</div><span class="HOEnZb"><font color="#888888"><div><br></div><div><br></div><div>Magician</div></font></span></div><div><div class="h5"><div><br></div><br><div><blockquote type="cite"><div>On Jun 12, 2015, at 04:41, Berk Geveci <<a href="mailto:berk.geveci@kitware.com" target="_blank">berk.geveci@kitware.com</a>> wrote:</div><br><div><div dir="ltr">Hi Magician,<div><br></div><div>Did you look at the examples in Examples/AMR/Cxx?</div><div><br></div><div>Best,</div><div>-berk</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 10, 2015 at 8:49 AM, Magician <span dir="ltr"><<a href="mailto:f_magician@mac.com" target="_blank">f_magician@mac.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
<br>
I'd like to define vtkHierarchicalBoxDataSet objects on VTK 6.2.0.<br>
But there are few informations to do it.<br>
<br>
Can I get any complete sample codes written in Python or C++?<br>
<br>
<br>
Magician<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 VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br></div>
</div></blockquote></div><br></div></div></div></blockquote></div><br></div>