<!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/Widgets/vtkPointWidget.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/Widgets/vtkPointWidget.h</h1><a href="a03719.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: vtkPointWidget.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="l00073"></a>00073 <span class="preprocessor">#ifndef __vtkPointWidget_h</span> <a name="l00074"></a>00074 <span class="preprocessor"></span><span class="preprocessor">#define __vtkPointWidget_h</span> <a name="l00075"></a>00075 <span class="preprocessor"></span> <a name="l00076"></a>00076 <span class="preprocessor">#include "<a class="code" href="a03649.html">vtk3DWidget.h</a>"</span> <a name="l00077"></a>00077 <span class="preprocessor">#include "<a class="code" href="a02497.html">vtkCursor3D.h</a>"</span> <span class="comment">// Needed for faster access to the Cursor3D</span> <a name="l00078"></a>00078 <a name="l00079"></a>00079 <span class="keyword">class </span><a class="code" href="a00092.html" title="represents an object (geometry &amp; properties) in a rendered scene">vtkActor</a>; <a name="l00080"></a>00080 <span class="keyword">class </span><a class="code" href="a01265.html" title="map vtkPolyData to graphics primitives">vtkPolyDataMapper</a>; <a name="l00081"></a>00081 <span class="keyword">class </span><a class="code" href="a00251.html" title="select a cell by shooting a ray into graphics window">vtkCellPicker</a>; <a name="l00082"></a>00082 <span class="keyword">class </span><a class="code" href="a01260.html" title="concrete dataset represents vertices, lines, polygons, and triangle strips">vtkPolyData</a>; <a name="l00083"></a>00083 <span class="keyword">class </span><a class="code" href="a01322.html" title="represent surface properties of a geometric object">vtkProperty</a>; <a name="l00084"></a>00084 <a name="l00085"></a><a class="code" href="a01259.html">00085</a> <span class="keyword">class </span><a class="code" href="a02170.html#09e5ba6764f54642494e26907662d55f">VTK_WIDGETS_EXPORT</a> <a class="code" href="a01259.html" title="position a point in 3D space">vtkPointWidget</a> : <span class="keyword">public</span> <a class="code" href="a00075.html" title="an abstract superclass for 3D widgets">vtk3DWidget</a> <a name="l00086"></a>00086 { <a name="l00087"></a>00087 <span class="keyword">public</span>: <a name="l00089"></a>00089 <span class="keyword">static</span> <a class="code" href="a01259.html" title="position a point in 3D space">vtkPointWidget</a> *<a class="code" href="a01084.html#4d5b227267c076d6f9e38483370b6612">New</a>(); <a name="l00090"></a>00090 <a name="l00091"></a><a class="code" href="a01259.html#d81343f66500ff7be593eec73b2f468f">00091</a> vtkTypeRevisionMacro(<a class="code" href="a01259.html" title="position a point in 3D space">vtkPointWidget</a>,<a class="code" href="a00075.html" title="an abstract superclass for 3D widgets">vtk3DWidget</a>); <a name="l00092"></a>00092 <span class="keywordtype">void</span> <a class="code" href="a00075.html#132e8f748131edef14b83d9b15d603c8">PrintSelf</a>(ostream& os, <a class="code" href="a00869.html" title="a simple class to control print indentation">vtkIndent</a> indent); <a name="l00093"></a>00093 <a name="l00095"></a>00095 <a name="l00096"></a>00096 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a00902.html#b43191e675e294441a76efa7e4f884d9">SetEnabled</a>(<span class="keywordtype">int</span>); <a name="l00097"></a>00097 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a00075.html#d6a77721ab3efb8ba994132439f53e66">PlaceWidget</a>(<span class="keywordtype">double</span> bounds[6]); <a name="l00098"></a><a class="code" href="a01259.html#087302f53b65b866375900a0b52c876f">00098</a> <span class="keywordtype">void</span> <a class="code" href="a00075.html#d6a77721ab3efb8ba994132439f53e66">PlaceWidget</a>() <a name="l00099"></a>00099 {this->Superclass::PlaceWidget();} <a name="l00100"></a><a class="code" href="a01259.html#122275b24b711220aaf1ad3fc727d2b9">00100</a> <span class="keywordtype">void</span> <a class="code" href="a00075.html#d6a77721ab3efb8ba994132439f53e66">PlaceWidget</a>(<span class="keywordtype">double</span> xmin, <span class="keywordtype">double</span> xmax, <span class="keywordtype">double</span> ymin, <span class="keywordtype">double</span> ymax, <a name="l00101"></a>00101 <span class="keywordtype">double</span> zmin, <span class="keywordtype">double</span> zmax) <a name="l00102"></a>00102 {this->Superclass::PlaceWidget(xmin,xmax,ymin,ymax,zmin,zmax);} <a name="l00104"></a>00104 <a name="l00107"></a>00107 <span class="keywordtype">void</span> GetPolyData(<a class="code" href="a01260.html" title="concrete dataset represents vertices, lines, polygons, and triangle strips">vtkPolyData</a> *pd); <a name="l00108"></a>00108 <a name="l00110"></a>00110 <a name="l00113"></a><a class="code" href="a01259.html#d32de42b115673cbcff861ba30a66bf6">00113</a> <span class="keywordtype">void</span> SetPosition(<span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y, <span class="keywordtype">double</span> z) <a name="l00114"></a>00114 {this->Cursor3D->SetFocalPoint(x,y,z);} <a name="l00115"></a><a class="code" href="a01259.html#ca6af7946b84302927fcae73c2ee85aa">00115</a> <span class="keywordtype">void</span> SetPosition(<span class="keywordtype">double</span> x[3]) <a name="l00116"></a>00116 {this->SetPosition(x[0],x[1],x[2]);} <a name="l00117"></a><a class="code" href="a01259.html#1edeb3d15aa25ee111410ef70ee02b0e">00117</a> <span class="keywordtype">double</span>* GetPosition() <a name="l00118"></a>00118 {<span class="keywordflow">return</span> this->Cursor3D->GetFocalPoint();} <a name="l00119"></a><a class="code" href="a01259.html#a9f79261a6b7e52941b73e5c6eabe737">00119</a> <span class="keywordtype">void</span> GetPosition(<span class="keywordtype">double</span> xyz[3]) <a name="l00120"></a>00120 {this->Cursor3D->GetFocalPoint(xyz);} <a name="l00122"></a>00122 <a name="l00124"></a>00124 <a name="l00125"></a><a class="code" href="a01259.html#50bed79895fd0191599346a4382f92ba">00125</a> <span class="keywordtype">void</span> SetOutline(<span class="keywordtype">int</span> o) <a name="l00126"></a>00126 {this->Cursor3D->SetOutline(o);} <a name="l00127"></a><a class="code" href="a01259.html#8025571f4800dbd391906a96e5012204">00127</a> <span class="keywordtype">int</span> GetOutline() <a name="l00128"></a>00128 {<span class="keywordflow">return</span> this->Cursor3D->GetOutline();} <a name="l00129"></a><a class="code" href="a01259.html#6fba08d27edefee68c8ca704ae529e79">00129</a> <span class="keywordtype">void</span> OutlineOn() <a name="l00130"></a>00130 {this->Cursor3D->OutlineOn();} <a name="l00131"></a><a class="code" href="a01259.html#86dc7300cd8c802e4d2af20706646f99">00131</a> <span class="keywordtype">void</span> OutlineOff() <a name="l00132"></a>00132 {this->Cursor3D->OutlineOff();} <a name="l00134"></a>00134 <a name="l00136"></a>00136 <a name="l00137"></a><a class="code" href="a01259.html#88a5ce8d03ce7e4c245ac47f6a3eb4e9">00137</a> <span class="keywordtype">void</span> SetXShadows(<span class="keywordtype">int</span> o) <a name="l00138"></a>00138 {this->Cursor3D->SetXShadows(o);} <a name="l00139"></a><a class="code" href="a01259.html#e56d9f28bb5e5665e382c8a2d6c1d2a1">00139</a> <span class="keywordtype">int</span> GetXShadows() <a name="l00140"></a>00140 {<span class="keywordflow">return</span> this->Cursor3D->GetXShadows();} <a name="l00141"></a><a class="code" href="a01259.html#41b79c18e030eecc52bd1f5fe4f6f84f">00141</a> <span class="keywordtype">void</span> XShadowsOn() <a name="l00142"></a>00142 {this->Cursor3D->XShadowsOn();} <a name="l00143"></a><a class="code" href="a01259.html#9211e26965d9a6dc76db54c7e07ddf91">00143</a> <span class="keywordtype">void</span> XShadowsOff() <a name="l00144"></a>00144 {this->Cursor3D->XShadowsOff();} <a name="l00146"></a>00146 <a name="l00148"></a>00148 <a name="l00149"></a><a class="code" href="a01259.html#f3e0d122fb4abcaca87054ba6fa0da02">00149</a> <span class="keywordtype">void</span> SetYShadows(<span class="keywordtype">int</span> o) <a name="l00150"></a>00150 {this->Cursor3D->SetYShadows(o);} <a name="l00151"></a><a class="code" href="a01259.html#f2bd514098f5084e0cf4861265aa547c">00151</a> <span class="keywordtype">int</span> GetYShadows() <a name="l00152"></a>00152 {<span class="keywordflow">return</span> this->Cursor3D->GetYShadows();} <a name="l00153"></a><a class="code" href="a01259.html#1eaa3c900e3094196076869418d83761">00153</a> <span class="keywordtype">void</span> YShadowsOn() <a name="l00154"></a>00154 {this->Cursor3D->YShadowsOn();} <a name="l00155"></a><a class="code" href="a01259.html#0f1a6aafce3da2ab7d3b8ffb4a288773">00155</a> <span class="keywordtype">void</span> YShadowsOff() <a name="l00156"></a>00156 {this->Cursor3D->YShadowsOff();} <a name="l00158"></a>00158 <a name="l00160"></a>00160 <a name="l00161"></a><a class="code" href="a01259.html#6e68955c93bf15cbbb9df39ef8205f2b">00161</a> <span class="keywordtype">void</span> SetZShadows(<span class="keywordtype">int</span> o) <a name="l00162"></a>00162 {this->Cursor3D->SetZShadows(o);} <a name="l00163"></a><a class="code" href="a01259.html#c656cc3688e6d99123ba0bbd8db04b02">00163</a> <span class="keywordtype">int</span> GetZShadows() <a name="l00164"></a>00164 {<span class="keywordflow">return</span> this->Cursor3D->GetZShadows();} <a name="l00165"></a><a class="code" href="a01259.html#0dd0caf9267d60ed667eeed9486b1f31">00165</a> <span class="keywordtype">void</span> ZShadowsOn() <a name="l00166"></a>00166 {this->Cursor3D->ZShadowsOn();} <a name="l00167"></a><a class="code" href="a01259.html#a613fcd7618ba48eb57c1a1eb98adc79">00167</a> <span class="keywordtype">void</span> ZShadowsOff() <a name="l00168"></a>00168 {this->Cursor3D->ZShadowsOff();} <a name="l00170"></a>00170 <a name="l00172"></a>00172 <a name="l00175"></a><a class="code" href="a01259.html#884c9a4f79283af56dd457ad7d356d99">00175</a> <span class="keywordtype">void</span> SetTranslationMode(<span class="keywordtype">int</span> <a class="code" href="a03761.html#c6551f7bf833e8254b2b3ecdaea0d210608db9ad4c08b9eb2e8e8353b79225da">mode</a>) <a name="l00176"></a>00176 { this->Cursor3D->SetTranslationMode(mode); this->Cursor3D->Update(); } <a name="l00177"></a><a class="code" href="a01259.html#cfe328fccb54c273a6e601f6d0c58913">00177</a> <span class="keywordtype">int</span> GetTranslationMode() <a name="l00178"></a>00178 { <span class="keywordflow">return</span> this->Cursor3D->GetTranslationMode(); } <a name="l00179"></a><a class="code" href="a01259.html#1e2e2a5bc694f6d579c55ccf2c35bacc">00179</a> <span class="keywordtype">void</span> TranslationModeOn() <a name="l00180"></a>00180 { this->SetTranslationMode(1); } <a name="l00181"></a><a class="code" href="a01259.html#21b7cec61a8eabf947e240d74135bf79">00181</a> <span class="keywordtype">void</span> TranslationModeOff() <a name="l00182"></a>00182 { this->SetTranslationMode(0); } <a name="l00184"></a>00184 <a name="l00186"></a>00186 <a name="l00187"></a><a class="code" href="a01259.html#f80bb7bd1700fa3bfe098fe06017292c">00187</a> <span class="keywordtype">void</span> AllOn() <a name="l00188"></a>00188 { <a name="l00189"></a>00189 this->OutlineOn(); <a name="l00190"></a>00190 this->XShadowsOn(); <a name="l00191"></a>00191 this->YShadowsOn(); <a name="l00192"></a>00192 this->ZShadowsOn(); <a name="l00193"></a>00193 } <a name="l00194"></a><a class="code" href="a01259.html#1652130b8dacdcb7a51da95a0beb4a0a">00194</a> <span class="keywordtype">void</span> AllOff() <a name="l00195"></a>00195 { <a name="l00196"></a>00196 this->OutlineOff(); <a name="l00197"></a>00197 this->XShadowsOff(); <a name="l00198"></a>00198 this->YShadowsOff(); <a name="l00199"></a>00199 this->ZShadowsOff(); <a name="l00200"></a>00200 } <a name="l00202"></a>00202 <a name="l00204"></a>00204 <a name="l00206"></a>00206 vtkGetObjectMacro(Property,<a class="code" href="a01322.html" title="represent surface properties of a geometric object">vtkProperty</a>); <a name="l00207"></a>00207 vtkGetObjectMacro(SelectedProperty,<a class="code" href="a01322.html" title="represent surface properties of a geometric object">vtkProperty</a>); <a name="l00209"></a>00209 <a name="l00211"></a>00211 <a name="l00215"></a>00215 vtkSetClampMacro(HotSpotSize,<span class="keywordtype">double</span>,0.0,1.0); <a name="l00216"></a>00216 vtkGetMacro(HotSpotSize,<span class="keywordtype">double</span>); <a name="l00218"></a>00218 <a name="l00219"></a>00219 <span class="keyword">protected</span>: <a name="l00220"></a>00220 <a class="code" href="a01259.html" title="position a point in 3D space">vtkPointWidget</a>(); <a name="l00221"></a>00221 ~<a class="code" href="a01259.html" title="position a point in 3D space">vtkPointWidget</a>(); <a name="l00222"></a>00222 <a name="l00223"></a>00223 <span class="comment">//BTX - manage the state of the widget</span> <a name="l00224"></a><a class="code" href="a01259.html#ad91ad2570d1659ced94cb6066359577">00224</a> <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="a00968.html" title="3D widget for manipulating a line">vtkLineWidget</a>; <a name="l00225"></a>00225 <a name="l00226"></a><a class="code" href="a01259.html#c08beea236ca8ce00c4fee5b6b886563">00226</a> <span class="keywordtype">int</span> <a class="code" href="a00968.html#72db50fc1ef31adfe1a6826f99e48596">State</a>; <a name="l00227"></a><a class="code" href="a01259.html#1c7691ed428c22bb6a87f0c548a66294">00227</a> <span class="keyword">enum</span> <a class="code" href="a01259.html#1c7691ed428c22bb6a87f0c548a66294">WidgetState</a> <a name="l00228"></a>00228 { <a name="l00229"></a><a class="code" href="a01259.html#1c7691ed428c22bb6a87f0c548a6629407d88128223f0c825c96d36605bf2382">00229</a> <a class="code" href="a00968.html#a499273a925b39e6a94d020ade15dddccb85c365ac3d3398eeb11db6977a2220">Start</a>=0, <a name="l00230"></a><a class="code" href="a01259.html#1c7691ed428c22bb6a87f0c548a66294ad12c8f8bd9e9e53339532963584a6f9">00230</a> Moving, <a name="l00231"></a><a class="code" href="a01259.html#1c7691ed428c22bb6a87f0c548a6629442db0b98219175f9fa5c492a670aae4c">00231</a> <a class="code" href="a00968.html#a499273a925b39e6a94d020ade15dddc8382b899e9f54f67929ae0801e3e0117">Scaling</a>, <a name="l00232"></a><a class="code" href="a01259.html#1c7691ed428c22bb6a87f0c548a662944a63b7cc0f9f8b7425c3e14ec0877f4d">00232</a> Translating, <a name="l00233"></a><a class="code" href="a01259.html#1c7691ed428c22bb6a87f0c548a6629441859d67d3761ce713334879d36771bc">00233</a> <a class="code" href="a00968.html#a499273a925b39e6a94d020ade15dddc49ea8b181e8f4937216d4c68a7eeec68">Outside</a> <a name="l00234"></a>00234 }; <a name="l00235"></a>00235 <span class="comment">//ETX</span> <a name="l00236"></a>00236 <a name="l00237"></a>00237 <span class="comment">// Handles the events</span> <a name="l00238"></a>00238 <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="a00902.html#1b34006a2cc7da4efa585cf81252012e">ProcessEvents</a>(<a class="code" href="a01084.html" title="abstract base class for most VTK objects">vtkObject</a>* <span class="keywordtype">object</span>, <a name="l00239"></a>00239 <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> event, <a name="l00240"></a>00240 <span class="keywordtype">void</span>* clientdata, <a name="l00241"></a>00241 <span class="keywordtype">void</span>* calldata); <a name="l00242"></a>00242 <a name="l00243"></a>00243 <span class="comment">// ProcessEvents() dispatches to these methods.</span> <a name="l00244"></a>00244 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a00968.html#f82c735f5ca05333fb8094fe949011a8">OnMouseMove</a>(); <a name="l00245"></a>00245 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a00968.html#cb86ee98a5876d4e1569f1f93863d14a">OnLeftButtonDown</a>(); <a name="l00246"></a>00246 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a00968.html#51183966593ac19b789d3b188111f230">OnLeftButtonUp</a>(); <a name="l00247"></a>00247 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a00968.html#ef7d388cddf5a6380597d2ba16c8af0e">OnMiddleButtonDown</a>(); <a name="l00248"></a>00248 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a00968.html#94f395ce54cffcc5fe8398ed61de0611">OnMiddleButtonUp</a>(); <a name="l00249"></a>00249 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a00968.html#250e506cd72ada45731e4e570f6a34de">OnRightButtonDown</a>(); <a name="l00250"></a>00250 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="a00968.html#9bc5b03ec9f10bdbad44c600a6accc85">OnRightButtonUp</a>(); <a name="l00251"></a>00251 <a name="l00252"></a>00252 <span class="comment">// the cursor3D</span> <a name="l00253"></a><a class="code" href="a01259.html#9eb8b89908f16a09a14b8cfde9f24869">00253</a> <a class="code" href="a00092.html" title="represents an object (geometry &amp; properties) in a rendered scene">vtkActor</a> *Actor; <a name="l00254"></a><a class="code" href="a01259.html#1a41eed059e30866cc24e2ed1ed6f624">00254</a> <a class="code" href="a01265.html" title="map vtkPolyData to graphics primitives">vtkPolyDataMapper</a> *Mapper; <a name="l00255"></a><a class="code" href="a01259.html#780cebef4d3700c2d16e89cc85c1a6da">00255</a> <a class="code" href="a00348.html" title="generate a 3D cursor representation">vtkCursor3D</a> *Cursor3D; <a name="l00256"></a>00256 <span class="keywordtype">void</span> Highlight(<span class="keywordtype">int</span> highlight); <a name="l00257"></a>00257 <a name="l00258"></a>00258 <span class="comment">// Do the picking</span> <a name="l00259"></a><a class="code" href="a01259.html#f68689d951394fc5b658548ac71e0884">00259</a> <a class="code" href="a00251.html" title="select a cell by shooting a ray into graphics window">vtkCellPicker</a> *CursorPicker; <a name="l00260"></a>00260 <a name="l00261"></a>00261 <span class="comment">// Methods to manipulate the cursor</span> <a name="l00262"></a><a class="code" href="a01259.html#9c9d0fa1f891eec22c4c62d893889187">00262</a> <span class="keywordtype">int</span> ConstraintAxis; <a name="l00263"></a>00263 <span class="keywordtype">void</span> Translate(<span class="keywordtype">double</span> *p1, <span class="keywordtype">double</span> *p2); <a name="l00264"></a>00264 <span class="keywordtype">void</span> <a class="code" href="a00968.html#399a9726694b08f07e270975b0a2eb78">Scale</a>(<span class="keywordtype">double</span> *p1, <span class="keywordtype">double</span> *p2, <span class="keywordtype">int</span> X, <span class="keywordtype">int</span> Y); <a name="l00265"></a>00265 <span class="keywordtype">void</span> MoveFocus(<span class="keywordtype">double</span> *p1, <span class="keywordtype">double</span> *p2); <a name="l00266"></a><a class="code" href="a01259.html#64ab618fcdaefea459ac1a6f35116e26">00266</a> <span class="keywordtype">int</span> TranslationMode; <a name="l00267"></a>00267 <a name="l00268"></a>00268 <span class="comment">// Properties used to control the appearance of selected objects and</span> <a name="l00269"></a>00269 <span class="comment">// the manipulator in general.</span> <a name="l00270"></a><a class="code" href="a01259.html#ef241aca08e5250ba7b95c577228c5cd">00270</a> <a class="code" href="a01322.html" title="represent surface properties of a geometric object">vtkProperty</a> *Property; <a name="l00271"></a><a class="code" href="a01259.html#dbf85a601a274ed0316b024fd63a2a18">00271</a> <a class="code" href="a01322.html" title="represent surface properties of a geometric object">vtkProperty</a> *SelectedProperty; <a name="l00272"></a>00272 <span class="keywordtype">void</span> <a class="code" href="a00968.html#60a7eaae0f183a6cd177f273fab5f6a7">CreateDefaultProperties</a>(); <a name="l00273"></a>00273 <a name="l00274"></a>00274 <span class="comment">// The size of the hot spot.</span> <a name="l00275"></a><a class="code" href="a01259.html#4e7deee4d88cd7f25c13a54271905537">00275</a> <span class="keywordtype">double</span> HotSpotSize; <a name="l00276"></a>00276 <span class="keywordtype">int</span> DetermineConstraintAxis(<span class="keywordtype">int</span> constraint, <span class="keywordtype">double</span> *x); <a name="l00277"></a><a class="code" href="a01259.html#e73eb00788482366760f4b4f3836d450">00277</a> <span class="keywordtype">int</span> WaitingForMotion; <a name="l00278"></a><a class="code" href="a01259.html#a30363c5c5e956ae5f01e0c6c1f5e39a">00278</a> <span class="keywordtype">int</span> WaitCount; <a name="l00279"></a>00279 <a name="l00280"></a>00280 <span class="keyword">private</span>: <a name="l00281"></a>00281 <a class="code" href="a01259.html" title="position a point in 3D space">vtkPointWidget</a>(<span class="keyword">const</span> <a class="code" href="a01259.html" title="position a point in 3D space">vtkPointWidget</a>&); <span class="comment">//Not implemented</span> <a name="l00282"></a>00282 <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="a01259.html" title="position a point in 3D space">vtkPointWidget</a>&); <span class="comment">//Not implemented</span> <a name="l00283"></a>00283 }; <a name="l00284"></a>00284 <a name="l00285"></a>00285 <span class="preprocessor">#endif</span> </pre></div></div> <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 18:35:54 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>