<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Thanks for your response. I'll try the resize() method.</p>
    <p>I hope you get time soon because it's rather difficult to work
      with vtk.js given that its design departs significantly from VTK.</p>
    <p>Best wishes,<br>
    </p>
    <pre class="moz-signature" cols="72">Paul K. Korir, PhD
Scientific Programmer
EMBL-EBI
01223494422</pre>
    <div class="moz-cite-prefix">On 29/08/2018 19:36, Sebastien Jourdain
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CABObKxfPr6hd-Ox0fsGXr+umtRK=UnfY2oZPR1w6A7QJ=qKFLQ@mail.gmail.com">
      <div dir="ltr">I'm guessing for the 1) you are talking about the
        API part of it since lots of example are available on how to use
        specific classes? 
        <div>Right now, it is true that we show the source code in place
          of the API but we are hoping to provide an automated tool that
          should gather properties/methods/default values in a
          meaningful way.</div>
        <div>Unfortunately, we don't have a time frame regarding that
          aspect.  </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr">On Wed, Aug 29, 2018 at 12:53 PM Sebastien
          Jourdain <<a href="mailto:sebastien.jourdain@kitware.com"
            moz-do-not-send="true">sebastien.jourdain@kitware.com</a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div dir="ltr">To set the size of the window, you need to call
            setSize(widget, height) on the OpenGLRenderWindow instance.
            <div>But for the generic GenericRenderWindow, you just need
              to call .resize() to let know the renderer that it should
              snap to its container size.</div>
            <div><br>
            </div>
          </div>
          <br>
          <div class="gmail_quote">
            <div dir="ltr">On Wed, Aug 29, 2018 at 9:46 AM Paul Korir
              <<a href="mailto:pkorir@ebi.ac.uk" target="_blank"
                moz-do-not-send="true">pkorir@ebi.ac.uk</a>> wrote:<br>
            </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">Greetings,<br>
              <br>
              I'm using the above class and have managed to use it to
              render some VTP <br>
              files. However, when I place the render window inside a
              div of 1000 X <br>
              1000px the view is pixelated. I noticed the canvas is set
              to 300px <br>
              square. I've scoured the API but cannot see how to resize
              the <br>
              canvas/render window.<br>
              <br>
              Two requests:<br>
              <br>
              1) Any idea when vtk.js will be more fully documented?
              It's quite hard <br>
              to work with it as is.<br>
              <br>
              2) What is the recommended way to set the size of the
              canvas/render <br>
              window to fill the space?<br>
              <br>
              -- <br>
              Paul K. Korir, PhD<br>
              Scientific Programmer<br>
              EMBL-EBI<br>
              01223494422<br>
              <br>
              _______________________________________________<br>
              Powered by <a href="http://www.kitware.com"
                rel="noreferrer" target="_blank" moz-do-not-send="true">www.kitware.com</a><br>
              <br>
              Visit other Kitware open-source projects at <a
                href="http://www.kitware.com/opensource/opensource.html"
                rel="noreferrer" target="_blank" moz-do-not-send="true">http://www.kitware.com/opensource/opensource.html</a><br>
              <br>
              Please keep messages on-topic and check the VTK FAQ at: <a
                href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer"
                target="_blank" moz-do-not-send="true">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
              <br>
              Search the list archives at: <a
                href="http://markmail.org/search/?q=vtkusers"
                rel="noreferrer" target="_blank" moz-do-not-send="true">http://markmail.org/search/?q=vtkusers</a><br>
              <br>
              Follow this link to subscribe/unsubscribe:<br>
              <a
                href="https://public.kitware.com/mailman/listinfo/vtkusers"
                rel="noreferrer" target="_blank" moz-do-not-send="true">https://public.kitware.com/mailman/listinfo/vtkusers</a><br>
            </blockquote>
          </div>
        </blockquote>
      </div>
    </blockquote>
    <br>
  </body>
</html>