2026-02-11 04:11:05 +08:00

292 lines
12 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Namespace Hi.Disp | HiAPI-C# 2025 </title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="title" content="Namespace Hi.Disp | HiAPI-C# 2025 ">
<link rel="icon" href="../img/HiAPI.favicon.ico">
<link rel="stylesheet" href="../public/docfx.min.css">
<link rel="stylesheet" href="../public/main.css">
<meta name="docfx:navrel" content="../toc.html">
<meta name="docfx:tocrel" content="toc.html">
<meta name="docfx:rel" content="../">
<meta name="loc:inThisArticle" content="In this article">
<meta name="loc:searchResultsCount" content="{count} results for &quot;{query}&quot;">
<meta name="loc:searchNoResults" content="No results for &quot;{query}&quot;">
<meta name="loc:tocFilter" content="Filter by title">
<meta name="loc:nextArticle" content="Next">
<meta name="loc:prevArticle" content="Previous">
<meta name="loc:themeLight" content="Light">
<meta name="loc:themeDark" content="Dark">
<meta name="loc:themeAuto" content="Auto">
<meta name="loc:changeTheme" content="Change theme">
<meta name="loc:copy" content="Copy">
<meta name="loc:downloadPdf" content="Download PDF">
<script type="module" src="./../public/docfx.min.js"></script>
<script>
const theme = localStorage.getItem('theme') || 'auto'
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
</script>
</head>
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
<header class="bg-body border-bottom">
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
<div class="container-xxl flex-nowrap">
<a class="navbar-brand" href="../index.html">
<img id="logo" class="svg" src="../img/HiAPI.logo.png" alt="">
</a>
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
<i class="bi bi-three-dots"></i>
</button>
<div class="collapse navbar-collapse" id="navpanel">
<div id="navbar">
<form class="search" role="search" id="search">
<i class="bi bi-search"></i>
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
</form>
</div>
</div>
</div>
</nav>
</header>
<main class="container-xxl">
<div class="toc-offcanvas">
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
<div class="offcanvas-header">
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
</div>
<div class="offcanvas-body">
<nav class="toc" id="toc"></nav>
</div>
</div>
</div>
<div class="content">
<div class="actionbar">
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
<i class="bi bi-list"></i>
</button>
<nav id="breadcrumb"></nav>
</div>
<article data-uid="Hi.Disp">
<h1 id="Hi_Disp" data-uid="Hi.Disp" class="text-break">Namespace Hi.Disp</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>
<div class="markdown level0 remarks"></div>
<h3 id="classes">
Classes
</h3>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Disp.Bind.html">Bind</a></dt>
<dd><p>Runtime rendering data for each iteration in rendering loop.
It manipulates geometry transformation, such as moving, rotatingand scaling.
It also deal with color and picking.
A bind_t object is generated by rendering in the every beginning of each rendering iteration.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Disp.Box3dDispUtil.html">Box3dDispUtil</a></dt>
<dd><p>Utility and Extension of <a class="xref" href="Hi.Geom.Box3d.html">Box3d</a>.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Disp.DelegateFuncDisplayee.html">DelegateFuncDisplayee</a></dt>
<dd><p>A displayee implementation that delegates display functionality to a function.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Disp.DispEngine.html">DispEngine</a></dt>
<dd><p>HiAPI display engine.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Disp.DispEngineConfig.html">DispEngineConfig</a></dt>
<dd><p>Configuration class for display engine.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Disp.DispFrameUtil.html">DispFrameUtil</a></dt>
<dd><p>Utility class for display frame management.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Disp.DispList.html">DispList</a></dt>
<dd><p>A combination of <a class="xref" href="Hi.Disp.IDisplayee.html">IDisplayee</a> and <a class="xref" href="Hi.Common.Collections.SynList-1.html">SynList&lt;T&gt;</a>.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Disp.DispUtil.html">DispUtil</a></dt>
<dd><p>Display Utility</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Disp.Drawing.html">Drawing</a></dt>
<dd><p>The most efficient elemental 3D rendering unit.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Disp.FuncDisplayee.html">FuncDisplayee</a></dt>
<dd><p>A displayee implementation that delegates display functionality to function delegates.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Disp.GL.html">GL</a></dt>
<dd><p>Native opengl functions wrapper.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Disp.MatStack.html">MatStack</a></dt>
<dd><p>Stack-based Matrix.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Disp.MatStack.ItemDisposable.html">MatStack.ItemDisposable</a></dt>
<dd><p>A disposable class that manages push and pop operations on a matrix stack.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Disp.Pickable.html">Pickable</a></dt>
<dd><p>Picking event handler for rendering.
Note that it has to be disposed manually or the object occurs memory leak.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Disp.PopModelMat.html">PopModelMat</a></dt>
<dd><p>Call <a class="xref" href="Hi.Disp.MatStack.html#Hi_Disp_MatStack_Pop">Pop()</a> for <span class="xref">Hi.Disp.Bind.modelMatStack</span> in <a class="xref" href="Hi.Disp.IDisplayee.html#Hi_Disp_IDisplayee_Display_Hi_Disp_Bind_">Display(Bind)</a>.
This function is only for test purpose.
Since the <a class="xref" href="Hi.Disp.PopModelMat.html#Hi_Disp_PopModelMat_ExpandToBox3d_Hi_Geom_Box3d_">ExpandToBox3d(Box3d)</a> just expand the translation part of the mat to the target box.
This function should be use with <a class="xref" href="Hi.Disp.PushModelMat.html">PushModelMat</a>.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Disp.PushModelMat.html">PushModelMat</a></dt>
<dd><p>Call <a class="xref" href="Hi.Disp.MatStack.html#Hi_Disp_MatStack_Push">Push()</a> for <span class="xref">Hi.Disp.Bind.modelMatStack</span> in <a class="xref" href="Hi.Disp.IDisplayee.html#Hi_Disp_IDisplayee_Display_Hi_Disp_Bind_">Display(Bind)</a>.
This function is only for test purpose.
Since the <a class="xref" href="Hi.Disp.PushModelMat.html#Hi_Disp_PushModelMat_ExpandToBox3d_Hi_Geom_Box3d_">ExpandToBox3d(Box3d)</a> just expand the translation part of the mat to the target box.
This function should be use with <a class="xref" href="Hi.Disp.PopModelMat.html">PopModelMat</a>.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Disp.Segment3dDispUtil.html">Segment3dDispUtil</a></dt>
<dd><p>Utilities for converting geometry segments to renderable drawings.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Disp.ShowEventPickable.html">ShowEventPickable</a></dt>
<dd><p>Show pick events in console.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Disp.StringDrawing.html">StringDrawing</a></dt>
<dd><p>An <a class="xref" href="Hi.Disp.IDisplayee.html">IDisplayee</a> to draw string.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Disp.Tri3dDispUtil.html">Tri3dDispUtil</a></dt>
<dd><p>Utility and Extension of <a class="xref" href="Hi.Geom.Tri3d.html">Tri3d</a>.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Disp.Vec3dDispUtil.html">Vec3dDispUtil</a></dt>
<dd><p>Utility and Extension of <a class="xref" href="Hi.Geom.Vec3d.html">Vec3d</a>.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Disp.WrappedDisplayee.html">WrappedDisplayee</a></dt>
<dd><p>A wrapper class for IDisplayee that allows customizing display and bounding box behavior.</p>
</dd>
</dl>
<h3 id="interfaces">
Interfaces
</h3>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Disp.IDisplayee.html">IDisplayee</a></dt>
<dd><p>An object which can be displayed in <a class="xref" href="Hi.Disp.DispEngine.html">DispEngine</a>.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Disp.IGetDispEngine.html">IGetDispEngine</a></dt>
<dd><p>Interface fo getting <a class="xref" href="Hi.Disp.DispEngine.html">DispEngine</a>.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Disp.IGetPickable.html">IGetPickable</a></dt>
<dd><p>Get <a class="xref" href="Hi.Disp.Pickable.html">Pickable</a> interface.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Disp.IGlContextDirver.html">IGlContextDirver</a></dt>
<dd><p>Bridge of Native OpenGL Context.</p>
</dd>
</dl>
<h3 id="enums">
Enums
</h3>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Disp.MvpBoxRelation.html">MvpBoxRelation</a></dt>
<dd><p>Relation between mvpBox and an AABB</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Disp.Stamp.html">Stamp</a></dt>
<dd><p>Data scope of the double array for <a class="xref" href="Hi.Disp.Drawing.html">Drawing</a>.</p>
</dd>
</dl>
<h3 id="delegates">
Delegates
</h3>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Disp.Box3dDispUtil.BoxableExpandToBox3dDel.html">Box3dDispUtil.BoxableExpandToBox3dDel</a></dt>
<dd><p>Delegate for expanding a native boxable object to a box3d.</p>
</dd>
</dl>
<dl class="jumplist">
<dt><a class="xref" href="Hi.Disp.DispEngine.ImageRequestedDelegate.html">DispEngine.ImageRequestedDelegate</a></dt>
<dd><p>For <a class="xref" href="Hi.Disp.DispEngine.html#Hi_Disp_DispEngine_ImageRequestAfterBufferSwapped">ImageRequestAfterBufferSwapped</a>.</p>
</dd>
</dl>
</article>
<div class="contribution d-print-none">
</div>
</div>
<div class="affix">
<nav id="affix"></nav>
</div>
</main>
<div class="container-xxl search-results" id="search-results"></div>
<footer class="border-top text-secondary">
<div class="container-xxl">
<div class="flex-fill">
<span> Copyright © 2025 <a href='https://superhightech.com.tw'>Tech Coordinate</a>. All rights reserved. <a href='https://superhightech.com.tw'>超級高科技股份有限公司</a> © 2025 版權所有 </span>
</div>
</div>
</footer>
</body>
</html>