Skip to content

Commit

Permalink
deploy: 7d99fd8
Browse files Browse the repository at this point in the history
  • Loading branch information
brentyi committed Nov 10, 2024
1 parent 3dabb26 commit 15da19b
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 4 deletions.
Binary file modified latest/.doctrees/environment.pickle
Binary file not shown.
Binary file modified latest/.doctrees/scene_api.doctree
Binary file not shown.
Binary file modified latest/.doctrees/scene_handles.doctree
Binary file not shown.
6 changes: 6 additions & 0 deletions latest/_modules/viser/_scene_api/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1169,6 +1169,7 @@ <h1>Source code for viser._scene_api</h1><div class="highlight"><pre>
<span class="n">fov</span><span class="p">:</span> <span class="nb">float</span><span class="p">,</span>
<span class="n">aspect</span><span class="p">:</span> <span class="nb">float</span><span class="p">,</span>
<span class="n">scale</span><span class="p">:</span> <span class="nb">float</span> <span class="o">=</span> <span class="mf">0.3</span><span class="p">,</span>
<span class="n">line_thickness</span><span class="p">:</span> <span class="nb">float</span> <span class="o">|</span> <span class="kc">None</span> <span class="o">=</span> <span class="kc">None</span><span class="p">,</span>
<span class="n">color</span><span class="p">:</span> <span class="n">RgbTupleOrArray</span> <span class="o">=</span> <span class="p">(</span><span class="mi">20</span><span class="p">,</span> <span class="mi">20</span><span class="p">,</span> <span class="mi">20</span><span class="p">),</span>
<span class="n">image</span><span class="p">:</span> <span class="n">np</span><span class="o">.</span><span class="n">ndarray</span> <span class="o">|</span> <span class="kc">None</span> <span class="o">=</span> <span class="kc">None</span><span class="p">,</span>
<span class="nb">format</span><span class="p">:</span> <span class="n">Literal</span><span class="p">[</span><span class="s2">&quot;png&quot;</span><span class="p">,</span> <span class="s2">&quot;jpeg&quot;</span><span class="p">]</span> <span class="o">=</span> <span class="s2">&quot;jpeg&quot;</span><span class="p">,</span>
Expand All @@ -1192,6 +1193,8 @@ <h1>Source code for viser._scene_api</h1><div class="highlight"><pre>
<span class="sd"> fov: Field of view of the camera (in radians).</span>
<span class="sd"> aspect: Aspect ratio of the camera (width over height).</span>
<span class="sd"> scale: Scale factor for the size of the frustum.</span>
<span class="sd"> line_thickness: Thickness of the frustum lines. If not set,</span>
<span class="sd"> defaults to `0.03 * scale`.</span>
<span class="sd"> color: Color of the frustum as an RGB tuple.</span>
<span class="sd"> image: Optional image to be displayed on the frustum.</span>
<span class="sd"> format: Format of the provided image (&#39;png&#39; or &#39;jpeg&#39;).</span>
Expand All @@ -1218,6 +1221,9 @@ <h1>Source code for viser._scene_api</h1><div class="highlight"><pre>
<span class="n">fov</span><span class="o">=</span><span class="n">fov</span><span class="p">,</span>
<span class="n">aspect</span><span class="o">=</span><span class="n">aspect</span><span class="p">,</span>
<span class="n">scale</span><span class="o">=</span><span class="n">scale</span><span class="p">,</span>
<span class="n">line_thickness</span><span class="o">=</span><span class="n">line_thickness</span>
<span class="k">if</span> <span class="n">line_thickness</span> <span class="ow">is</span> <span class="ow">not</span> <span class="kc">None</span>
<span class="k">else</span> <span class="mf">0.03</span> <span class="o">*</span> <span class="n">scale</span><span class="p">,</span>
<span class="n">color</span><span class="o">=</span><span class="n">_encode_rgb</span><span class="p">(</span><span class="n">color</span><span class="p">),</span>
<span class="n">image_media_type</span><span class="o">=</span><span class="n">media_type</span><span class="p">,</span>
<span class="n">image_binary</span><span class="o">=</span><span class="n">binary</span><span class="p">,</span>
Expand Down
6 changes: 4 additions & 2 deletions latest/genindex/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6443,10 +6443,10 @@ <h2>L</h2>
</li>
<li><a href="../icons/#viser.Icon.LETTER_O">LETTER_O (viser.Icon attribute)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="../icons/#viser.Icon.LETTER_P">LETTER_P (viser.Icon attribute)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
<li><a href="../icons/#viser.Icon.LETTER_Q">LETTER_Q (viser.Icon attribute)</a>
</li>
<li><a href="../icons/#viser.Icon.LETTER_R">LETTER_R (viser.Icon attribute)</a>
Expand Down Expand Up @@ -6486,6 +6486,8 @@ <h2>L</h2>
<li><a href="../icons/#viser.Icon.LINE_DOTTED">LINE_DOTTED (viser.Icon attribute)</a>
</li>
<li><a href="../icons/#viser.Icon.LINE_HEIGHT">LINE_HEIGHT (viser.Icon attribute)</a>
</li>
<li><a href="../scene_handles/#viser.CameraFrustumHandle.line_thickness">line_thickness (viser.CameraFrustumHandle attribute)</a>
</li>
<li><a href="../scene_handles/#viser.SplineCatmullRomHandle.line_width">line_width (viser.SplineCatmullRomHandle attribute)</a>

Expand Down
Binary file modified latest/objects.inv
Binary file not shown.
Loading

0 comments on commit 15da19b

Please sign in to comment.