<div dir="ltr">I thought of a simpler solution for the vtkBoundingBox issue.  The discussion we've had so far has focused on getting vtkWrapTcl to deal with the vtkBoundingBox type.  But that can be avoided if we instead just focus on the ComputeBoundingBox method.  Here's how it would work:<div><br></div><div>In vtkWrapTcl, it's pretty easy to see how the AddObserver method was added for vtkObject.  Just search for "AddObserver" and it comes up in exactly two places.  Likewise, the code for ComputeBoundingBox could be added for vtkAbstractMapper3D.  Adding it to this base class will automatically make it available in all the wrapped subclasses.</div><div><br></div><div> - David</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 31, 2015 at 5:54 AM, David Lonie <span dir="ltr"><<a href="mailto:david.lonie@kitware.com" target="_blank">david.lonie@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="">On Mon, Mar 30, 2015 at 10:31 AM, Jorge Perez <span dir="ltr"><<a href="mailto:josp.jorge@gmail.com" target="_blank">josp.jorge@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:6.24pt">I'm experimenting with this idea: implement new Tcl_ObjType to wrap vtkVariant and vtkBoundingBox.</p></div></blockquote><div><br></div></span><div>This would be great! I'll keep pushing forward on my vtkBoundingBox --> double[6] implementation since I need something very soon, but this solution sounds better. Looking forward to it.</div><div><br></div><div>Dave</div></div></div></div>
</blockquote></div><br></div>