<!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/Infovis/vtkThresholdTable.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/Infovis/vtkThresholdTable.h</h1><a href="a03074.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: vtkThresholdTable.h,v $</span> <a name="l00005"></a>00005 <span class="comment"></span> <a name="l00006"></a>00006 <span class="comment"> Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen</span> <a name="l00007"></a>00007 <span class="comment"> All rights reserved.</span> <a name="l00008"></a>00008 <span class="comment"> See Copyright.txt or http://www.kitware.com/Copyright.htm for details.</span> <a name="l00009"></a>00009 <span class="comment"></span> <a name="l00010"></a>00010 <span class="comment"> This software is distributed WITHOUT ANY WARRANTY; without even</span> <a name="l00011"></a>00011 <span class="comment"> the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR</span> <a name="l00012"></a>00012 <span class="comment"> PURPOSE. See the above copyright notice for more information.</span> <a name="l00013"></a>00013 <span class="comment"></span> <a name="l00014"></a>00014 <span class="comment">=========================================================================*/</span> <a name="l00015"></a>00015 <span class="comment">/*-------------------------------------------------------------------------</span> <a name="l00016"></a>00016 <span class="comment"> Copyright 2008 Sandia Corporation.</span> <a name="l00017"></a>00017 <span class="comment"> Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,</span> <a name="l00018"></a>00018 <span class="comment"> the U.S. Government retains certain rights in this software.</span> <a name="l00019"></a>00019 <span class="comment">-------------------------------------------------------------------------*/</span> <a name="l00032"></a>00032 <span class="preprocessor">#ifndef __vtkThresholdTable_h</span> <a name="l00033"></a>00033 <span class="preprocessor"></span><span class="preprocessor">#define __vtkThresholdTable_h</span> <a name="l00034"></a>00034 <span class="preprocessor"></span> <a name="l00035"></a>00035 <span class="preprocessor">#include "<a class="code" href="a02380.html">vtkTableAlgorithm.h</a>"</span> <a name="l00036"></a>00036 <span class="preprocessor">#include "<a class="code" href="a02159.html">vtkVariant.h</a>"</span> <span class="comment">// For vtkVariant arguments</span> <a name="l00037"></a>00037 <a name="l00038"></a><a class="code" href="a01709.html">00038</a> <span class="keyword">class </span><a class="code" href="a02170.html#73f1c245b8811be3c4b76b0a89784e70">VTK_INFOVIS_EXPORT</a> <a class="code" href="a01709.html" title="Thresholds table rows.">vtkThresholdTable</a> : <span class="keyword">public</span> <a class="code" href="a01658.html" title="Superclass for algorithms that produce only vtkTables as output.">vtkTableAlgorithm</a> <a name="l00039"></a>00039 { <a name="l00040"></a>00040 <span class="keyword">public</span>: <a name="l00041"></a>00041 <span class="keyword">static</span> <a class="code" href="a01709.html" title="Thresholds table rows.">vtkThresholdTable</a>* <a class="code" href="a01658.html#1e8db94a40b1fa7946147f5b8322c13a">New</a>(); <a name="l00042"></a><a class="code" href="a01709.html#2fc819e134cf618f250c690d033e172e">00042</a> vtkTypeRevisionMacro(<a class="code" href="a01709.html" title="Thresholds table rows.">vtkThresholdTable</a>, <a class="code" href="a01658.html" title="Superclass for algorithms that produce only vtkTables as output.">vtkTableAlgorithm</a>); <a name="l00043"></a>00043 <span class="keywordtype">void</span> <a class="code" href="a01658.html#368da4c8eb6cbcda080c54addaee1fe5">PrintSelf</a>(ostream& os, <a class="code" href="a00869.html" title="a simple class to control print indentation">vtkIndent</a> indent); <a name="l00044"></a>00044 <a name="l00045"></a>00045 <span class="comment">//BTX</span> <a name="l00046"></a>00046 <span class="keyword">enum</span> { <a name="l00047"></a><a class="code" href="a01709.html#ee778347b6de862eda6f4c288c9ad71d49084da004d05d3f558969a51aff0d02">00047</a> ACCEPT_LESS_THAN = 0, <a name="l00048"></a><a class="code" href="a01709.html#ee778347b6de862eda6f4c288c9ad71d762f08f0987c25f03e68ff74666dabc5">00048</a> ACCEPT_GREATER_THAN = 1, <a name="l00049"></a><a class="code" href="a01709.html#ee778347b6de862eda6f4c288c9ad71df8e85a699ea9afe4eed7304c3e7be061">00049</a> ACCEPT_BETWEEN = 2, <a name="l00050"></a><a class="code" href="a01709.html#ee778347b6de862eda6f4c288c9ad71ddd68435b35d96cefd13be6efa9bbfca0">00050</a> ACCEPT_OUTSIDE = 3 <a name="l00051"></a>00051 }; <a name="l00052"></a>00052 <span class="comment">//ETX</span> <a name="l00053"></a>00053 <a name="l00055"></a>00055 <a name="l00060"></a>00060 vtkSetClampMacro(Mode, <span class="keywordtype">int</span>, 0, 3); <a name="l00061"></a>00061 vtkGetMacro(Mode, <span class="keywordtype">int</span>); <a name="l00063"></a>00063 <a name="l00064"></a>00064 <span class="comment">//BTX</span> <a name="l00066"></a>00066 <span class="comment"></span> <a name="l00068"></a><a class="code" href="a01709.html#3b5928e64a8726bbce2716d5713a345d">00068</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetMinValue(<a class="code" href="a01810.html" title="A atomic type representing the union of many types.">vtkVariant</a> v) <a name="l00069"></a>00069 { <a name="l00070"></a>00070 this->MinValue = v; <a name="l00071"></a>00071 this-><a class="code" href="a01084.html#8586479b9d204cf0a45fb693d4281354">Modified</a>(); <a name="l00072"></a>00072 } <a name="l00073"></a><a class="code" href="a01709.html#334654f25e77e5e2d2022b77a61aadc5">00073</a> <span class="keyword">virtual</span> <a class="code" href="a01810.html" title="A atomic type representing the union of many types.">vtkVariant</a> GetMinValue() <a name="l00074"></a>00074 { <a name="l00075"></a>00075 <span class="keywordflow">return</span> this->MinValue; <a name="l00076"></a>00076 } <a name="l00078"></a>00078 <a name="l00080"></a>00080 <a name="l00082"></a><a class="code" href="a01709.html#862564c4e9f905cc06fe586b991ee33a">00082</a> <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetMaxValue(<a class="code" href="a01810.html" title="A atomic type representing the union of many types.">vtkVariant</a> v) <a name="l00083"></a>00083 { <a name="l00084"></a>00084 this->MaxValue = v; <a name="l00085"></a>00085 this-><a class="code" href="a01084.html#8586479b9d204cf0a45fb693d4281354">Modified</a>(); <a name="l00086"></a>00086 } <a name="l00087"></a><a class="code" href="a01709.html#7613a664a16698072cc68ec374907f06">00087</a> <span class="keyword">virtual</span> <a class="code" href="a01810.html" title="A atomic type representing the union of many types.">vtkVariant</a> GetMaxValue() <a name="l00088"></a>00088 { <a name="l00089"></a>00089 <span class="keywordflow">return</span> this->MaxValue; <a name="l00090"></a>00090 } <a name="l00092"></a>00092 <a name="l00095"></a>00095 <span class="keywordtype">void</span> ThresholdBetween(<a class="code" href="a01810.html" title="A atomic type representing the union of many types.">vtkVariant</a> lower, <a class="code" href="a01810.html" title="A atomic type representing the union of many types.">vtkVariant</a> upper); <a name="l00096"></a>00096 <a name="l00097"></a>00097 <span class="comment">//ETX</span> <a name="l00098"></a>00098 <a name="l00100"></a>00100 <a name="l00101"></a><a class="code" href="a01709.html#4e76d4e9b6506536e0a982b641db904a">00101</a> <span class="keywordtype">void</span> SetMinValue(<span class="keywordtype">double</span> v) <a name="l00102"></a>00102 { <a name="l00103"></a>00103 this->SetMinValue(<a class="code" href="a01810.html" title="A atomic type representing the union of many types.">vtkVariant</a>(v)); <a name="l00104"></a>00104 } <a name="l00106"></a>00106 <a name="l00108"></a>00108 <a name="l00109"></a><a class="code" href="a01709.html#4ade9d30861767acbd61013951cb1755">00109</a> <span class="keywordtype">void</span> SetMaxValue(<span class="keywordtype">double</span> v) <a name="l00110"></a>00110 { <a name="l00111"></a>00111 this->SetMaxValue(<a class="code" href="a01810.html" title="A atomic type representing the union of many types.">vtkVariant</a>(v)); <a name="l00112"></a>00112 } <a name="l00114"></a>00114 <a name="l00116"></a>00116 <a name="l00118"></a><a class="code" href="a01709.html#a14e3cfcaea76ea85d8b8333e0216c40">00118</a> <span class="keywordtype">void</span> ThresholdBetween(<span class="keywordtype">double</span> lower, <span class="keywordtype">double</span> upper) <a name="l00119"></a>00119 { <a name="l00120"></a>00120 this->ThresholdBetween(<a class="code" href="a01810.html" title="A atomic type representing the union of many types.">vtkVariant</a>(lower),<a class="code" href="a01810.html" title="A atomic type representing the union of many types.">vtkVariant</a>(upper)); <a name="l00121"></a>00121 } <a name="l00123"></a>00123 <a name="l00124"></a>00124 <span class="keyword">protected</span>: <a name="l00125"></a>00125 <a class="code" href="a01709.html" title="Thresholds table rows.">vtkThresholdTable</a>(); <a name="l00126"></a>00126 ~<a class="code" href="a01709.html" title="Thresholds table rows.">vtkThresholdTable</a>(); <a name="l00127"></a>00127 <a name="l00128"></a>00128 <span class="keywordtype">int</span> <a class="code" href="a01658.html#76ecb5162644ca3bd5bcd900abfa8809">RequestData</a>( <a name="l00129"></a>00129 <a class="code" href="a00872.html" title="Store vtkAlgorithm input/output information.">vtkInformation</a>*, <a name="l00130"></a>00130 <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a>**, <a name="l00131"></a>00131 <a class="code" href="a00895.html" title="Store zero or more vtkInformation instances.">vtkInformationVector</a>*); <a name="l00132"></a>00132 <a name="l00133"></a><a class="code" href="a01709.html#be28598e12ee9a884208fce9d632ad6e">00133</a> <a class="code" href="a01810.html" title="A atomic type representing the union of many types.">vtkVariant</a> MinValue; <a name="l00134"></a><a class="code" href="a01709.html#d757597367d54c107aab0cde908bbe09">00134</a> <a class="code" href="a01810.html" title="A atomic type representing the union of many types.">vtkVariant</a> MaxValue; <a name="l00135"></a><a class="code" href="a01709.html#f15c0e2cbdfed22cf1327700ce358c28">00135</a> <span class="keywordtype">int</span> Mode; <a name="l00136"></a>00136 <a name="l00137"></a>00137 <span class="keyword">private</span>: <a name="l00138"></a>00138 <a class="code" href="a01709.html" title="Thresholds table rows.">vtkThresholdTable</a>(<span class="keyword">const</span> <a class="code" href="a01709.html" title="Thresholds table rows.">vtkThresholdTable</a>&); <span class="comment">// Not implemented</span> <a name="l00139"></a>00139 <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="a01709.html" title="Thresholds table rows.">vtkThresholdTable</a>&); <span class="comment">// Not implemented</span> <a name="l00140"></a>00140 }; <a name="l00141"></a>00141 <a name="l00142"></a>00142 <span class="preprocessor">#endif</span> <a name="l00143"></a>00143 <span class="preprocessor"></span> </pre></div></div> <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 18:35:38 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>