[vtk-developers] ToParent() vs. ToParentCoordinates()

Marcus D. Hanwell marcus.hanwell at kitware.com
Mon Sep 27 16:05:22 EDT 2010


On Thu, Sep 23, 2010 at 10:35 AM, David Gobbi <david.gobbi at gmail.com> wrote:

> Hi Jeff,
>
> I notice that the new Context classes use methods like "ToParent()",
> "FromParent()" etc. for coordinate transformations.
>
> Don't short, non-descriptive method names go against the VTK style
> guidelines?  Names like ToParentCoordinates() would have a more
> obvious meaning.
>
> Hi David,

As part of some work refactoring I modified those functions - I used
MapToParent as it is shorter, and hopefully just as descriptive.

Marcus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20100927/653aa26c/attachment.html>


More information about the vtk-developers mailing list