<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>VTK: dox/Graphics/vtkMeshQuality.h Source File</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.5.6 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li><a href="classes.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <h1>dox/Graphics/vtkMeshQuality.h</h1><a href="a02600.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*=========================================================================</span> <a name="l00002"></a>00002 <span class="comment"></span> <a name="l00003"></a>00003 <span class="comment"> Program: Visualization Toolkit</span> <a name="l00004"></a>00004 <span class="comment"> Module: $RCSfile: vtkMeshQuality.h,v $</span> <a name="l00005"></a>00005 <span class="comment"> Language: C++</span> <a name="l00006"></a>00006 <span class="comment"></span> <a name="l00007"></a>00007 <span class="comment"> Copyright 2003-2006 Sandia Corporation.</span> <a name="l00008"></a>00008 <span class="comment"> Under the terms of Contract DE-AC04-94AL85000, there is a non-exclusive</span> <a name="l00009"></a>00009 <span class="comment"> license for use of this work by or on behalf of the</span> <a name="l00010"></a>00010 <span class="comment"> U.S. Government. Redistribution and use in source and binary forms, with</span> <a name="l00011"></a>00011 <span class="comment"> or without modification, are permitted provided that this Notice and any</span> <a name="l00012"></a>00012 <span class="comment"> statement of authorship are reproduced on all copies.</span> <a name="l00013"></a>00013 <span class="comment"></span> <a name="l00014"></a>00014 <span class="comment"> Contact: dcthomp@sandia.gov,pppebay@sandia.gov</span> <a name="l00015"></a>00015 <span class="comment"></span> <a name="l00016"></a>00016 <span class="comment">=========================================================================*/</span> <a name="l00067"></a>00067 <span class="preprocessor">#ifndef __vtkMeshQuality_h</span> <a name="l00068"></a>00068 <span class="preprocessor"></span><span class="preprocessor">#define __vtkMeshQuality_h</span> <a name="l00069"></a>00069 <span class="preprocessor"></span> <a name="l00070"></a>00070 <span class="preprocessor">#include "<a class="code" href="a02227.html">vtkDataSetAlgorithm.h</a>"</span> <a name="l00071"></a>00071 <a name="l00072"></a>00072 <span class="keyword">class </span><a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>; <a name="l00073"></a>00073 <span class="keyword">class </span><a class="code" href="a00356.html" title="abstract superclass for arrays of numeric data">vtkDataArray</a>; <a name="l00074"></a>00074 <a name="l00075"></a><a class="code" href="a02600.html#80485c87bc67b733e2b6036c022168df">00075</a> <span class="preprocessor">#define VTK_QUALITY_EDGE_RATIO 0</span> <a name="l00076"></a><a class="code" href="a02600.html#e14ad68cfee62c6f428e590a85517c98">00076</a> <span class="preprocessor"></span><span class="preprocessor">#define VTK_QUALITY_ASPECT_RATIO 1</span> <a name="l00077"></a><a class="code" href="a02600.html#9788c223c5d61659156890298ef460ff">00077</a> <span class="preprocessor"></span><span class="preprocessor">#define VTK_QUALITY_RADIUS_RATIO 2</span> <a name="l00078"></a><a class="code" href="a02600.html#ed90ad4609ddedfee294cfd9fdb8a6f7">00078</a> <span class="preprocessor"></span><span class="preprocessor">#define VTK_QUALITY_ASPECT_FROBENIUS 3</span> <a name="l00079"></a><a class="code" href="a02600.html#ad090e05197b06b87d8bf2f9eb935768">00079</a> <span class="preprocessor"></span><span class="preprocessor">#define VTK_QUALITY_MED_ASPECT_FROBENIUS 4</span> <a name="l00080"></a><a class="code" href="a02600.html#249c6a11a7e0e58d02f56a54c2bb3d75">00080</a> <span class="preprocessor"></span><span class="preprocessor">#define VTK_QUALITY_MAX_ASPECT_FROBENIUS 5</span> <a name="l00081"></a><a class="code" href="a02600.html#1e637423e948a1aa162220450cbc1d57">00081</a> <span class="preprocessor"></span><span class="preprocessor">#define VTK_QUALITY_MIN_ANGLE 6</span> <a name="l00082"></a><a class="code" href="a02600.html#c6786ebbd2cff2151a64af7243e52c94">00082</a> <span class="preprocessor"></span><span class="preprocessor">#define VTK_QUALITY_COLLAPSE_RATIO 7</span> <a name="l00083"></a><a class="code" href="a02600.html#14db5f7032552198d61e490e38b08420">00083</a> <span class="preprocessor"></span><span class="preprocessor">#define VTK_QUALITY_MAX_ANGLE 8</span> <a name="l00084"></a><a class="code" href="a02600.html#be124fac239a3a3e35f45e19080ae71b">00084</a> <span class="preprocessor"></span><span class="preprocessor">#define VTK_QUALITY_CONDITION 9</span> <a name="l00085"></a><a class="code" href="a02600.html#c45dfd5d1b546f866bdc4a69a1c91e99">00085</a> <span class="preprocessor"></span><span class="preprocessor">#define VTK_QUALITY_SCALED_JACOBIAN 10</span> <a name="l00086"></a><a class="code" href="a02600.html#73206e4df3edcd2f926d8d1648ea7019">00086</a> <span class="preprocessor"></span><span class="preprocessor">#define VTK_QUALITY_SHEAR 11</span> <a name="l00087"></a><a class="code" href="a02600.html#2fa0f5e2a7e5231052f55fd4d61cd212">00087</a> <span class="preprocessor"></span><span class="preprocessor">#define VTK_QUALITY_RELATIVE_SIZE_SQUARED 12</span> <a name="l00088"></a><a class="code" href="a02600.html#902b2be8f0444888d3d0ee05ae7ee210">00088</a> <span class="preprocessor"></span><span class="preprocessor">#define VTK_QUALITY_SHAPE 13</span> <a name="l00089"></a><a class="code" href="a02600.html#0a10651adca073edab6e07ff223fc21d">00089</a> <span class="preprocessor"></span><span class="preprocessor">#define VTK_QUALITY_SHAPE_AND_SIZE 14</span> <a name="l00090"></a><a class="code" href="a02600.html#829c0d1822570098d19645c470539016">00090</a> <span class="preprocessor"></span><span class="preprocessor">#define VTK_QUALITY_DISTORTION 15</span> <a name="l00091"></a><a class="code" href="a02600.html#dd290fb998b2b77ce439a88ea4673abb">00091</a> <span class="preprocessor"></span><span class="preprocessor">#define VTK_QUALITY_MAX_EDGE_RATIO 16</span> <a name="l00092"></a><a class="code" href="a02600.html#e64538531852e8b3e56b36fd6d17f92c">00092</a> <span class="preprocessor"></span><span class="preprocessor">#define VTK_QUALITY_SKEW 17</span> <a name="l00093"></a><a class="code" href="a02600.html#c7e1e0f60a1cf9b60efe576a33869dd4">00093</a> <span class="preprocessor"></span><span class="preprocessor">#define VTK_QUALITY_TAPER 18</span> <a name="l00094"></a><a class="code" href="a02600.html#781ac95050e9df23266d0c34ebe8bf85">00094</a> <span class="preprocessor"></span><span class="preprocessor">#define VTK_QUALITY_VOLUME 19</span> <a name="l00095"></a><a class="code" href="a02600.html#13ea1c39cc1f2886f752987285690179">00095</a> <span class="preprocessor"></span><span class="preprocessor">#define VTK_QUALITY_STRETCH 20</span> <a name="l00096"></a><a class="code" href="a02600.html#bef429895d8e8a3a362f053ed7695be8">00096</a> <span class="preprocessor"></span><span class="preprocessor">#define VTK_QUALITY_DIAGONAL 21</span> <a name="l00097"></a><a class="code" href="a02600.html#c87db03bb289af6a646d6381fb6b3e92">00097</a> <span class="preprocessor"></span><span class="preprocessor">#define VTK_QUALITY_DIMENSION 22</span> <a name="l00098"></a><a class="code" href="a02600.html#c210b94d3eb63f546f63f40b3bc42489">00098</a> <span class="preprocessor"></span><span class="preprocessor">#define VTK_QUALITY_ODDY 23</span> <a name="l00099"></a><a class="code" href="a02600.html#2f046c0ebd64a057df671ca762b49962">00099</a> <span class="preprocessor"></span><span class="preprocessor">#define VTK_QUALITY_SHEAR_AND_SIZE 24</span> <a name="l00100"></a><a class="code" href="a02600.html#458d529ea00e91a0d3b0bb6838e5f7e7">00100</a> <span class="preprocessor"></span><span class="preprocessor">#define VTK_QUALITY_JACOBIAN 25</span> <a name="l00101"></a><a class="code" href="a02600.html#9648bae63555148a1e818fca36a3ebb5">00101</a> <span class="preprocessor"></span><span class="preprocessor">#define VTK_QUALITY_WARPAGE 26</span> <a name="l00102"></a><a class="code" href="a02600.html#760f069fffc112eed0847e865a5f2683">00102</a> <span class="preprocessor"></span><span class="preprocessor">#define VTK_QUALITY_ASPECT_GAMMA 27</span> <a name="l00103"></a><a class="code" href="a02600.html#09e1db0b144706258fdf10396b395d7c">00103</a> <span class="preprocessor"></span><span class="preprocessor">#define VTK_QUALITY_AREA 28</span> <a name="l00104"></a><a class="code" href="a02600.html#d331c09836e8ec31cf97caf277b15c06">00104</a> <span class="preprocessor"></span><span class="preprocessor">#define VTK_QUALITY_ASPECT_BETA 29</span> <a name="l00105"></a>00105 <span class="preprocessor"></span> <a name="l00106"></a><a class="code" href="a01037.html">00106</a> <span class="keyword">class </span><a class="code" href="a02170.html#c3c1ffe2fe47b9b70ba90182b7860cce">VTK_GRAPHICS_EXPORT</a> <a class="code" href="a01037.html" title="Calculate functions of quality of the elements.">vtkMeshQuality</a> : <span class="keyword">public</span> <a class="code" href="a00375.html" title="Superclass for algorithms that produce output of the same type as input.">vtkDataSetAlgorithm</a> <a name="l00107"></a>00107 { <a name="l00108"></a>00108 <span class="keyword">public</span>: <a name="l00109"></a>00109 <span class="keywordtype">void</span> <a class="code" href="a00375.html#399bf1def01568753e290f9cc45d7985">PrintSelf</a>(ostream& os, <a class="code" href="a00869.html" title="a simple class to control print indentation">vtkIndent</a> indent); <a name="l00110"></a><a class="code" href="a01037.html#9766c67658f4bb1a52ccbe718d4b1249">00110</a> vtkTypeRevisionMacro(<a class="code" href="a01037.html" title="Calculate functions of quality of the elements.">vtkMeshQuality</a>,<a class="code" href="a00375.html" title="Superclass for algorithms that produce output of the same type as input.">vtkDataSetAlgorithm</a>); <a name="l00111"></a>00111 <span class="keyword">static</span> <a class="code" href="a01037.html" title="Calculate functions of quality of the elements.">vtkMeshQuality</a>* <a class="code" href="a00375.html#366c8a9b4e61249c93fd2f7a492de9cb">New</a>(); <a name="l00112"></a>00112 <a name="l00114"></a>00114 <a name="l00117"></a>00117 vtkSetMacro(SaveCellQuality,<span class="keywordtype">int</span>); <a name="l00118"></a>00118 vtkGetMacro(SaveCellQuality,<span class="keywordtype">int</span>); <a name="l00119"></a>00119 vtkBooleanMacro(SaveCellQuality,<span class="keywordtype">int</span>); <a name="l00121"></a>00121 <a name="l00123"></a>00123 <a name="l00131"></a>00131 vtkSetMacro(TriangleQualityMeasure,<span class="keywordtype">int</span>); <a name="l00132"></a>00132 vtkGetMacro(TriangleQualityMeasure,<span class="keywordtype">int</span>); <a name="l00133"></a><a class="code" href="a01037.html#085b8ba777d9cea38b5ca2d38466c7a3">00133</a> <span class="keywordtype">void</span> SetTriangleQualityMeasureToArea() <a name="l00134"></a>00134 { <a name="l00135"></a>00135 this->SetTriangleQualityMeasure( <a class="code" href="a02600.html#09e1db0b144706258fdf10396b395d7c">VTK_QUALITY_AREA</a> ); <a name="l00136"></a>00136 } <a name="l00137"></a><a class="code" href="a01037.html#eb1fa35ce5e4a81ab30cd82febb273dc">00137</a> <span class="keywordtype">void</span> SetTriangleQualityMeasureToEdgeRatio() <a name="l00138"></a>00138 { <a name="l00139"></a>00139 this->SetTriangleQualityMeasure( <a class="code" href="a02600.html#80485c87bc67b733e2b6036c022168df">VTK_QUALITY_EDGE_RATIO</a> ); <a name="l00140"></a>00140 } <a name="l00141"></a><a class="code" href="a01037.html#5479f91198aa7e56ac67318ebac50f0d">00141</a> <span class="keywordtype">void</span> SetTriangleQualityMeasureToAspectRatio() <a name="l00142"></a>00142 { <a name="l00143"></a>00143 this->SetTriangleQualityMeasure( <a class="code" href="a02600.html#e14ad68cfee62c6f428e590a85517c98">VTK_QUALITY_ASPECT_RATIO</a> ); <a name="l00144"></a>00144 } <a name="l00145"></a><a class="code" href="a01037.html#1d1260c12524a14ec9f55ce653c6d4ff">00145</a> <span class="keywordtype">void</span> SetTriangleQualityMeasureToRadiusRatio() <a name="l00146"></a>00146 { <a name="l00147"></a>00147 this->SetTriangleQualityMeasure( <a class="code" href="a02600.html#9788c223c5d61659156890298ef460ff">VTK_QUALITY_RADIUS_RATIO</a> ); <a name="l00148"></a>00148 } <a name="l00149"></a><a class="code" href="a01037.html#a314dad20471f39b52f145a889a62985">00149</a> <span class="keywordtype">void</span> SetTriangleQualityMeasureToAspectFrobenius() <a name="l00150"></a>00150 { <a name="l00151"></a>00151 this->SetTriangleQualityMeasure( <a class="code" href="a02600.html#ed90ad4609ddedfee294cfd9fdb8a6f7">VTK_QUALITY_ASPECT_FROBENIUS</a> ); <a name="l00152"></a>00152 } <a name="l00153"></a><a class="code" href="a01037.html#f68d8ea1f6dc30bb1e0c4df5f9922032">00153</a> <span class="keywordtype">void</span> SetTriangleQualityMeasureToMinAngle() <a name="l00154"></a>00154 { <a name="l00155"></a>00155 this->SetTriangleQualityMeasure( <a class="code" href="a02600.html#1e637423e948a1aa162220450cbc1d57">VTK_QUALITY_MIN_ANGLE</a> ); <a name="l00156"></a>00156 } <a name="l00157"></a><a class="code" href="a01037.html#b884488f0fe0c682eb7c9810626d92ce">00157</a> <span class="keywordtype">void</span> SetTriangleQualityMeasureToMaxAngle() <a name="l00158"></a>00158 { <a name="l00159"></a>00159 this->SetTriangleQualityMeasure( <a class="code" href="a02600.html#14db5f7032552198d61e490e38b08420">VTK_QUALITY_MAX_ANGLE</a> ); <a name="l00160"></a>00160 } <a name="l00161"></a><a class="code" href="a01037.html#91830cc49cf8bd2261cc6e8a2a823101">00161</a> <span class="keywordtype">void</span> SetTriangleQualityMeasureToCondition() <a name="l00162"></a>00162 { <a name="l00163"></a>00163 this->SetTriangleQualityMeasure( <a class="code" href="a02600.html#be124fac239a3a3e35f45e19080ae71b">VTK_QUALITY_CONDITION</a> ); <a name="l00164"></a>00164 } <a name="l00165"></a><a class="code" href="a01037.html#267cf6b83c27fdf39027f66ed6d5c341">00165</a> <span class="keywordtype">void</span> SetTriangleQualityMeasureToScaledJacobian() <a name="l00166"></a>00166 { <a name="l00167"></a>00167 this->SetTriangleQualityMeasure( <a class="code" href="a02600.html#c45dfd5d1b546f866bdc4a69a1c91e99">VTK_QUALITY_SCALED_JACOBIAN</a> ); <a name="l00168"></a>00168 } <a name="l00169"></a><a class="code" href="a01037.html#778bd140486c9628cac35debab42677f">00169</a> <span class="keywordtype">void</span> SetTriangleQualityMeasureToRelativeSizeSquared() <a name="l00170"></a>00170 { <a name="l00171"></a>00171 this->SetTriangleQualityMeasure( <a class="code" href="a02600.html#2fa0f5e2a7e5231052f55fd4d61cd212">VTK_QUALITY_RELATIVE_SIZE_SQUARED</a> ); <a name="l00172"></a>00172 } <a name="l00173"></a><a class="code" href="a01037.html#eacbd95fc2d787cf4914228d265a649d">00173</a> <span class="keywordtype">void</span> SetTriangleQualityMeasureToShape() <a name="l00174"></a>00174 { <a name="l00175"></a>00175 this->SetTriangleQualityMeasure( <a class="code" href="a02600.html#902b2be8f0444888d3d0ee05ae7ee210">VTK_QUALITY_SHAPE</a> ); <a name="l00176"></a>00176 } <a name="l00177"></a><a class="code" href="a01037.html#98d14d312a2f2c311c3e7d2a2e0a293b">00177</a> <span class="keywordtype">void</span> SetTriangleQualityMeasureToShapeAndSize() <a name="l00178"></a>00178 { <a name="l00179"></a>00179 this->SetTriangleQualityMeasure( <a class="code" href="a02600.html#0a10651adca073edab6e07ff223fc21d">VTK_QUALITY_SHAPE_AND_SIZE</a> ); <a name="l00180"></a>00180 } <a name="l00181"></a><a class="code" href="a01037.html#f6747607b3cda415a49db98e99b3abbb">00181</a> <span class="keywordtype">void</span> SetTriangleQualityMeasureToDistortion() <a name="l00182"></a>00182 { <a name="l00183"></a>00183 this->SetTriangleQualityMeasure( <a class="code" href="a02600.html#829c0d1822570098d19645c470539016">VTK_QUALITY_DISTORTION</a> ); <a name="l00184"></a>00184 } <a name="l00186"></a>00186 <a name="l00188"></a>00188 <a name="l00202"></a>00202 vtkSetMacro(QuadQualityMeasure,<span class="keywordtype">int</span>); <a name="l00203"></a>00203 vtkGetMacro(QuadQualityMeasure,<span class="keywordtype">int</span>); <a name="l00204"></a><a class="code" href="a01037.html#7a7c4e14308906e4f2b0fd94e870c32e">00204</a> <span class="keywordtype">void</span> SetQuadQualityMeasureToEdgeRatio() <a name="l00205"></a>00205 { <a name="l00206"></a>00206 this->SetQuadQualityMeasure( <a class="code" href="a02600.html#80485c87bc67b733e2b6036c022168df">VTK_QUALITY_EDGE_RATIO</a> ); <a name="l00207"></a>00207 } <a name="l00208"></a><a class="code" href="a01037.html#3e8eba3d868fcace6f9a83aa4ef9e6d9">00208</a> <span class="keywordtype">void</span> SetQuadQualityMeasureToAspectRatio() <a name="l00209"></a>00209 { <a name="l00210"></a>00210 this->SetQuadQualityMeasure( <a class="code" href="a02600.html#e14ad68cfee62c6f428e590a85517c98">VTK_QUALITY_ASPECT_RATIO</a> ); <a name="l00211"></a>00211 } <a name="l00212"></a><a class="code" href="a01037.html#7f19717f59dcb8dd26a3624955390b16">00212</a> <span class="keywordtype">void</span> SetQuadQualityMeasureToRadiusRatio() <a name="l00213"></a>00213 { <a name="l00214"></a>00214 this->SetQuadQualityMeasure( <a class="code" href="a02600.html#9788c223c5d61659156890298ef460ff">VTK_QUALITY_RADIUS_RATIO</a> ); <a name="l00215"></a>00215 } <a name="l00216"></a><a class="code" href="a01037.html#8b3e4a6fdd395da9a0e02fb5e938e947">00216</a> <span class="keywordtype">void</span> SetQuadQualityMeasureToMedAspectFrobenius() <a name="l00217"></a>00217 { <a name="l00218"></a>00218 this->SetQuadQualityMeasure( <a class="code" href="a02600.html#ad090e05197b06b87d8bf2f9eb935768">VTK_QUALITY_MED_ASPECT_FROBENIUS</a> ); <a name="l00219"></a>00219 } <a name="l00220"></a><a class="code" href="a01037.html#2c6b8f681e01425911f77441145550dd">00220</a> <span class="keywordtype">void</span> SetQuadQualityMeasureToMaxAspectFrobenius() <a name="l00221"></a>00221 { <a name="l00222"></a>00222 this->SetQuadQualityMeasure( <a class="code" href="a02600.html#249c6a11a7e0e58d02f56a54c2bb3d75">VTK_QUALITY_MAX_ASPECT_FROBENIUS</a> ); <a name="l00223"></a>00223 } <a name="l00224"></a><a class="code" href="a01037.html#c270d58126b9cbaf331bac2ddface3de">00224</a> <span class="keywordtype">void</span> SetQuadQualityMeasureToMaxEdgeRatios() <a name="l00225"></a>00225 { <a name="l00226"></a>00226 this->SetQuadQualityMeasure( <a class="code" href="a02600.html#dd290fb998b2b77ce439a88ea4673abb">VTK_QUALITY_MAX_EDGE_RATIO</a> ); <a name="l00227"></a>00227 } <a name="l00228"></a><a class="code" href="a01037.html#009742844022e12da304edff576097e8">00228</a> <span class="keywordtype">void</span> SetQuadQualityMeasureToSkew() <a name="l00229"></a>00229 { <a name="l00230"></a>00230 this->SetQuadQualityMeasure( <a class="code" href="a02600.html#e64538531852e8b3e56b36fd6d17f92c">VTK_QUALITY_SKEW</a> ); <a name="l00231"></a>00231 } <a name="l00232"></a><a class="code" href="a01037.html#7505afd2da36b44a7096fdedd3fa82d6">00232</a> <span class="keywordtype">void</span> SetQuadQualityMeasureToTaper() <a name="l00233"></a>00233 { <a name="l00234"></a>00234 this->SetQuadQualityMeasure( <a class="code" href="a02600.html#c7e1e0f60a1cf9b60efe576a33869dd4">VTK_QUALITY_TAPER</a> ); <a name="l00235"></a>00235 } <a name="l00236"></a><a class="code" href="a01037.html#b4008f3815b93a3cd497a029f84c2b9d">00236</a> <span class="keywordtype">void</span> SetQuadQualityMeasureToWarpage() <a name="l00237"></a>00237 { <a name="l00238"></a>00238 this->SetQuadQualityMeasure( <a class="code" href="a02600.html#9648bae63555148a1e818fca36a3ebb5">VTK_QUALITY_WARPAGE</a> ); <a name="l00239"></a>00239 } <a name="l00240"></a><a class="code" href="a01037.html#b32615c791c79f22b9e87e66dc038cf8">00240</a> <span class="keywordtype">void</span> SetQuadQualityMeasureToArea() <a name="l00241"></a>00241 { <a name="l00242"></a>00242 this->SetQuadQualityMeasure( <a class="code" href="a02600.html#09e1db0b144706258fdf10396b395d7c">VTK_QUALITY_AREA</a> ); <a name="l00243"></a>00243 } <a name="l00244"></a><a class="code" href="a01037.html#f6fb69fe4a17fe06895fbe6f880d139a">00244</a> <span class="keywordtype">void</span> SetQuadQualityMeasureToStretch() <a name="l00245"></a>00245 { <a name="l00246"></a>00246 this->SetQuadQualityMeasure( <a class="code" href="a02600.html#13ea1c39cc1f2886f752987285690179">VTK_QUALITY_STRETCH</a> ); <a name="l00247"></a>00247 } <a name="l00248"></a><a class="code" href="a01037.html#e4e1b5856bb069fc5e27eeeae308f114">00248</a> <span class="keywordtype">void</span> SetQuadQualityMeasureToMinAngle() <a name="l00249"></a>00249 { <a name="l00250"></a>00250 this->SetQuadQualityMeasure( <a class="code" href="a02600.html#1e637423e948a1aa162220450cbc1d57">VTK_QUALITY_MIN_ANGLE</a> ); <a name="l00251"></a>00251 } <a name="l00252"></a><a class="code" href="a01037.html#b988d68702493fa6bfeb772da21c9d84">00252</a> <span class="keywordtype">void</span> SetQuadQualityMeasureToMaxAngle() <a name="l00253"></a>00253 { <a name="l00254"></a>00254 this->SetQuadQualityMeasure( <a class="code" href="a02600.html#14db5f7032552198d61e490e38b08420">VTK_QUALITY_MAX_ANGLE</a> ); <a name="l00255"></a>00255 } <a name="l00256"></a><a class="code" href="a01037.html#d856486891a16e29100c4ce1cba5f9b2">00256</a> <span class="keywordtype">void</span> SetQuadQualityMeasureToOddy() <a name="l00257"></a>00257 { <a name="l00258"></a>00258 this->SetQuadQualityMeasure( <a class="code" href="a02600.html#c210b94d3eb63f546f63f40b3bc42489">VTK_QUALITY_ODDY</a> ); <a name="l00259"></a>00259 } <a name="l00260"></a><a class="code" href="a01037.html#580e678b36a5585383fc5e707db40d8f">00260</a> <span class="keywordtype">void</span> SetQuadQualityMeasureToCondition() <a name="l00261"></a>00261 { <a name="l00262"></a>00262 this->SetQuadQualityMeasure( <a class="code" href="a02600.html#be124fac239a3a3e35f45e19080ae71b">VTK_QUALITY_CONDITION</a> ); <a name="l00263"></a>00263 } <a name="l00264"></a><a class="code" href="a01037.html#88e3526fc54a0a7c4908c4e36b432ee7">00264</a> <span class="keywordtype">void</span> SetQuadQualityMeasureToJacobian() <a name="l00265"></a>00265 { <a name="l00266"></a>00266 this->SetQuadQualityMeasure( <a class="code" href="a02600.html#458d529ea00e91a0d3b0bb6838e5f7e7">VTK_QUALITY_JACOBIAN</a> ); <a name="l00267"></a>00267 } <a name="l00268"></a><a class="code" href="a01037.html#f32d3135578d7025d62dac8babe8a12d">00268</a> <span class="keywordtype">void</span> SetQuadQualityMeasureToScaledJacobian() <a name="l00269"></a>00269 { <a name="l00270"></a>00270 this->SetQuadQualityMeasure( <a class="code" href="a02600.html#c45dfd5d1b546f866bdc4a69a1c91e99">VTK_QUALITY_SCALED_JACOBIAN</a> ); <a name="l00271"></a>00271 } <a name="l00272"></a><a class="code" href="a01037.html#5f59a861c60141e100bdfdeef5120429">00272</a> <span class="keywordtype">void</span> SetQuadQualityMeasureToShear() <a name="l00273"></a>00273 { <a name="l00274"></a>00274 this->SetQuadQualityMeasure( <a class="code" href="a02600.html#73206e4df3edcd2f926d8d1648ea7019">VTK_QUALITY_SHEAR</a> ); <a name="l00275"></a>00275 } <a name="l00276"></a><a class="code" href="a01037.html#999f289e098f07d60601d73a87e9d12e">00276</a> <span class="keywordtype">void</span> SetQuadQualityMeasureToShape() <a name="l00277"></a>00277 { <a name="l00278"></a>00278 this->SetQuadQualityMeasure( <a class="code" href="a02600.html#902b2be8f0444888d3d0ee05ae7ee210">VTK_QUALITY_SHAPE</a> ); <a name="l00279"></a>00279 } <a name="l00280"></a><a class="code" href="a01037.html#2091b3b55fbe232b0e4efbe78ed87a07">00280</a> <span class="keywordtype">void</span> SetQuadQualityMeasureToRelativeSizeSquared() <a name="l00281"></a>00281 { <a name="l00282"></a>00282 this->SetQuadQualityMeasure( <a class="code" href="a02600.html#2fa0f5e2a7e5231052f55fd4d61cd212">VTK_QUALITY_RELATIVE_SIZE_SQUARED</a> ); <a name="l00283"></a>00283 } <a name="l00284"></a><a class="code" href="a01037.html#7fedb7fce94f71aa325bca28a2ef2232">00284</a> <span class="keywordtype">void</span> SetQuadQualityMeasureToShapeAndSize() <a name="l00285"></a>00285 { <a name="l00286"></a>00286 this->SetQuadQualityMeasure( <a class="code" href="a02600.html#0a10651adca073edab6e07ff223fc21d">VTK_QUALITY_SHAPE_AND_SIZE</a> ); <a name="l00287"></a>00287 } <a name="l00288"></a><a class="code" href="a01037.html#827886053e14c572ca981eb22ea1257a">00288</a> <span class="keywordtype">void</span> SetQuadQualityMeasureToShearAndSize() <a name="l00289"></a>00289 { <a name="l00290"></a>00290 this->SetQuadQualityMeasure( <a class="code" href="a02600.html#2f046c0ebd64a057df671ca762b49962">VTK_QUALITY_SHEAR_AND_SIZE</a> ); <a name="l00291"></a>00291 } <a name="l00292"></a><a class="code" href="a01037.html#fe79a32dcbd7ce7bfcdf469f5a032261">00292</a> <span class="keywordtype">void</span> SetQuadQualityMeasureToDistortion() <a name="l00293"></a>00293 { <a name="l00294"></a>00294 this->SetQuadQualityMeasure( <a class="code" href="a02600.html#829c0d1822570098d19645c470539016">VTK_QUALITY_DISTORTION</a> ); <a name="l00295"></a>00295 } <a name="l00297"></a>00297 <a name="l00299"></a>00299 <a name="l00309"></a>00309 vtkSetMacro(TetQualityMeasure,<span class="keywordtype">int</span>); <a name="l00310"></a>00310 vtkGetMacro(TetQualityMeasure,<span class="keywordtype">int</span>); <a name="l00311"></a><a class="code" href="a01037.html#dad13abeb8e2bbe425c60932b4e84ac5">00311</a> <span class="keywordtype">void</span> SetTetQualityMeasureToEdgeRatio() <a name="l00312"></a>00312 { <a name="l00313"></a>00313 this->SetTetQualityMeasure( <a class="code" href="a02600.html#80485c87bc67b733e2b6036c022168df">VTK_QUALITY_EDGE_RATIO</a> ); <a name="l00314"></a>00314 } <a name="l00315"></a><a class="code" href="a01037.html#7750bcd20be680cdaa1745866480346f">00315</a> <span class="keywordtype">void</span> SetTetQualityMeasureToAspectRatio() <a name="l00316"></a>00316 { <a name="l00317"></a>00317 this->SetTetQualityMeasure( <a class="code" href="a02600.html#e14ad68cfee62c6f428e590a85517c98">VTK_QUALITY_ASPECT_RATIO</a> ); <a name="l00318"></a>00318 } <a name="l00319"></a><a class="code" href="a01037.html#c737515e6a8c3e7ad21a95a751322dc1">00319</a> <span class="keywordtype">void</span> SetTetQualityMeasureToRadiusRatio() <a name="l00320"></a>00320 { <a name="l00321"></a>00321 this->SetTetQualityMeasure( <a class="code" href="a02600.html#9788c223c5d61659156890298ef460ff">VTK_QUALITY_RADIUS_RATIO</a> ); <a name="l00322"></a>00322 } <a name="l00323"></a><a class="code" href="a01037.html#946085c52d0d9fd04d5378bfe53b8820">00323</a> <span class="keywordtype">void</span> SetTetQualityMeasureToAspectFrobenius() <a name="l00324"></a>00324 { <a name="l00325"></a>00325 this->SetTetQualityMeasure( <a class="code" href="a02600.html#ed90ad4609ddedfee294cfd9fdb8a6f7">VTK_QUALITY_ASPECT_FROBENIUS</a> ); <a name="l00326"></a>00326 } <a name="l00327"></a><a class="code" href="a01037.html#150349fa028df9071c1d86b5bf74ebe2">00327</a> <span class="keywordtype">void</span> SetTetQualityMeasureToMinAngle() <a name="l00328"></a>00328 { <a name="l00329"></a>00329 this->SetTetQualityMeasure( <a class="code" href="a02600.html#1e637423e948a1aa162220450cbc1d57">VTK_QUALITY_MIN_ANGLE</a> ); <a name="l00330"></a>00330 } <a name="l00331"></a><a class="code" href="a01037.html#b6fb7b869ce66fe37d103043caf1585e">00331</a> <span class="keywordtype">void</span> SetTetQualityMeasureToCollapseRatio() <a name="l00332"></a>00332 { <a name="l00333"></a>00333 this->SetTetQualityMeasure( <a class="code" href="a02600.html#c6786ebbd2cff2151a64af7243e52c94">VTK_QUALITY_COLLAPSE_RATIO</a> ); <a name="l00334"></a>00334 } <a name="l00335"></a><a class="code" href="a01037.html#f92a7aa3b55aaa957c9848be1977d588">00335</a> <span class="keywordtype">void</span> SetTetQualityMeasureToAspectBeta() <a name="l00336"></a>00336 { <a name="l00337"></a>00337 this->SetTetQualityMeasure( <a class="code" href="a02600.html#d331c09836e8ec31cf97caf277b15c06">VTK_QUALITY_ASPECT_BETA</a> ); <a name="l00338"></a>00338 } <a name="l00339"></a><a class="code" href="a01037.html#f26bcf8460aad590b354baae45098e38">00339</a> <span class="keywordtype">void</span> SetTetQualityMeasureToAspectGamma() <a name="l00340"></a>00340 { <a name="l00341"></a>00341 this->SetTetQualityMeasure( <a class="code" href="a02600.html#760f069fffc112eed0847e865a5f2683">VTK_QUALITY_ASPECT_GAMMA</a> ); <a name="l00342"></a>00342 } <a name="l00343"></a><a class="code" href="a01037.html#72866c58824a4df15c7e49e6fad3c3ff">00343</a> <span class="keywordtype">void</span> SetTetQualityMeasureToVolume() <a name="l00344"></a>00344 { <a name="l00345"></a>00345 this->SetTetQualityMeasure( <a class="code" href="a02600.html#781ac95050e9df23266d0c34ebe8bf85">VTK_QUALITY_VOLUME</a> ); <a name="l00346"></a>00346 } <a name="l00347"></a><a class="code" href="a01037.html#d7485c365d61b1d062ab067225ec7ac5">00347</a> <span class="keywordtype">void</span> SetTetQualityMeasureToCondition() <a name="l00348"></a>00348 { <a name="l00349"></a>00349 this->SetTetQualityMeasure( <a class="code" href="a02600.html#be124fac239a3a3e35f45e19080ae71b">VTK_QUALITY_CONDITION</a> ); <a name="l00350"></a>00350 } <a name="l00351"></a><a class="code" href="a01037.html#bfbe39853e541924bd91ca22f1c781cd">00351</a> <span class="keywordtype">void</span> SetTetQualityMeasureToJacobian() <a name="l00352"></a>00352 { <a name="l00353"></a>00353 this->SetTetQualityMeasure( <a class="code" href="a02600.html#458d529ea00e91a0d3b0bb6838e5f7e7">VTK_QUALITY_JACOBIAN</a> ); <a name="l00354"></a>00354 } <a name="l00355"></a><a class="code" href="a01037.html#e4d685626d686f2b5734a2c506b20524">00355</a> <span class="keywordtype">void</span> SetTetQualityMeasureToScaledJacobian() <a name="l00356"></a>00356 { <a name="l00357"></a>00357 this->SetTetQualityMeasure( <a class="code" href="a02600.html#c45dfd5d1b546f866bdc4a69a1c91e99">VTK_QUALITY_SCALED_JACOBIAN</a> ); <a name="l00358"></a>00358 } <a name="l00359"></a><a class="code" href="a01037.html#5c0cc3aa2c1cc3334baba5b1ab36b846">00359</a> <span class="keywordtype">void</span> SetTetQualityMeasureToShape() <a name="l00360"></a>00360 { <a name="l00361"></a>00361 this->SetTetQualityMeasure( <a class="code" href="a02600.html#902b2be8f0444888d3d0ee05ae7ee210">VTK_QUALITY_SHAPE</a> ); <a name="l00362"></a>00362 } <a name="l00363"></a><a class="code" href="a01037.html#a86b9c7cfa5c954917ea4b914a3d9b16">00363</a> <span class="keywordtype">void</span> SetTetQualityMeasureToRelativeSizeSquared() <a name="l00364"></a>00364 { <a name="l00365"></a>00365 this->SetTetQualityMeasure( <a class="code" href="a02600.html#2fa0f5e2a7e5231052f55fd4d61cd212">VTK_QUALITY_RELATIVE_SIZE_SQUARED</a> ); <a name="l00366"></a>00366 } <a name="l00367"></a><a class="code" href="a01037.html#c9a9535a24322e082bef634849f4890b">00367</a> <span class="keywordtype">void</span> SetTetQualityMeasureToShapeAndSize() <a name="l00368"></a>00368 { <a name="l00369"></a>00369 this->SetTetQualityMeasure( <a class="code" href="a02600.html#0a10651adca073edab6e07ff223fc21d">VTK_QUALITY_SHAPE_AND_SIZE</a> ); <a name="l00370"></a>00370 } <a name="l00371"></a><a class="code" href="a01037.html#22d78e3ca4575d919a0a0e410662f771">00371</a> <span class="keywordtype">void</span> SetTetQualityMeasureToDistortion() <a name="l00372"></a>00372 { <a name="l00373"></a>00373 this->SetTetQualityMeasure( <a class="code" href="a02600.html#829c0d1822570098d19645c470539016">VTK_QUALITY_DISTORTION</a> ); <a name="l00374"></a>00374 } <a name="l00376"></a>00376 <a name="l00378"></a>00378 <a name="l00388"></a>00388 vtkSetMacro(HexQualityMeasure,<span class="keywordtype">int</span>); <a name="l00389"></a>00389 vtkGetMacro(HexQualityMeasure,<span class="keywordtype">int</span>); <a name="l00390"></a><a class="code" href="a01037.html#e21723011dc6cf97c753c378f72b5bfc">00390</a> <span class="keywordtype">void</span> SetHexQualityMeasureToEdgeRatio() <a name="l00391"></a>00391 { <a name="l00392"></a>00392 this->SetHexQualityMeasure( <a class="code" href="a02600.html#80485c87bc67b733e2b6036c022168df">VTK_QUALITY_EDGE_RATIO</a> ); <a name="l00393"></a>00393 } <a name="l00394"></a><a class="code" href="a01037.html#222c83e9e696a04232b733251a34b59e">00394</a> <span class="keywordtype">void</span> SetHexQualityMeasureToMedAspectFrobenius() <a name="l00395"></a>00395 { <a name="l00396"></a>00396 this->SetHexQualityMeasure( <a class="code" href="a02600.html#ad090e05197b06b87d8bf2f9eb935768">VTK_QUALITY_MED_ASPECT_FROBENIUS</a> ); <a name="l00397"></a>00397 } <a name="l00398"></a><a class="code" href="a01037.html#324a6335a5490778701c96e1286fefe1">00398</a> <span class="keywordtype">void</span> SetHexQualityMeasureToMaxAspectFrobenius() <a name="l00399"></a>00399 { <a name="l00400"></a>00400 this->SetHexQualityMeasure( <a class="code" href="a02600.html#249c6a11a7e0e58d02f56a54c2bb3d75">VTK_QUALITY_MAX_ASPECT_FROBENIUS</a> ); <a name="l00401"></a>00401 } <a name="l00402"></a><a class="code" href="a01037.html#ccdebffaa4c24ede552a27863722b2d5">00402</a> <span class="keywordtype">void</span> SetHexQualityMeasureToMaxEdgeRatios() <a name="l00403"></a>00403 { <a name="l00404"></a>00404 this->SetHexQualityMeasure( <a class="code" href="a02600.html#dd290fb998b2b77ce439a88ea4673abb">VTK_QUALITY_MAX_EDGE_RATIO</a> ); <a name="l00405"></a>00405 } <a name="l00406"></a><a class="code" href="a01037.html#82644f29156149fcbab6812bac9d4e73">00406</a> <span class="keywordtype">void</span> SetHexQualityMeasureToSkew() <a name="l00407"></a>00407 { <a name="l00408"></a>00408 this->SetHexQualityMeasure( <a class="code" href="a02600.html#e64538531852e8b3e56b36fd6d17f92c">VTK_QUALITY_SKEW</a> ); <a name="l00409"></a>00409 } <a name="l00410"></a><a class="code" href="a01037.html#97ad2c8556d0be154884c5668f7924a8">00410</a> <span class="keywordtype">void</span> SetHexQualityMeasureToTaper() <a name="l00411"></a>00411 { <a name="l00412"></a>00412 this->SetHexQualityMeasure( <a class="code" href="a02600.html#c7e1e0f60a1cf9b60efe576a33869dd4">VTK_QUALITY_TAPER</a> ); <a name="l00413"></a>00413 } <a name="l00414"></a><a class="code" href="a01037.html#ca334bc81a45a66668a7eb7b58803c83">00414</a> <span class="keywordtype">void</span> SetHexQualityMeasureToVolume() <a name="l00415"></a>00415 { <a name="l00416"></a>00416 this->SetHexQualityMeasure( <a class="code" href="a02600.html#781ac95050e9df23266d0c34ebe8bf85">VTK_QUALITY_VOLUME</a> ); <a name="l00417"></a>00417 } <a name="l00418"></a><a class="code" href="a01037.html#55a2869d08d914ec4f31bf1be1e937bc">00418</a> <span class="keywordtype">void</span> SetHexQualityMeasureToStretch() <a name="l00419"></a>00419 { <a name="l00420"></a>00420 this->SetHexQualityMeasure( <a class="code" href="a02600.html#13ea1c39cc1f2886f752987285690179">VTK_QUALITY_STRETCH</a> ); <a name="l00421"></a>00421 } <a name="l00422"></a><a class="code" href="a01037.html#21cd697f3265ca803b9edf367c91bfef">00422</a> <span class="keywordtype">void</span> SetHexQualityMeasureToDiagonal() <a name="l00423"></a>00423 { <a name="l00424"></a>00424 this->SetHexQualityMeasure( <a class="code" href="a02600.html#bef429895d8e8a3a362f053ed7695be8">VTK_QUALITY_DIAGONAL</a> ); <a name="l00425"></a>00425 } <a name="l00426"></a><a class="code" href="a01037.html#67de0a181e276e94f69baf31026ac3df">00426</a> <span class="keywordtype">void</span> SetHexQualityMeasureToDimension() <a name="l00427"></a>00427 { <a name="l00428"></a>00428 this->SetHexQualityMeasure( <a class="code" href="a02600.html#c87db03bb289af6a646d6381fb6b3e92">VTK_QUALITY_DIMENSION</a> ); <a name="l00429"></a>00429 } <a name="l00430"></a><a class="code" href="a01037.html#c8852df1219ef44900e89b17ac8881ff">00430</a> <span class="keywordtype">void</span> SetHexQualityMeasureToOddy() <a name="l00431"></a>00431 { <a name="l00432"></a>00432 this->SetHexQualityMeasure( <a class="code" href="a02600.html#c210b94d3eb63f546f63f40b3bc42489">VTK_QUALITY_ODDY</a> ); <a name="l00433"></a>00433 } <a name="l00434"></a><a class="code" href="a01037.html#6468f0a906434f1f29f412a8ba317fad">00434</a> <span class="keywordtype">void</span> SetHexQualityMeasureToCondition() <a name="l00435"></a>00435 { <a name="l00436"></a>00436 this->SetHexQualityMeasure( <a class="code" href="a02600.html#be124fac239a3a3e35f45e19080ae71b">VTK_QUALITY_CONDITION</a> ); <a name="l00437"></a>00437 } <a name="l00438"></a><a class="code" href="a01037.html#3b138bd350aba999c63a61a6a5c61c9f">00438</a> <span class="keywordtype">void</span> SetHexQualityMeasureToJacobian() <a name="l00439"></a>00439 { <a name="l00440"></a>00440 this->SetHexQualityMeasure( <a class="code" href="a02600.html#458d529ea00e91a0d3b0bb6838e5f7e7">VTK_QUALITY_JACOBIAN</a> ); <a name="l00441"></a>00441 } <a name="l00442"></a><a class="code" href="a01037.html#026bc0fef7bb6bf9e472a0d9af5be0e5">00442</a> <span class="keywordtype">void</span> SetHexQualityMeasureToScaledJacobian() <a name="l00443"></a>00443 { <a name="l00444"></a>00444 this->SetHexQualityMeasure( <a class="code" href="a02600.html#c45dfd5d1b546f866bdc4a69a1c91e99">VTK_QUALITY_SCALED_JACOBIAN</a> ); <a name="l00445"></a>00445 } <a name="l00446"></a><a class="code" href="a01037.html#506980407ec12d9b0d83b5e42fe3bcfc">00446</a> <span class="keywordtype">void</span> SetHexQualityMeasureToShear() <a name="l00447"></a>00447 { <a name="l00448"></a>00448 this->SetHexQualityMeasure( <a class="code" href="a02600.html#73206e4df3edcd2f926d8d1648ea7019">VTK_QUALITY_SHEAR</a> ); <a name="l00449"></a>00449 } <a name="l00450"></a><a class="code" href="a01037.html#3c8bf0740e0279da567d0bd16329fa2a">00450</a> <span class="keywordtype">void</span> SetHexQualityMeasureToShape() <a name="l00451"></a>00451 { <a name="l00452"></a>00452 this->SetHexQualityMeasure( <a class="code" href="a02600.html#902b2be8f0444888d3d0ee05ae7ee210">VTK_QUALITY_SHAPE</a> ); <a name="l00453"></a>00453 } <a name="l00454"></a><a class="code" href="a01037.html#7869cb750232e5f9785560fd174368f4">00454</a> <span class="keywordtype">void</span> SetHexQualityMeasureToRelativeSizeSquared() <a name="l00455"></a>00455 { <a name="l00456"></a>00456 this->SetHexQualityMeasure( <a class="code" href="a02600.html#2fa0f5e2a7e5231052f55fd4d61cd212">VTK_QUALITY_RELATIVE_SIZE_SQUARED</a> ); <a name="l00457"></a>00457 } <a name="l00458"></a><a class="code" href="a01037.html#ae6d77ef5e0b8973d03d0c967667d2b3">00458</a> <span class="keywordtype">void</span> SetHexQualityMeasureToShapeAndSize() <a name="l00459"></a>00459 { <a name="l00460"></a>00460 this->SetHexQualityMeasure( <a class="code" href="a02600.html#0a10651adca073edab6e07ff223fc21d">VTK_QUALITY_SHAPE_AND_SIZE</a> ); <a name="l00461"></a>00461 } <a name="l00462"></a><a class="code" href="a01037.html#ac5961819afa52592d42ac831b9af285">00462</a> <span class="keywordtype">void</span> SetHexQualityMeasureToShearAndSize() <a name="l00463"></a>00463 { <a name="l00464"></a>00464 this->SetHexQualityMeasure( <a class="code" href="a02600.html#2f046c0ebd64a057df671ca762b49962">VTK_QUALITY_SHEAR_AND_SIZE</a> ); <a name="l00465"></a>00465 } <a name="l00466"></a><a class="code" href="a01037.html#16721c67e558ebc677e53fd194c8aadd">00466</a> <span class="keywordtype">void</span> SetHexQualityMeasureToDistortion() <a name="l00467"></a>00467 { <a name="l00468"></a>00468 this->SetHexQualityMeasure( <a class="code" href="a02600.html#829c0d1822570098d19645c470539016">VTK_QUALITY_DISTORTION</a> ); <a name="l00469"></a>00469 } <a name="l00471"></a>00471 <a name="l00476"></a>00476 <span class="keyword">static</span> <span class="keywordtype">double</span> TriangleArea( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00477"></a>00477 <a name="l00485"></a>00485 <span class="keyword">static</span> <span class="keywordtype">double</span> TriangleEdgeRatio( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00486"></a>00486 <a name="l00494"></a>00494 <span class="keyword">static</span> <span class="keywordtype">double</span> TriangleAspectRatio( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00495"></a>00495 <a name="l00502"></a>00502 <span class="keyword">static</span> <span class="keywordtype">double</span> TriangleRadiusRatio( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00503"></a>00503 <a name="l00513"></a>00513 <span class="keyword">static</span> <span class="keywordtype">double</span> TriangleAspectFrobenius( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00514"></a>00514 <a name="l00520"></a>00520 <span class="keyword">static</span> <span class="keywordtype">double</span> TriangleMinAngle( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00521"></a>00521 <a name="l00527"></a>00527 <span class="keyword">static</span> <span class="keywordtype">double</span> TriangleMaxAngle( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00528"></a>00528 <a name="l00533"></a>00533 <span class="keyword">static</span> <span class="keywordtype">double</span> TriangleCondition( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00534"></a>00534 <a name="l00539"></a>00539 <span class="keyword">static</span> <span class="keywordtype">double</span> TriangleScaledJacobian( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00540"></a>00540 <a name="l00545"></a>00545 <span class="keyword">static</span> <span class="keywordtype">double</span> TriangleRelativeSizeSquared( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00546"></a>00546 <a name="l00551"></a>00551 <span class="keyword">static</span> <span class="keywordtype">double</span> TriangleShape( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00552"></a>00552 <a name="l00557"></a>00557 <span class="keyword">static</span> <span class="keywordtype">double</span> TriangleShapeAndSize( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00558"></a>00558 <a name="l00563"></a>00563 <span class="keyword">static</span> <span class="keywordtype">double</span> TriangleDistortion( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00564"></a>00564 <a name="l00572"></a>00572 <span class="keyword">static</span> <span class="keywordtype">double</span> QuadEdgeRatio( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00573"></a>00573 <a name="l00583"></a>00583 <span class="keyword">static</span> <span class="keywordtype">double</span> QuadAspectRatio( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00584"></a>00584 <a name="l00598"></a>00598 <span class="keyword">static</span> <span class="keywordtype">double</span> QuadRadiusRatio( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00599"></a>00599 <a name="l00611"></a>00611 <span class="keyword">static</span> <span class="keywordtype">double</span> QuadMedAspectFrobenius( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00612"></a>00612 <a name="l00624"></a>00624 <span class="keyword">static</span> <span class="keywordtype">double</span> QuadMaxAspectFrobenius( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00625"></a>00625 <a name="l00631"></a>00631 <span class="keyword">static</span> <span class="keywordtype">double</span> QuadMinAngle( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00632"></a>00632 <a name="l00633"></a>00633 <span class="keyword">static</span> <span class="keywordtype">double</span> QuadMaxEdgeRatios( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00634"></a>00634 <span class="keyword">static</span> <span class="keywordtype">double</span> QuadSkew( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00635"></a>00635 <span class="keyword">static</span> <span class="keywordtype">double</span> QuadTaper( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00636"></a>00636 <span class="keyword">static</span> <span class="keywordtype">double</span> QuadWarpage( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00637"></a>00637 <span class="keyword">static</span> <span class="keywordtype">double</span> QuadArea( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00638"></a>00638 <span class="keyword">static</span> <span class="keywordtype">double</span> QuadStretch( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00639"></a>00639 <span class="keyword">static</span> <span class="keywordtype">double</span> QuadMaxAngle( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00640"></a>00640 <span class="keyword">static</span> <span class="keywordtype">double</span> QuadOddy( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00641"></a>00641 <span class="keyword">static</span> <span class="keywordtype">double</span> QuadCondition( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00642"></a>00642 <span class="keyword">static</span> <span class="keywordtype">double</span> QuadJacobian( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00643"></a>00643 <span class="keyword">static</span> <span class="keywordtype">double</span> QuadScaledJacobian( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00644"></a>00644 <span class="keyword">static</span> <span class="keywordtype">double</span> QuadShear( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00645"></a>00645 <span class="keyword">static</span> <span class="keywordtype">double</span> QuadShape( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00646"></a>00646 <span class="keyword">static</span> <span class="keywordtype">double</span> QuadRelativeSizeSquared( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00647"></a>00647 <span class="keyword">static</span> <span class="keywordtype">double</span> QuadShapeAndSize( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00648"></a>00648 <span class="keyword">static</span> <span class="keywordtype">double</span> QuadShearAndSize( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00649"></a>00649 <span class="keyword">static</span> <span class="keywordtype">double</span> QuadDistortion( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00650"></a>00650 <a name="l00658"></a>00658 <span class="keyword">static</span> <span class="keywordtype">double</span> TetEdgeRatio( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00659"></a>00659 <a name="l00667"></a>00667 <span class="keyword">static</span> <span class="keywordtype">double</span> TetAspectRatio( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00668"></a>00668 <a name="l00675"></a>00675 <span class="keyword">static</span> <span class="keywordtype">double</span> TetRadiusRatio( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00676"></a>00676 <a name="l00687"></a>00687 <span class="keyword">static</span> <span class="keywordtype">double</span> TetAspectFrobenius( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00688"></a>00688 <a name="l00694"></a>00694 <span class="keyword">static</span> <span class="keywordtype">double</span> TetMinAngle( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00695"></a>00695 <a name="l00697"></a>00697 <a name="l00704"></a>00704 <span class="keyword">static</span> <span class="keywordtype">double</span> TetCollapseRatio( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00705"></a>00705 <span class="keyword">static</span> <span class="keywordtype">double</span> TetAspectBeta( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00706"></a>00706 <span class="keyword">static</span> <span class="keywordtype">double</span> TetAspectGamma( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00707"></a>00707 <span class="keyword">static</span> <span class="keywordtype">double</span> TetVolume( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00708"></a>00708 <span class="keyword">static</span> <span class="keywordtype">double</span> TetCondition( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00709"></a>00709 <span class="keyword">static</span> <span class="keywordtype">double</span> TetJacobian( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00710"></a>00710 <span class="keyword">static</span> <span class="keywordtype">double</span> TetScaledJacobian( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00711"></a>00711 <span class="keyword">static</span> <span class="keywordtype">double</span> TetShape( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00712"></a>00712 <span class="keyword">static</span> <span class="keywordtype">double</span> TetRelativeSizeSquared( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00713"></a>00713 <span class="keyword">static</span> <span class="keywordtype">double</span> TetShapeandSize( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00714"></a>00714 <span class="keyword">static</span> <span class="keywordtype">double</span> TetDistortion( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00716"></a>00716 <a name="l00724"></a>00724 <span class="keyword">static</span> <span class="keywordtype">double</span> HexEdgeRatio( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00725"></a>00725 <a name="l00732"></a>00732 <span class="keyword">static</span> <span class="keywordtype">double</span> HexMedAspectFrobenius( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00733"></a>00733 <a name="l00735"></a>00735 <a name="l00741"></a>00741 <span class="keyword">static</span> <span class="keywordtype">double</span> HexMaxAspectFrobenius( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00742"></a>00742 <span class="keyword">static</span> <span class="keywordtype">double</span> HexMaxEdgeRatio( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00743"></a>00743 <span class="keyword">static</span> <span class="keywordtype">double</span> HexSkew( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00744"></a>00744 <span class="keyword">static</span> <span class="keywordtype">double</span> HexTaper( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00745"></a>00745 <span class="keyword">static</span> <span class="keywordtype">double</span> HexVolume( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00746"></a>00746 <span class="keyword">static</span> <span class="keywordtype">double</span> HexStretch( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00747"></a>00747 <span class="keyword">static</span> <span class="keywordtype">double</span> HexDiagonal( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00748"></a>00748 <span class="keyword">static</span> <span class="keywordtype">double</span> HexDimension( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00749"></a>00749 <span class="keyword">static</span> <span class="keywordtype">double</span> HexOddy( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00750"></a>00750 <span class="keyword">static</span> <span class="keywordtype">double</span> HexCondition( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00751"></a>00751 <span class="keyword">static</span> <span class="keywordtype">double</span> HexJacobian( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00752"></a>00752 <span class="keyword">static</span> <span class="keywordtype">double</span> HexScaledJacobian( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00753"></a>00753 <span class="keyword">static</span> <span class="keywordtype">double</span> HexShear( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00754"></a>00754 <span class="keyword">static</span> <span class="keywordtype">double</span> HexShape( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00755"></a>00755 <span class="keyword">static</span> <span class="keywordtype">double</span> HexRelativeSizeSquared( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00756"></a>00756 <span class="keyword">static</span> <span class="keywordtype">double</span> HexShapeAndSize( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00757"></a>00757 <span class="keyword">static</span> <span class="keywordtype">double</span> HexShearAndSize( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00758"></a>00758 <span class="keyword">static</span> <span class="keywordtype">double</span> HexDistortion( <a class="code" href="a00240.html" title="abstract class to specify cell behavior">vtkCell</a>* cell ); <a name="l00760"></a>00760 <a name="l00762"></a>00762 <a name="l00768"></a><a class="code" href="a01037.html#247e7322661ab89523c4cb772f15802f">00768</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetRatio( <span class="keywordtype">int</span> r ) { this->SetSaveCellQuality( r ); } <a name="l00769"></a><a class="code" href="a01037.html#6a6fe7fae6e8cfde0f6598598eea8399">00769</a> <span class="keywordtype">int</span> GetRatio() { <span class="keywordflow">return</span> this->GetSaveCellQuality(); } <a name="l00770"></a>00770 vtkBooleanMacro(Ratio,<span class="keywordtype">int</span>); <a name="l00772"></a>00772 <a name="l00774"></a>00774 <a name="l00786"></a><a class="code" href="a01037.html#7503becf48eb98409260481f4c860616">00786</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetVolume( <span class="keywordtype">int</span> cv ) <a name="l00787"></a>00787 { <a name="l00788"></a>00788 <span class="keywordflow">if</span> ( ! ((cv != 0) ^ (this->Volume != 0)) ) <a name="l00789"></a>00789 { <a name="l00790"></a>00790 <span class="keywordflow">return</span>; <a name="l00791"></a>00791 } <a name="l00792"></a>00792 this-><a class="code" href="a01084.html#8586479b9d204cf0a45fb693d4281354">Modified</a>(); <a name="l00793"></a>00793 this->Volume = cv; <a name="l00794"></a>00794 <span class="keywordflow">if</span> ( this->Volume ) <a name="l00795"></a>00795 { <a name="l00796"></a>00796 this->CompatibilityModeOn(); <a name="l00797"></a>00797 } <a name="l00798"></a>00798 } <a name="l00799"></a><a class="code" href="a01037.html#c9d0779ca0fd52f31a2cb46e2b84fb6b">00799</a> <span class="keywordtype">int</span> GetVolume() <a name="l00800"></a>00800 { <a name="l00801"></a>00801 <span class="keywordflow">return</span> this->Volume; <a name="l00802"></a>00802 } <a name="l00803"></a>00803 vtkBooleanMacro(Volume,<span class="keywordtype">int</span>); <a name="l00805"></a>00805 <a name="l00807"></a>00807 <a name="l00825"></a><a class="code" href="a01037.html#3791a0c5f5d54f75ca16e7d091b00412">00825</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetCompatibilityMode( <span class="keywordtype">int</span> cm ) <a name="l00826"></a>00826 { <a name="l00827"></a>00827 <span class="keywordflow">if</span> ( !((cm != 0) ^ (this->CompatibilityMode != 0)) ) <a name="l00828"></a>00828 { <a name="l00829"></a>00829 <span class="keywordflow">return</span>; <a name="l00830"></a>00830 } <a name="l00831"></a>00831 this->CompatibilityMode = cm; <a name="l00832"></a>00832 this-><a class="code" href="a01084.html#8586479b9d204cf0a45fb693d4281354">Modified</a>(); <a name="l00833"></a>00833 <span class="keywordflow">if</span> ( this->CompatibilityMode ) <a name="l00834"></a>00834 { <a name="l00835"></a>00835 this->Volume = 1; <a name="l00836"></a>00836 this->TetQualityMeasure = <a class="code" href="a02600.html#9788c223c5d61659156890298ef460ff">VTK_QUALITY_RADIUS_RATIO</a>; <a name="l00837"></a>00837 } <a name="l00838"></a>00838 } <a name="l00839"></a>00839 vtkGetMacro(CompatibilityMode,<span class="keywordtype">int</span>); <a name="l00840"></a>00840 vtkBooleanMacro(CompatibilityMode,<span class="keywordtype">int</span>); <a name="l00842"></a>00842 <a name="l00843"></a>00843 <span class="keyword">protected</span>: <a name="l00844"></a>00844 <a class="code" href="a01037.html" title="Calculate functions of quality of the elements.">vtkMeshQuality</a>(); <a name="l00845"></a>00845 ~<a class="code" href="a01037.html" title="Calculate functions of quality of the elements.">vtkMeshQuality</a>(); <a name="l00846"></a>00846 <a name="l00847"></a>00847 <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a00375.html#49f7d102eea1f3c58aae7281a1b708cc">RequestData</a>(<a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a> *, <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a> **, <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a> *); <a name="l00848"></a>00848 <a name="l00851"></a>00851 <span class="keyword">static</span> <span class="keywordtype">int</span> GetCurrentTriangleNormal( <span class="keywordtype">double</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d21006fc9b75c5a0835cfad2ef5d44379a0b">point</a>[3], <span class="keywordtype">double</span> normal[3] ); <a name="l00852"></a>00852 <a name="l00853"></a><a class="code" href="a01037.html#28504b7b486ff60e0fe6bc905ebbcd24">00853</a> <span class="keywordtype">int</span> SaveCellQuality; <a name="l00854"></a><a class="code" href="a01037.html#dfeccc4895d85e88c622964b2dcb7800">00854</a> <span class="keywordtype">int</span> TriangleQualityMeasure; <a name="l00855"></a><a class="code" href="a01037.html#a14f36de285563c5f682ffb4e5f8a5fd">00855</a> <span class="keywordtype">int</span> QuadQualityMeasure; <a name="l00856"></a><a class="code" href="a01037.html#54421fb38ecb35e35741d2bddc897854">00856</a> <span class="keywordtype">int</span> TetQualityMeasure; <a name="l00857"></a><a class="code" href="a01037.html#5e48cf2cd5f1eec2f142957c1a9122a2">00857</a> <span class="keywordtype">int</span> HexQualityMeasure; <a name="l00858"></a>00858 <a name="l00859"></a><a class="code" href="a01037.html#7d0db9a14b5a8a0050665c4818d5e859">00859</a> <span class="keywordtype">int</span> CompatibilityMode; <a name="l00860"></a><a class="code" href="a01037.html#178301e63e1c1fff6a2796fecbd90b31">00860</a> <span class="keywordtype">int</span> Volume; <a name="l00861"></a>00861 <a name="l00862"></a><a class="code" href="a01037.html#457eb337abf77d13b521c9188fde7cee">00862</a> <a class="code" href="a00356.html" title="abstract superclass for arrays of numeric data">vtkDataArray</a>* CellNormals; <a name="l00863"></a><a class="code" href="a01037.html#722bfe1b57e82f831f39cbe72d17c5de">00863</a> <span class="keyword">static</span> <span class="keywordtype">double</span> CurrentTriNormal[3]; <a name="l00864"></a>00864 <a name="l00865"></a>00865 <span class="keyword">private</span>: <a name="l00866"></a>00866 <a class="code" href="a01037.html" title="Calculate functions of quality of the elements.">vtkMeshQuality</a>( <span class="keyword">const</span> <a class="code" href="a01037.html" title="Calculate functions of quality of the elements.">vtkMeshQuality</a>& ); <span class="comment">// Not implemented.</span> <a name="l00867"></a>00867 <span class="keywordtype">void</span> operator = ( <span class="keyword">const</span> <a class="code" href="a01037.html" title="Calculate functions of quality of the elements.">vtkMeshQuality</a>& ); <span class="comment">// Not implemented.</span> <a name="l00868"></a>00868 }; <a name="l00869"></a>00869 <a name="l00870"></a>00870 <span class="preprocessor">#endif // vtkMeshQuality_h</span> </pre></div></div> <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 18:35:28 2009 for VTK by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> </body> </html>