[vtkusers] VTK centering vtkChartXY on polydata (Python)

Slaughter, Andrew E andrew.slaughter at inl.gov
Wed Jun 27 12:30:40 EDT 2018


I don't know the answer to that question, it likely depends on the type of
interactor you are using. It is possible to use the same camera across
renderers, which might help.

On Wed, Jun 27, 2018 at 10:01 AM, mafiaskafia <tsilveira1993 at gmail.com>
wrote:

> Thank you for your quick answer! But by creating two different layers, how
> can i "connect" the gridline with the vtkPolyData? For example, if i have a
> 2x2 square with its center on coordinates (0,0), how can i set the origin
> of
> the gridline to be on the center of the square? So that the range of the
> values on the gridline match the dimensions of the rectangle.
>
> Cheers!
>
>
>
> --
> Sent from: https://urldefense.proofpoint.com/v2/url?u=http-3A__vtk.
> 1045678.n5.nabble.com_VTK-2DUsers-2Df1224199.html&d=DwICAg&c=
> 54IZrppPQZKX9mLzcGdPfFD1hxrcB__aEkJFOKJFd00&r=h7heP8xwI1i_
> HikChvhFbEBurKirgfOCdwgBxB9lM8c&m=2j4g900IFL_D3AFivfPLbqkz65XqiD76ofQ-
> AO7mp6A&s=PiR0q-NraMaKXLlI5gcIo1S-iHIxX2PMBzcRSSybil8&e=
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at https://urldefense.proofpoint.
> com/v2/url?u=http-3A__www.kitware.com_opensource_
> opensource.html&d=DwICAg&c=54IZrppPQZKX9mLzcGdPfFD1hxrcB_
> _aEkJFOKJFd00&r=h7heP8xwI1i_HikChvhFbEBurKirgfOCdwgBxB9lM8c&m=2j4g900IFL_
> D3AFivfPLbqkz65XqiD76ofQ-AO7mp6A&s=0yZJ-A6Cm4u6-
> iPBwiomU3Yr9xTU4BB7ThiHLRES-fE&e=
>
> Please keep messages on-topic and check the VTK FAQ at:
> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.vtk.
> org_Wiki_VTK-5FFAQ&d=DwICAg&c=54IZrppPQZKX9mLzcGdPfFD1hxrcB_
> _aEkJFOKJFd00&r=h7heP8xwI1i_HikChvhFbEBurKirgfOCdwgBxB9lM8c&m=2j4g900IFL_
> D3AFivfPLbqkz65XqiD76ofQ-AO7mp6A&s=F57D8uGRwGw2zhpdZZdyZLl32xobvQ
> YaoCIelDkvBZ8&e=
>
> Search the list archives at: https://urldefense.proofpoint.
> com/v2/url?u=http-3A__markmail.org_search_-3Fq-3Dvtkusers&d=DwICAg&c=
> 54IZrppPQZKX9mLzcGdPfFD1hxrcB__aEkJFOKJFd00&r=h7heP8xwI1i_
> HikChvhFbEBurKirgfOCdwgBxB9lM8c&m=2j4g900IFL_D3AFivfPLbqkz65XqiD76ofQ-
> AO7mp6A&s=qjfhihukNZPudwgRmP2KYmUy8mZVMLCmn2OdgvC8JFM&e=
>
> Follow this link to subscribe/unsubscribe:
> https://urldefense.proofpoint.com/v2/url?u=https-3A__public.
> kitware.com_mailman_listinfo_vtkusers&d=DwICAg&c=
> 54IZrppPQZKX9mLzcGdPfFD1hxrcB__aEkJFOKJFd00&r=h7heP8xwI1i_
> HikChvhFbEBurKirgfOCdwgBxB9lM8c&m=2j4g900IFL_D3AFivfPLbqkz65XqiD76ofQ-
> AO7mp6A&s=3-Xjzxou3AIXREldNVxDE9bGCFGmKPiCEKW_UzPzVWY&e=
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/vtkusers/attachments/20180627/9846c282/attachment.html>


More information about the vtkusers mailing list