2025-07-25 16:27:29 +08:00

1515 lines
38 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Class Bind | HiAPI-C# 2025 </title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="title" content="Class Bind | HiAPI-C# 2025 ">
<meta name="description" content="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.">
<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.Bind">
<h1 id="Hi_Disp_Bind" data-uid="Hi.Disp.Bind" class="text-break">
Class Bind
</h1>
<div class="facts text-secondary">
<dl><dt>Namespace</dt><dd><a class="xref" href="Hi.html">Hi</a>.<a class="xref" href="Hi.Disp.html">Disp</a></dd></dl>
<dl><dt>Assembly</dt><dd>HiDisp.dll</dd></dl>
</div>
<div class="markdown summary"><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>
</div>
<div class="markdown conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public class Bind : IDisposable</code></pre>
</div>
<dl class="typelist inheritance">
<dt>Inheritance</dt>
<dd>
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
<div><span class="xref">Bind</span></div>
</dd>
</dl>
<dl class="typelist implements">
<dt>Implements</dt>
<dd>
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
</dd>
</dl>
<dl class="typelist inheritedMembers">
<dt>Inherited Members</dt>
<dd>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object)</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object, object)</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone">object.MemberwiseClone()</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a>
</div>
</dd></dl>
<dl class="typelist extensionMethods">
<dt>Extension Methods</dt>
<dd>
<div>
<a class="xref" href="Hi.Common.DuplicateUtil.html#Hi_Common_DuplicateUtil_TryDuplicate__1___0_System_Object___">DuplicateUtil.TryDuplicate&lt;TSelf&gt;(TSelf, params object[])</a>
</div>
<div>
<a class="xref" href="Hi.Common.InvokeUtil.html#Hi_Common_InvokeUtil_SelfInvoke__1___0_System_Action___0__">InvokeUtil.SelfInvoke&lt;TSrc&gt;(TSrc, Action&lt;TSrc&gt;)</a>
</div>
<div>
<a class="xref" href="Hi.Common.InvokeUtil.html#Hi_Common_InvokeUtil_SelfInvoke__2___0_System_Func___0___1__">InvokeUtil.SelfInvoke&lt;TSrc, TDst&gt;(TSrc, Func&lt;TSrc, TDst&gt;)</a>
</div>
<div>
<a class="xref" href="Hi.Coloring.ColorUtil.html#Hi_Coloring_ColorUtil_GetGloomyColor_System_Object_System_Double_System_Double_">ColorUtil.GetGloomyColor(object, double, double)</a>
</div>
<div>
<a class="xref" href="Hi.Common.NameUtil.html#Hi_Common_NameUtil_GetSelectionName_System_Object_">NameUtil.GetSelectionName(object)</a>
</div>
<div>
<a class="xref" href="Hi.Common.StringUtil.html#Hi_Common_StringUtil_GetPropertyStringIfToStringNotOverloaded_System_Object_System_Boolean_System_Boolean_">StringUtil.GetPropertyStringIfToStringNotOverloaded(object, bool, bool)</a>
</div>
<div>
<a class="xref" href="Hi.Parallels.LockUtil.html#Hi_Parallels_LockUtil_Lock_System_Object_">LockUtil.Lock(object)</a>
</div>
</dd></dl>
<h2 class="section" id="fields">Fields
</h2>
<h3 id="Hi_Disp_Bind_bind" data-uid="Hi.Disp.Bind.bind">
bind
</h3>
<div class="markdown level1 summary"><p>Internal use.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public bind_t* bind</code></pre>
</div>
<h4 class="section">Field Value</h4>
<dl class="parameters">
<dt><a class="xref" href="Hi.Native.bind_t.html">bind_t</a>*</dt>
<dd></dd>
</dl>
<h2 class="section" id="properties">Properties
</h2>
<a id="Hi_Disp_Bind_CanvasHeight_" data-uid="Hi.Disp.Bind.CanvasHeight*"></a>
<h3 id="Hi_Disp_Bind_CanvasHeight" data-uid="Hi.Disp.Bind.CanvasHeight">
CanvasHeight
</h3>
<div class="markdown level1 summary"><p><a class="xref" href="Hi.Disp.DispEngine.html">DispEngine</a> height.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public int CanvasHeight { get; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd></dd>
</dl>
<a id="Hi_Disp_Bind_CanvasWidth_" data-uid="Hi.Disp.Bind.CanvasWidth*"></a>
<h3 id="Hi_Disp_Bind_CanvasWidth" data-uid="Hi.Disp.Bind.CanvasWidth">
CanvasWidth
</h3>
<div class="markdown level1 summary"><p><a class="xref" href="Hi.Disp.DispEngine.html">DispEngine</a> width.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public int CanvasWidth { get; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd></dd>
</dl>
<a id="Hi_Disp_Bind_IsPickingMode_" data-uid="Hi.Disp.Bind.IsPickingMode*"></a>
<h3 id="Hi_Disp_Bind_IsPickingMode" data-uid="Hi.Disp.Bind.IsPickingMode">
IsPickingMode
</h3>
<div class="markdown level1 summary"><p>Is current display loop in pick mode.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public bool IsPickingMode { get; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
<dd></dd>
</dl>
<a id="Hi_Disp_Bind_ModelMatStack_" data-uid="Hi.Disp.Bind.ModelMatStack*"></a>
<h3 id="Hi_Disp_Bind_ModelMatStack" data-uid="Hi.Disp.Bind.ModelMatStack">
ModelMatStack
</h3>
<div class="markdown level1 summary"><p>Stack-based Model matrix in MVP convention.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public MatStack ModelMatStack { get; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="Hi.Disp.MatStack.html">MatStack</a></dt>
<dd></dd>
</dl>
<a id="Hi_Disp_Bind_PickID_" data-uid="Hi.Disp.Bind.PickID*"></a>
<h3 id="Hi_Disp_Bind_PickID" data-uid="Hi.Disp.Bind.PickID">
PickID
</h3>
<div class="markdown level1 summary"><p>ID of picking event.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public int PickID { get; set; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd></dd>
</dl>
<a id="Hi_Disp_Bind_PixelProjMat_" data-uid="Hi.Disp.Bind.PixelProjMat*"></a>
<h3 id="Hi_Disp_Bind_PixelProjMat" data-uid="Hi.Disp.Bind.PixelProjMat">
PixelProjMat
</h3>
<div class="markdown level1 summary"><p>Pixel part of Projection matrix in MVP convention.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Mat4d PixelProjMat { get; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="Hi.Geom.Mat4d.html">Mat4d</a></dt>
<dd></dd>
</dl>
<dl class="typelist seealso">
<dt>See Also</dt>
<dd>
<div><a class="xref" href="Hi.Disp.Bind.html#Hi_Disp_Bind_ProjMat">ProjMat</a></div>
</dd>
</dl>
<a id="Hi_Disp_Bind_PixelWidthOnModel_" data-uid="Hi.Disp.Bind.PixelWidthOnModel*"></a>
<h3 id="Hi_Disp_Bind_PixelWidthOnModel" data-uid="Hi.Disp.Bind.PixelWidthOnModel">
PixelWidthOnModel
</h3>
<div class="markdown level1 summary"><p>Pixel width on model layer.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public double PixelWidthOnModel { get; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd></dd>
</dl>
<a id="Hi_Disp_Bind_ProjMat_" data-uid="Hi.Disp.Bind.ProjMat*"></a>
<h3 id="Hi_Disp_Bind_ProjMat" data-uid="Hi.Disp.Bind.ProjMat">
ProjMat
</h3>
<div class="markdown level1 summary"><p>Projection matrix in MVP convention.
Projection matrix = <a class="xref" href="Hi.Disp.Bind.html#Hi_Disp_Bind_ScaleProjMat">ScaleProjMat</a> * <a class="xref" href="Hi.Disp.Bind.html#Hi_Disp_Bind_PixelProjMat">PixelProjMat</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Mat4d ProjMat { get; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="Hi.Geom.Mat4d.html">Mat4d</a></dt>
<dd></dd>
</dl>
<a id="Hi_Disp_Bind_Reciprocal_vs_scale_" data-uid="Hi.Disp.Bind.Reciprocal_vs_scale*"></a>
<h3 id="Hi_Disp_Bind_Reciprocal_vs_scale" data-uid="Hi.Disp.Bind.Reciprocal_vs_scale">
Reciprocal_vs_scale
</h3>
<div class="markdown level1 summary"><p>Cached reciprocal value of the scale of <a class="xref" href="Hi.Disp.Bind.html#Hi_Disp_Bind_ViewMat">ViewMat</a> * <a class="xref" href="Hi.Disp.Bind.html#Hi_Disp_Bind_ScaleProjMat">ScaleProjMat</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public double Reciprocal_vs_scale { get; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd></dd>
</dl>
<a id="Hi_Disp_Bind_Rgb_" data-uid="Hi.Disp.Bind.Rgb*"></a>
<h3 id="Hi_Disp_Bind_Rgb" data-uid="Hi.Disp.Bind.Rgb">
Rgb
</h3>
<div class="markdown level1 summary"><p>External RGB Color for the <a class="xref" href="Hi.Disp.Drawing.html">Drawing</a> which the <a class="xref" href="Hi.Disp.Drawing.html#Hi_Disp_Drawing_KeyStamp">KeyStamp</a> does not contains C.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Vec3d Rgb { get; set; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="Hi.Geom.Vec3d.html">Vec3d</a></dt>
<dd></dd>
</dl>
<a id="Hi_Disp_Bind_ScaleProjMat_" data-uid="Hi.Disp.Bind.ScaleProjMat*"></a>
<h3 id="Hi_Disp_Bind_ScaleProjMat" data-uid="Hi.Disp.Bind.ScaleProjMat">
ScaleProjMat
</h3>
<div class="markdown level1 summary"><p>Scale part of Projection matrix in MVP convention.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Mat4d ScaleProjMat { get; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="Hi.Geom.Mat4d.html">Mat4d</a></dt>
<dd></dd>
</dl>
<dl class="typelist seealso">
<dt>See Also</dt>
<dd>
<div><a class="xref" href="Hi.Disp.Bind.html#Hi_Disp_Bind_ProjMat">ProjMat</a></div>
</dd>
</dl>
<a id="Hi_Disp_Bind_SparkleRate_" data-uid="Hi.Disp.Bind.SparkleRate*"></a>
<h3 id="Hi_Disp_Bind_SparkleRate" data-uid="Hi.Disp.Bind.SparkleRate">
SparkleRate
</h3>
<div class="markdown level1 summary"><p>Gets or sets the sparkle rate for rendering effects.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public float SparkleRate { get; set; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></dt>
<dd></dd>
</dl>
<a id="Hi_Disp_Bind_ViewMat_" data-uid="Hi.Disp.Bind.ViewMat*"></a>
<h3 id="Hi_Disp_Bind_ViewMat" data-uid="Hi.Disp.Bind.ViewMat">
ViewMat
</h3>
<div class="markdown level1 summary"><p>View matrix in MVP convention.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Mat4d ViewMat { get; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="Hi.Geom.Mat4d.html">Mat4d</a></dt>
<dd></dd>
</dl>
<h2 class="section" id="methods">Methods
</h2>
<a id="Hi_Disp_Bind_Dispose_" data-uid="Hi.Disp.Bind.Dispose*"></a>
<h3 id="Hi_Disp_Bind_Dispose" data-uid="Hi.Disp.Bind.Dispose">
Dispose()
</h3>
<div class="markdown level1 summary"><p>Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void Dispose()</code></pre>
</div>
<a id="Hi_Disp_Bind_Dispose_" data-uid="Hi.Disp.Bind.Dispose*"></a>
<h3 id="Hi_Disp_Bind_Dispose_System_Boolean_" data-uid="Hi.Disp.Bind.Dispose(System.Boolean)">
Dispose(bool)
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected virtual void Dispose(bool disposing)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>disposing</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
<dd></dd>
</dl>
<a id="Hi_Disp_Bind_Finalize_" data-uid="Hi.Disp.Bind.Finalize*"></a>
<h3 id="Hi_Disp_Bind_Finalize" data-uid="Hi.Disp.Bind.Finalize">
~Bind()
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected ~Bind()</code></pre>
</div>
<a id="Hi_Disp_Bind_GetMvpBoxRelation_" data-uid="Hi.Disp.Bind.GetMvpBoxRelation*"></a>
<h3 id="Hi_Disp_Bind_GetMvpBoxRelation_Hi_Geom_Vec3d_System_Double_" data-uid="Hi.Disp.Bind.GetMvpBoxRelation(Hi.Geom.Vec3d,System.Double)">
GetMvpBoxRelation(Vec3d, double)
</h3>
<div class="markdown level1 summary"><p>get relation between mvpBox and a AABB (bounding with a sphere)</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public MvpBoxRelation GetMvpBoxRelation(Vec3d center, double r)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>center</code> <a class="xref" href="Hi.Geom.Vec3d.html">Vec3d</a></dt>
<dd><p>center</p>
</dd>
<dt><code>r</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd><p>radius</p>
</dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Hi.Disp.MvpBoxRelation.html">MvpBoxRelation</a></dt>
<dd><p>0 if no overlap; 1 if partial overlap; 2 if B in A</p>
</dd>
</dl>
<a id="Hi_Disp_Bind_PopColor_" data-uid="Hi.Disp.Bind.PopColor*"></a>
<h3 id="Hi_Disp_Bind_PopColor" data-uid="Hi.Disp.Bind.PopColor">
PopColor()
</h3>
<div class="markdown level1 summary"><p>Pop the color after using <a class="xref" href="Hi.Disp.Bind.html#Hi_Disp_Bind_PushColor">PushColor()</a> and etc..</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void PopColor()</code></pre>
</div>
<dl class="typelist seealso">
<dt>See Also</dt>
<dd>
<div><a class="xref" href="Hi.Disp.Bind.html#Hi_Disp_Bind_PushColor">PushColor()</a></div>
<div><a class="xref" href="Hi.Disp.Bind.html#Hi_Disp_Bind_PushColorByRgb_Hi_Geom_Vec3d_">PushColorByRgb(Vec3d)</a></div>
</dd>
</dl>
<a id="Hi_Disp_Bind_PopLineWidth_" data-uid="Hi.Disp.Bind.PopLineWidth*"></a>
<h3 id="Hi_Disp_Bind_PopLineWidth" data-uid="Hi.Disp.Bind.PopLineWidth">
PopLineWidth()
</h3>
<div class="markdown level1 summary"><p>Pop the line width from the stack. And then set the poped line width to current line width.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void PopLineWidth()</code></pre>
</div>
<a id="Hi_Disp_Bind_PopPointSize_" data-uid="Hi.Disp.Bind.PopPointSize*"></a>
<h3 id="Hi_Disp_Bind_PopPointSize" data-uid="Hi.Disp.Bind.PopPointSize">
PopPointSize()
</h3>
<div class="markdown level1 summary"><p>Pop the stored point size from the stack.
And then set the stored point size to current point size.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void PopPointSize()</code></pre>
</div>
<dl class="typelist seealso">
<dt>See Also</dt>
<dd>
<div><a class="xref" href="Hi.Disp.Bind.html#Hi_Disp_Bind_PushPointSize">PushPointSize()</a></div>
<div><a class="xref" href="Hi.Disp.Bind.html#Hi_Disp_Bind_PushPointSize_System_Double_">PushPointSize(double)</a></div>
</dd>
</dl>
<a id="Hi_Disp_Bind_PushColor_" data-uid="Hi.Disp.Bind.PushColor*"></a>
<h3 id="Hi_Disp_Bind_PushColor" data-uid="Hi.Disp.Bind.PushColor">
PushColor()
</h3>
<div class="markdown level1 summary"><p>Push current color to stack. After <a class="xref" href="Hi.Disp.Bind.html#Hi_Disp_Bind_PopColor">PopColor()</a>, the pushed color will be restored.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void PushColor()</code></pre>
</div>
<a id="Hi_Disp_Bind_PushColorByHsl_" data-uid="Hi.Disp.Bind.PushColorByHsl*"></a>
<h3 id="Hi_Disp_Bind_PushColorByHsl_Hi_Geom_Vec3d_" data-uid="Hi.Disp.Bind.PushColorByHsl(Hi.Geom.Vec3d)">
PushColorByHsl(Vec3d)
</h3>
<div class="markdown level1 summary"><p>Pushes a color onto the color stack using HSL values.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void PushColorByHsl(Vec3d hsl)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>hsl</code> <a class="xref" href="Hi.Geom.Vec3d.html">Vec3d</a></dt>
<dd><p>The HSL color vector.</p>
</dd>
</dl>
<a id="Hi_Disp_Bind_PushColorByHsl_" data-uid="Hi.Disp.Bind.PushColorByHsl*"></a>
<h3 id="Hi_Disp_Bind_PushColorByHsl_System_Double_System_Double_System_Double_" data-uid="Hi.Disp.Bind.PushColorByHsl(System.Double,System.Double,System.Double)">
PushColorByHsl(double, double, double)
</h3>
<div class="markdown level1 summary"><p>Pushes a color onto the color stack using HSL values.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void PushColorByHsl(double hue, double saturation, double light)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>hue</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd><p>The hue component (0.0 to 1.0).</p>
</dd>
<dt><code>saturation</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd><p>The saturation component (0.0 to 1.0).</p>
</dd>
<dt><code>light</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd><p>The lightness component (0.0 to 1.0).</p>
</dd>
</dl>
<a id="Hi_Disp_Bind_PushColorByHslOffset_" data-uid="Hi.Disp.Bind.PushColorByHslOffset*"></a>
<h3 id="Hi_Disp_Bind_PushColorByHslOffset_Hi_Geom_Vec3d_" data-uid="Hi.Disp.Bind.PushColorByHslOffset(Hi.Geom.Vec3d)">
PushColorByHslOffset(Vec3d)
</h3>
<div class="markdown level1 summary"><p>Pushes a color onto the color stack by applying HSL offsets to the current color.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void PushColorByHslOffset(Vec3d hslOffset)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>hslOffset</code> <a class="xref" href="Hi.Geom.Vec3d.html">Vec3d</a></dt>
<dd><p>The HSL offset vector to apply.</p>
</dd>
</dl>
<a id="Hi_Disp_Bind_PushColorByHslOffset_" data-uid="Hi.Disp.Bind.PushColorByHslOffset*"></a>
<h3 id="Hi_Disp_Bind_PushColorByHslOffset_System_Double_System_Double_System_Double_" data-uid="Hi.Disp.Bind.PushColorByHslOffset(System.Double,System.Double,System.Double)">
PushColorByHslOffset(double, double, double)
</h3>
<div class="markdown level1 summary"><p>Pushes a color onto the color stack by applying HSL offsets to the current color.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void PushColorByHslOffset(double hueOffset, double saturationOffset, double lightOffset)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>hueOffset</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd><p>The hue offset to apply.</p>
</dd>
<dt><code>saturationOffset</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd><p>The saturation offset to apply.</p>
</dd>
<dt><code>lightOffset</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd><p>The lightness offset to apply.</p>
</dd>
</dl>
<a id="Hi_Disp_Bind_PushColorByRgb_" data-uid="Hi.Disp.Bind.PushColorByRgb*"></a>
<h3 id="Hi_Disp_Bind_PushColorByRgb_Hi_Geom_Vec3d_" data-uid="Hi.Disp.Bind.PushColorByRgb(Hi.Geom.Vec3d)">
PushColorByRgb(Vec3d)
</h3>
<div class="markdown level1 summary"><p>Push current color to stack then set the color to given rgb.
After <a class="xref" href="Hi.Disp.Bind.html#Hi_Disp_Bind_PopColor">PopColor()</a>, the pushed color will be restored.
If <code class="paramref">rgb</code> is null, ignore the <code class="paramref">rgb</code> and push.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void PushColorByRgb(Vec3d rgb)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>rgb</code> <a class="xref" href="Hi.Geom.Vec3d.html">Vec3d</a></dt>
<dd><p>RGB color</p>
</dd>
</dl>
<a id="Hi_Disp_Bind_PushColorByRgb_" data-uid="Hi.Disp.Bind.PushColorByRgb*"></a>
<h3 id="Hi_Disp_Bind_PushColorByRgb_System_Double_System_Double_System_Double_" data-uid="Hi.Disp.Bind.PushColorByRgb(System.Double,System.Double,System.Double)">
PushColorByRgb(double, double, double)
</h3>
<div class="markdown level1 summary"><p>Pushes a color onto the color stack using RGB values.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void PushColorByRgb(double r, double g, double b)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>r</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd><p>The red component value (0.0 to 1.0).</p>
</dd>
<dt><code>g</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd><p>The green component value (0.0 to 1.0).</p>
</dd>
<dt><code>b</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd><p>The blue component value (0.0 to 1.0).</p>
</dd>
</dl>
<a id="Hi_Disp_Bind_PushColorByRgbOffset_" data-uid="Hi.Disp.Bind.PushColorByRgbOffset*"></a>
<h3 id="Hi_Disp_Bind_PushColorByRgbOffset_Hi_Geom_Vec3d_" data-uid="Hi.Disp.Bind.PushColorByRgbOffset(Hi.Geom.Vec3d)">
PushColorByRgbOffset(Vec3d)
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void PushColorByRgbOffset(Vec3d rgbOffset)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>rgbOffset</code> <a class="xref" href="Hi.Geom.Vec3d.html">Vec3d</a></dt>
<dd></dd>
</dl>
<a id="Hi_Disp_Bind_PushColorByRgbOffset_" data-uid="Hi.Disp.Bind.PushColorByRgbOffset*"></a>
<h3 id="Hi_Disp_Bind_PushColorByRgbOffset_System_Double_System_Double_System_Double_" data-uid="Hi.Disp.Bind.PushColorByRgbOffset(System.Double,System.Double,System.Double)">
PushColorByRgbOffset(double, double, double)
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void PushColorByRgbOffset(double rOffset, double gOffset, double bOffset)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>rOffset</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd></dd>
<dt><code>gOffset</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd></dd>
<dt><code>bOffset</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd></dd>
</dl>
<a id="Hi_Disp_Bind_PushCoveringPixelMode_" data-uid="Hi.Disp.Bind.PushCoveringPixelMode*"></a>
<h3 id="Hi_Disp_Bind_PushCoveringPixelMode" data-uid="Hi.Disp.Bind.PushCoveringPixelMode">
PushCoveringPixelMode()
</h3>
<div class="markdown level1 summary"><p>Push covering-pixel-mode matrix to <a class="xref" href="Hi.Disp.Bind.html#Hi_Disp_Bind_ModelMatStack">ModelMatStack</a> to make the display in pixel scale.
Call <a class="xref" href="Hi.Disp.Bind.html#Hi_Disp_Bind_ModelMatStack">ModelMatStack</a>.<a class="xref" href="Hi.Disp.MatStack.html#Hi_Disp_MatStack_Pop">Pop()</a> to end the mode.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void PushCoveringPixelMode()</code></pre>
</div>
<a id="Hi_Disp_Bind_PushLineWidth_" data-uid="Hi.Disp.Bind.PushLineWidth*"></a>
<h3 id="Hi_Disp_Bind_PushLineWidth" data-uid="Hi.Disp.Bind.PushLineWidth">
PushLineWidth()
</h3>
<div class="markdown level1 summary"><p>Push current line width into stack.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void PushLineWidth()</code></pre>
</div>
<dl class="typelist seealso">
<dt>See Also</dt>
<dd>
<div><a class="xref" href="Hi.Disp.Bind.html#Hi_Disp_Bind_PopLineWidth">PopLineWidth()</a></div>
</dd>
</dl>
<a id="Hi_Disp_Bind_PushLineWidth_" data-uid="Hi.Disp.Bind.PushLineWidth*"></a>
<h3 id="Hi_Disp_Bind_PushLineWidth_System_Double_" data-uid="Hi.Disp.Bind.PushLineWidth(System.Double)">
PushLineWidth(double)
</h3>
<div class="markdown level1 summary"><p>Push current line width into stack. And then set <code class="paramref">lineWidth</code> to the current line width.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void PushLineWidth(double lineWidth)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>lineWidth</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd><p>line width</p>
</dd>
</dl>
<dl class="typelist seealso">
<dt>See Also</dt>
<dd>
<div><a class="xref" href="Hi.Disp.Bind.html#Hi_Disp_Bind_PopLineWidth">PopLineWidth()</a></div>
</dd>
</dl>
<a id="Hi_Disp_Bind_PushNoRotationPixelMode_" data-uid="Hi.Disp.Bind.PushNoRotationPixelMode*"></a>
<h3 id="Hi_Disp_Bind_PushNoRotationPixelMode" data-uid="Hi.Disp.Bind.PushNoRotationPixelMode">
PushNoRotationPixelMode()
</h3>
<div class="markdown level1 summary"><p>Push no-rotation-pixel-mode matrix to <a class="xref" href="Hi.Disp.Bind.html#Hi_Disp_Bind_ModelMatStack">ModelMatStack</a> to make the display in pixel scale.
Call <a class="xref" href="Hi.Disp.Bind.html#Hi_Disp_Bind_ModelMatStack">ModelMatStack</a>.<a class="xref" href="Hi.Disp.MatStack.html#Hi_Disp_MatStack_Pop">Pop()</a> to end the mode.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void PushNoRotationPixelMode()</code></pre>
</div>
<a id="Hi_Disp_Bind_PushPixelMode_" data-uid="Hi.Disp.Bind.PushPixelMode*"></a>
<h3 id="Hi_Disp_Bind_PushPixelMode" data-uid="Hi.Disp.Bind.PushPixelMode">
PushPixelMode()
</h3>
<div class="markdown level1 summary"><p>Push pixel mode matrix to <a class="xref" href="Hi.Disp.Bind.html#Hi_Disp_Bind_ModelMatStack">ModelMatStack</a> to make the display in pixel scale.</p>
<p>Call <a class="xref" href="Hi.Disp.Bind.html#Hi_Disp_Bind_ModelMatStack">ModelMatStack</a>.<a class="xref" href="Hi.Disp.MatStack.html#Hi_Disp_MatStack_Pop">Pop()</a> to end the mode.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void PushPixelMode()</code></pre>
</div>
<a id="Hi_Disp_Bind_PushPointSize_" data-uid="Hi.Disp.Bind.PushPointSize*"></a>
<h3 id="Hi_Disp_Bind_PushPointSize" data-uid="Hi.Disp.Bind.PushPointSize">
PushPointSize()
</h3>
<div class="markdown level1 summary"><p>Push current point size to the stack.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void PushPointSize()</code></pre>
</div>
<dl class="typelist seealso">
<dt>See Also</dt>
<dd>
<div><a class="xref" href="Hi.Disp.Bind.html#Hi_Disp_Bind_PopPointSize">PopPointSize()</a></div>
</dd>
</dl>
<a id="Hi_Disp_Bind_PushPointSize_" data-uid="Hi.Disp.Bind.PushPointSize*"></a>
<h3 id="Hi_Disp_Bind_PushPointSize_System_Double_" data-uid="Hi.Disp.Bind.PushPointSize(System.Double)">
PushPointSize(double)
</h3>
<div class="markdown level1 summary"><p>Push current point size to the stack.
And then set the <code class="paramref">pointSize</code> to current point size.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void PushPointSize(double pointSize)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>pointSize</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd><p>point size</p>
</dd>
</dl>
<dl class="typelist seealso">
<dt>See Also</dt>
<dd>
<div><a class="xref" href="Hi.Disp.Bind.html#Hi_Disp_Bind_PopPointSize">PopPointSize()</a></div>
</dd>
</dl>
<a id="Hi_Disp_Bind_PushPointSize_" data-uid="Hi.Disp.Bind.PushPointSize*"></a>
<h3 id="Hi_Disp_Bind_PushPointSize_System_Single_" data-uid="Hi.Disp.Bind.PushPointSize(System.Single)">
PushPointSize(float)
</h3>
<div class="markdown level1 summary"><p>Push current point size to the stack.
And then set the <code class="paramref">pointSize</code> to current point size.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void PushPointSize(float pointSize)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>pointSize</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></dt>
<dd><p>point size</p>
</dd>
</dl>
<dl class="typelist seealso">
<dt>See Also</dt>
<dd>
<div><a class="xref" href="Hi.Disp.Bind.html#Hi_Disp_Bind_PopPointSize">PopPointSize()</a></div>
</dd>
</dl>
<a id="Hi_Disp_Bind_ToString_" data-uid="Hi.Disp.Bind.ToString*"></a>
<h3 id="Hi_Disp_Bind_ToString" data-uid="Hi.Disp.Bind.ToString">
ToString()
</h3>
<div class="markdown level1 summary"><p>Returns a string that represents the current object.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public override string ToString()</code></pre>
</div>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd><p>A string that represents the current object.</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>