classfplane.html
来自「VC下实现图像处理。 VC下实现图像处理。 VC下实现图像处理。」· HTML 代码 · 共 210 行
HTML
210 行
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>vtdata library: FPlane Class Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"><link href="tabs.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.4.5 --><div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li id="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul></div><div class="tabs"> <ul> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul></div><h1>FPlane Class Reference</h1><!-- doxytag: class="FPlane" --><!-- doxytag: inherits="FPoint3" -->Inheritance diagram for FPlane:<p><center><img src="classFPlane__inherit__graph.png" border="0" usemap="#FPlane__inherit__map" alt="Inheritance graph"></center><map name="FPlane__inherit__map"><area href="classFPoint3.html" shape="rect" coords="7,7,73,34" alt=""></map><center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classFPlane-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"><tr><td></td></tr><tr><td colspan="2"><br><h2>Public Types</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b>IntersectionType</b> { <br> <b>COLINEAR</b>, <b>COPLANAR</b>, <b>PARALLEL</b>, <b>FACING_AWAY</b>, <br> <b>INTERSECTING</b><br> }</td></tr><tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8e6eff5493071f4441294e1d66a1ead8"></a><!-- doxytag: member="FPlane::FPlane" ref="8e6eff5493071f4441294e1d66a1ead8" args="(float a, float b, float c, float d)" --> </td><td class="memItemRight" valign="bottom"><a class="el" href="classFPlane.html#8e6eff5493071f4441294e1d66a1ead8">FPlane</a> (float a, float b, float c, float d)</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Construct from parametric coefficients. <br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="969e55bace5c52f9e30a3fc23f4fc58f"></a><!-- doxytag: member="FPlane::FPlane" ref="969e55bace5c52f9e30a3fc23f4fc58f" args="(const FPoint3 &p, const FPoint3 &q, const FPoint3 &r)" --> </td><td class="memItemRight" valign="bottom"><a class="el" href="classFPlane.html#969e55bace5c52f9e30a3fc23f4fc58f">FPlane</a> (const <a class="el" href="classFPoint3.html">FPoint3</a> &p, const <a class="el" href="classFPoint3.html">FPoint3</a> &q, const <a class="el" href="classFPoint3.html">FPoint3</a> &r)</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Construct from three points. <br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bc2f24519927bb98e40af41ba58872dd"></a><!-- doxytag: member="FPlane::FPlane" ref="bc2f24519927bb98e40af41ba58872dd" args="(const FPoint3 &Point, const FPoint3 &Normal)" --> </td><td class="memItemRight" valign="bottom"><a class="el" href="classFPlane.html#bc2f24519927bb98e40af41ba58872dd">FPlane</a> (const <a class="el" href="classFPoint3.html">FPoint3</a> &Point, const <a class="el" href="classFPoint3.html">FPoint3</a> &Normal)</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Construct from point and normal vector. <br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="70be5f55d828d618d99f00288071264d"></a><!-- doxytag: member="FPlane::operator=" ref="70be5f55d828d618d99f00288071264d" args="(const FPlane &rhs)" -->const <a class="el" href="classFPlane.html">FPlane</a> & </td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="classFPlane.html">FPlane</a> &rhs)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3b84cf2d654462359c8ce8156c15aabd"></a><!-- doxytag: member="FPlane::Set" ref="3b84cf2d654462359c8ce8156c15aabd" args="(const FPoint3 &p, const FPoint3 &n)" -->void </td><td class="memItemRight" valign="bottom"><b>Set</b> (const <a class="el" href="classFPoint3.html">FPoint3</a> &p, const <a class="el" href="classFPoint3.html">FPoint3</a> &n)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="57c07a1530bef0ccf5093a6b58a9f0b5"></a><!-- doxytag: member="FPlane::Set" ref="57c07a1530bef0ccf5093a6b58a9f0b5" args="(float a, float b, float c, float d)" -->void </td><td class="memItemRight" valign="bottom"><b>Set</b> (float a, float b, float c, float d)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8795a257efb216fb023d54c7f0e74065"></a><!-- doxytag: member="FPlane::Distance" ref="8795a257efb216fb023d54c7f0e74065" args="(const FPoint3 &v) const " -->float </td><td class="memItemRight" valign="bottom"><b>Distance</b> (const <a class="el" href="classFPoint3.html">FPoint3</a> &v) const </td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">const IntersectionType </td><td class="memItemRight" valign="bottom"><a class="el" href="classFPlane.html#1d296e34141aa663240980002ec977c7">Intersection</a> (const <a class="el" href="classFPlane.html">FPlane</a> &Plane, <a class="el" href="classFPoint3.html">FPoint3</a> &Origin, <a class="el" href="classFPoint3.html">FPoint3</a> &Direction, float fEpsilon=0.0) const </td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Intersection of two planes. <a href="#1d296e34141aa663240980002ec977c7"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">const IntersectionType </td><td class="memItemRight" valign="bottom"><a class="el" href="classFPlane.html#3fd3b128e6fb1c51d3b8505c01d7ff1e">RayIntersection</a> (const <a class="el" href="classFPoint3.html">FPoint3</a> &Origin, const <a class="el" href="classFPoint3.html">FPoint3</a> &Direction, float &fDistance, <a class="el" href="classFPoint3.html">FPoint3</a> &Intersection, float fEpsilon=0.0) const </td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Intersection of ray with plane. <a href="#3fd3b128e6fb1c51d3b8505c01d7ff1e"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6e7d55665c6011d5b712bb16aa6adba7"></a><!-- doxytag: member="FPlane::LineIntersection" ref="6e7d55665c6011d5b712bb16aa6adba7" args="(const FPoint3 &Origin, const FPoint3 &Direction, FPoint3 &Intersection, float fEpsilon=0.0) const " -->const IntersectionType </td><td class="memItemRight" valign="bottom"><a class="el" href="classFPlane.html#6e7d55665c6011d5b712bb16aa6adba7">LineIntersection</a> (const <a class="el" href="classFPoint3.html">FPoint3</a> &Origin, const <a class="el" href="classFPoint3.html">FPoint3</a> &Direction, <a class="el" href="classFPoint3.html">FPoint3</a> &Intersection, float fEpsilon=0.0) const </td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Intersection of line with plane. <br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f75d6a8b9ec0d8c559888615ad0ab6c7"></a><!-- doxytag: member="FPlane::ThreePlanesIntersection" ref="f75d6a8b9ec0d8c559888615ad0ab6c7" args="(const FPlane &Plane1, const FPlane &Plane2, FPoint3 &Intersection, float fEpsilon=0.0) const " -->const IntersectionType </td><td class="memItemRight" valign="bottom"><a class="el" href="classFPlane.html#f75d6a8b9ec0d8c559888615ad0ab6c7">ThreePlanesIntersection</a> (const <a class="el" href="classFPlane.html">FPlane</a> &Plane1, const <a class="el" href="classFPlane.html">FPlane</a> &Plane2, <a class="el" href="classFPoint3.html">FPoint3</a> &Intersection, float fEpsilon=0.0) const </td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Intersection of three planes. <br></td></tr><tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f1290186a5d0b1ceab27f4e77c0c5d68"></a><!-- doxytag: member="FPlane::w" ref="f1290186a5d0b1ceab27f4e77c0c5d68" args="" -->float </td><td class="memItemRight" valign="bottom"><b>w</b></td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2>A class representing an infinite plane, interface single-precision (float). <p><hr><h2>Member Function Documentation</h2><a class="anchor" name="1d296e34141aa663240980002ec977c7"></a><!-- doxytag: member="FPlane::Intersection" ref="1d296e34141aa663240980002ec977c7" args="(const FPlane &Plane, FPoint3 &Origin, FPoint3 &Direction, float fEpsilon=0.0) const " --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">const FPlane::IntersectionType FPlane::Intersection </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="classFPlane.html">FPlane</a> & </td> <td class="mdname" nowrap> <em>Plane</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap><a class="el" href="classFPoint3.html">FPoint3</a> & </td> <td class="mdname" nowrap> <em>Origin</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap><a class="el" href="classFPoint3.html">FPoint3</a> & </td> <td class="mdname" nowrap> <em>Direction</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>float </td> <td class="mdname" nowrap> <em>fEpsilon</em> = <code>0.0</code></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"> const</td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Intersection of two planes. <p>Find the intersection of two planes. which in the general case is a line. The line is provided as a ray (origin and direction).<p><dl compact><dt><b>Returns:</b></dt><dd>status, which is either INTERSECTING, COPLANAR, or PARALLEL. In the case of INTERSECTING, then the Origin and Direction parameters describe the line of intersection. </dd></dl> </td> </tr></table><a class="anchor" name="3fd3b128e6fb1c51d3b8505c01d7ff1e"></a><!-- doxytag: member="FPlane::RayIntersection" ref="3fd3b128e6fb1c51d3b8505c01d7ff1e" args="(const FPoint3 &Origin, const FPoint3 &Direction, float &fDistance, FPoint3 &Intersection, float fEpsilon=0.0) const " --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">const FPlane::IntersectionType FPlane::RayIntersection </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="classFPoint3.html">FPoint3</a> & </td> <td class="mdname" nowrap> <em>Origin</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>const <a class="el" href="classFPoint3.html">FPoint3</a> & </td> <td class="mdname" nowrap> <em>Direction</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>float & </td> <td class="mdname" nowrap> <em>fDistance</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap><a class="el" href="classFPoint3.html">FPoint3</a> & </td> <td class="mdname" nowrap> <em>Intersection</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>float </td> <td class="mdname" nowrap> <em>fEpsilon</em> = <code>0.0</code></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"> const</td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Intersection of ray with plane. <p>Compute Ray-Plane intersection.<p><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>Origin,Direction</em> </td><td>The position and direction that define the ray. </td></tr> <tr><td valign="top"></td><td valign="top"><em>fDistance</em> </td><td>The distance along the ray to the intersection point. </td></tr> <tr><td valign="top"></td><td valign="top"><em>Intersection</em> </td><td>The intersection point. </td></tr> <tr><td valign="top"></td><td valign="top"><em>fEpsilon</em> </td><td>Small value to test for numeric equivalenccy.</td></tr> </table></dl><dl compact><dt><b>Returns:</b></dt><dd>The intersection result (PARALLEL, FACING_AWAY, or INTERSECTING) </dd></dl> </td> </tr></table><hr size="1"><address style="align: right;"><small>Generated on Mon Jan 14 14:40:55 2008 for vtdata library by <a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.5 </small></address></body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?