[vtk-developers] vtkMathTextUtilities and otherPrint test

David Cole david.cole at kitware.com
Tue Jul 10 15:25:58 EDT 2012


Why are the static New methods of singleton objects in VTK public?
  static vtkMathTextUtilities *New();

vtkOutputWindow is also a "singleton" -- but the instance is settable by
clients. That's not excluded from wrapping is it?

There's something else going on here if vtkOutputWindow works for this
test, but your new singleton does not.


On Tue, Jul 10, 2012 at 3:05 PM, Brad King <brad.king at kitware.com> wrote:

> On 07/10/2012 02:57 PM, David Lonie wrote:
> > vtkMathTextUtilities copied a singleton pattern from
> > vtkFreeTypeUtilities, and it looks like vtkFreeTypeUtilities is
> > excluded from wrapping, possibly for the same reason (singleton fails
> > to cleanup)?
>
> I don't know the reason vtkFreeTypeUtilities is excluded.
>
> > vtkMathTextUtilities shouldn't need to be wrapped for any reason I can
> > see, any objections to WRAP_EXCLUDE'ing it to "fix" this bug?
>
> Fine with me.
>
> -Brad
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20120710/164be85a/attachment.html>


More information about the vtk-developers mailing list