<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>Irrlicht Engine: irr::scene::SVertexColorThresholdManipulator Class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <table class="irrlicht" > <tr valign="middle"> <td><font size="2"><a class="qindex" href="index.html"><font color="#FFFFFF">Home</font></a> | <a class="qindex" href="namespaces.html"><font color="#FFFFFF">Namespaces</font></a> | <a class="qindex" href="hierarchy.html"><font color="#FFFFFF">Hierarchy</font></a> | <a class="qindex" href="classes.html"><font color="#FFFFFF">Alphabetical List</font></a> | <a class="qindex" href="annotated.html"><font color="#FFFFFF"> Class list</font></a> | <a class="qindex" href="files.html"><font color="#FFFFFF">Files</font></a> | <a class="qindex" href="namespacemembers.html"><font color="#FFFFFF"> Namespace Members</font></a> | <a class="qindex" href="functions.html"><font color="#FFFFFF">Class members</font></a> | <a class="qindex" href="globals.html"><font color="#FFFFFF">File members</font></a> | <a class="qindex" href="pages.html"><font color="#FFFFFF">Tutorials</font></a></font> </td> </tr> </table> <!-- Generated by Doxygen 1.6.2 --> <div class="navpath"><a class="el" href="namespaceirr.html">irr</a>::<a class="el" href="namespaceirr_1_1scene.html">scene</a>::<a class="el" href="classirr_1_1scene_1_1_s_vertex_color_threshold_manipulator.html">SVertexColorThresholdManipulator</a> </div> <div class="contents"> <h1>irr::scene::SVertexColorThresholdManipulator Class Reference</h1><!-- doxytag: class="irr::scene::SVertexColorThresholdManipulator" --><!-- doxytag: inherits="irr::scene::IVertexManipulator" --> <p>Vertex manipulator to set vertex color to one of two values depending on a given threshold. <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="_s_vertex_manipulator_8h_source.html">SVertexManipulator.h</a>></code></p> <div class="dynheader"> Inheritance diagram for irr::scene::SVertexColorThresholdManipulator:</div> <div class="dynsection"> <div class="center"> <img src="classirr_1_1scene_1_1_s_vertex_color_threshold_manipulator.png" usemap="#irr::scene::SVertexColorThresholdManipulator_map" alt=""/> <map id="irr::scene::SVertexColorThresholdManipulator_map" name="irr::scene::SVertexColorThresholdManipulator_map"> <area href="structirr_1_1scene_1_1_i_vertex_manipulator.html" alt="irr::scene::IVertexManipulator" shape="rect" coords="0,0,270,24"/> </map> </div> </div> <p><a href="classirr_1_1scene_1_1_s_vertex_color_threshold_manipulator-members.html">List of all members.</a></p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1scene_1_1_s_vertex_color_threshold_manipulator.html#a22a91ea06c4fbd08d3ce8541e83a6e04">operator()</a> (<a class="el" href="structirr_1_1video_1_1_s3_d_vertex.html">video::S3DVertex</a> &vertex) const </td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classirr_1_1scene_1_1_s_vertex_color_threshold_manipulator.html#a92efbb5c92b31b93c54e4a2d4404d756">SVertexColorThresholdManipulator</a> (<a class="el" href="namespaceirr.html#a646874f69af8ff87fc10201b0254a761">u8</a> threshold, <a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a> low, <a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a> high)</td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>Vertex manipulator to set vertex color to one of two values depending on a given threshold. </p> <p>If average of the color value is >Threshold the High color is chosen, else Low. </p> <p>Definition at line <a class="el" href="_s_vertex_manipulator_8h_source.html#l00063">63</a> of file <a class="el" href="_s_vertex_manipulator_8h_source.html">SVertexManipulator.h</a>.</p> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a92efbb5c92b31b93c54e4a2d4404d756"></a><!-- doxytag: member="irr::scene::SVertexColorThresholdManipulator::SVertexColorThresholdManipulator" ref="a92efbb5c92b31b93c54e4a2d4404d756" args="(u8 threshold, video::SColor low, video::SColor high)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">irr::scene::SVertexColorThresholdManipulator::SVertexColorThresholdManipulator </td> <td>(</td> <td class="paramtype"><a class="el" href="namespaceirr.html#a646874f69af8ff87fc10201b0254a761">u8</a> </td> <td class="paramname"> <em>threshold</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a> </td> <td class="paramname"> <em>low</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a> </td> <td class="paramname"> <em>high</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="_s_vertex_manipulator_8h_source.html#l00066">66</a> of file <a class="el" href="_s_vertex_manipulator_8h_source.html">SVertexManipulator.h</a>.</p> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a22a91ea06c4fbd08d3ce8541e83a6e04"></a><!-- doxytag: member="irr::scene::SVertexColorThresholdManipulator::operator()" ref="a22a91ea06c4fbd08d3ce8541e83a6e04" args="(video::S3DVertex &vertex) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void irr::scene::SVertexColorThresholdManipulator::operator() </td> <td>(</td> <td class="paramtype"><a class="el" href="structirr_1_1video_1_1_s3_d_vertex.html">video::S3DVertex</a> & </td> <td class="paramname"> <em>vertex</em></td> <td> ) </td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Definition at line <a class="el" href="_s_vertex_manipulator_8h_source.html#l00068">68</a> of file <a class="el" href="_s_vertex_manipulator_8h_source.html">SVertexManipulator.h</a>.</p> <p>References <a class="el" href="_s3_d_vertex_8h_source.html#l00063">irr::video::S3DVertex::Color</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="_s_vertex_manipulator_8h_source.html">SVertexManipulator.h</a></li> </ul> </div> <hr size="1"> <address style="align: right;"> <small> </small> </address> <table width="100%" border="0" cellspacing="0" cellpadding="2"> <tr> <td width="0"> <div align="left"><small><a href="http://irrlicht.sourceforge.net" target="_blank"><img src="irrlicht.png" alt="The Irrlicht Engine" align="middle" border=0 width=88 height=31></a></small></div></td> <td> <div align="left"><small><em><font size="2">The <a href="http://irrlicht.sourceforge.net" target="_blank">Irrlicht Engine</a> Documentation © 2003-2010 by Nikolaus Gebhardt. Generated on Sun Oct 24 12:42:09 2010 by <a href="http://www.doxygen.org" target="_blank">Doxygen</a> (1.6.2)</font></em></small></div></td> </tr> </table> <address style="align: right;"> </address> </body> </html>