<div dir="ltr">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.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 27, 2018 at 10:01 AM, mafiaskafia <span dir="ltr"><<a href="mailto:tsilveira1993@gmail.com" target="_blank">tsilveira1993@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thank you for your quick answer! But by creating two different layers, how<br>
can i "connect" the gridline with the vtkPolyData? For example, if i have a<br>
2x2 square with its center on coordinates (0,0), how can i set the origin of<br>
the gridline to be on the center of the square? So that the range of the<br>
values on the gridline match the dimensions of the rectangle.<br>
<br>
Cheers!<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="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=" rel="noreferrer" target="_blank">https://urldefense.proofpoint.<wbr>com/v2/url?u=http-3A__vtk.<wbr>1045678.n5.nabble.com_VTK-<wbr>2DUsers-2Df1224199.html&d=<wbr>DwICAg&c=<wbr>54IZrppPQZKX9mLzcGdPfFD1hxrcB_<wbr>_aEkJFOKJFd00&r=h7heP8xwI1i_<wbr>HikChvhFbEBurKirgfOCdwgBxB9lM8<wbr>c&m=2j4g900IFL_<wbr>D3AFivfPLbqkz65XqiD76ofQ-<wbr>AO7mp6A&s=PiR0q-<wbr>NraMaKXLlI5gcIo1S-<wbr>iHIxX2PMBzcRSSybil8&e=</a><br>
______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="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=" rel="noreferrer" target="_blank">https://urldefense.proofpoint.<wbr>com/v2/url?u=http-3A__www.<wbr>kitware.com_opensource_<wbr>opensource.html&d=DwICAg&c=<wbr>54IZrppPQZKX9mLzcGdPfFD1hxrcB_<wbr>_aEkJFOKJFd00&r=h7heP8xwI1i_<wbr>HikChvhFbEBurKirgfOCdwgBxB9lM8<wbr>c&m=2j4g900IFL_<wbr>D3AFivfPLbqkz65XqiD76ofQ-<wbr>AO7mp6A&s=0yZJ-A6Cm4u6-<wbr>iPBwiomU3Yr9xTU4BB7ThiHLRES-<wbr>fE&e=</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="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=F57D8uGRwGw2zhpdZZdyZLl32xobvQYaoCIelDkvBZ8&e=" rel="noreferrer" target="_blank">https://urldefense.proofpoint.<wbr>com/v2/url?u=http-3A__www.vtk.<wbr>org_Wiki_VTK-5FFAQ&d=DwICAg&c=<wbr>54IZrppPQZKX9mLzcGdPfFD1hxrcB_<wbr>_aEkJFOKJFd00&r=h7heP8xwI1i_<wbr>HikChvhFbEBurKirgfOCdwgBxB9lM8<wbr>c&m=2j4g900IFL_<wbr>D3AFivfPLbqkz65XqiD76ofQ-<wbr>AO7mp6A&s=<wbr>F57D8uGRwGw2zhpdZZdyZLl32xobvQ<wbr>YaoCIelDkvBZ8&e=</a><br>
<br>
Search the list archives at: <a href="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=" rel="noreferrer" target="_blank">https://urldefense.proofpoint.<wbr>com/v2/url?u=http-3A__<wbr>markmail.org_search_-3Fq-<wbr>3Dvtkusers&d=DwICAg&c=<wbr>54IZrppPQZKX9mLzcGdPfFD1hxrcB_<wbr>_aEkJFOKJFd00&r=h7heP8xwI1i_<wbr>HikChvhFbEBurKirgfOCdwgBxB9lM8<wbr>c&m=2j4g900IFL_<wbr>D3AFivfPLbqkz65XqiD76ofQ-<wbr>AO7mp6A&s=<wbr>qjfhihukNZPudwgRmP2KYmUy8mZVML<wbr>Cmn2OdgvC8JFM&e=</a><br>
<span class=""><br>
Follow this link to subscribe/unsubscribe:<br>
</span><a href="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=" rel="noreferrer" target="_blank">https://urldefense.proofpoint.<wbr>com/v2/url?u=https-3A__public.<wbr>kitware.com_mailman_listinfo_<wbr>vtkusers&d=DwICAg&c=<wbr>54IZrppPQZKX9mLzcGdPfFD1hxrcB_<wbr>_aEkJFOKJFd00&r=h7heP8xwI1i_<wbr>HikChvhFbEBurKirgfOCdwgBxB9lM8<wbr>c&m=2j4g900IFL_<wbr>D3AFivfPLbqkz65XqiD76ofQ-<wbr>AO7mp6A&s=3-<wbr>Xjzxou3AIXREldNVxDE9bGCFGmKPiC<wbr>EKW_UzPzVWY&e=</a><br>
</blockquote></div><br></div>