Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 60f1dc962abad0f3b492991a4fbef9be > files > 4289

vtk-doc-5.4.2-5mdv2010.0.noarch.rpm

<!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/vtkCursor3D.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&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;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/vtkCursor3D.h</h1><a href="a02497.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: vtkCursor3D.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="l00032"></a>00032 <span class="preprocessor">#ifndef __vtkCursor3D_h</span>
<a name="l00033"></a>00033 <span class="preprocessor"></span><span class="preprocessor">#define __vtkCursor3D_h</span>
<a name="l00034"></a>00034 <span class="preprocessor"></span>
<a name="l00035"></a>00035 <span class="preprocessor">#include "<a class="code" href="a02331.html">vtkPolyDataAlgorithm.h</a>"</span>
<a name="l00036"></a>00036 
<a name="l00037"></a><a class="code" href="a00348.html">00037</a> <span class="keyword">class </span><a class="code" href="a02170.html#c3c1ffe2fe47b9b70ba90182b7860cce">VTK_GRAPHICS_EXPORT</a> <a class="code" href="a00348.html" title="generate a 3D cursor representation">vtkCursor3D</a> : <span class="keyword">public</span> <a class="code" href="a01261.html" title="Superclass for algorithms that produce only polydata as output.">vtkPolyDataAlgorithm</a> 
<a name="l00038"></a>00038 {
<a name="l00039"></a>00039 <span class="keyword">public</span>:
<a name="l00040"></a><a class="code" href="a00348.html#7f5641bc1cb58f10fb3e93a94731fd82">00040</a>   vtkTypeRevisionMacro(<a class="code" href="a00348.html" title="generate a 3D cursor representation">vtkCursor3D</a>,<a class="code" href="a01261.html" title="Superclass for algorithms that produce only polydata as output.">vtkPolyDataAlgorithm</a>);
<a name="l00041"></a>00041   <span class="keywordtype">void</span> <a class="code" href="a01261.html#e6d59a63261b0c56f8f473984ae0e1b6">PrintSelf</a>(ostream&amp; os, <a class="code" href="a00869.html" title="a simple class to control print indentation">vtkIndent</a> indent);
<a name="l00042"></a>00042 
<a name="l00045"></a>00045   <span class="keyword">static</span> <a class="code" href="a00348.html" title="generate a 3D cursor representation">vtkCursor3D</a> *<a class="code" href="a01261.html#cf785ac526132296ff652c636f713b5e">New</a>();
<a name="l00046"></a>00046 
<a name="l00048"></a>00048 
<a name="l00049"></a>00049   <span class="keywordtype">void</span> SetModelBounds(<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="l00050"></a>00050                       <span class="keywordtype">double</span> zmin, <span class="keywordtype">double</span> zmax);
<a name="l00051"></a>00051   <span class="keywordtype">void</span> SetModelBounds(<span class="keywordtype">double</span> bounds[6]);
<a name="l00052"></a>00052   vtkGetVectorMacro(ModelBounds,<span class="keywordtype">double</span>,6);
<a name="l00054"></a>00054 
<a name="l00056"></a>00056 
<a name="l00061"></a>00061   <span class="keywordtype">void</span> SetFocalPoint(<span class="keywordtype">double</span> x[3]);
<a name="l00062"></a><a class="code" href="a00348.html#72e80234be71098bbc64edb61c19626d">00062</a>   <span class="keywordtype">void</span> SetFocalPoint(<span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y, <span class="keywordtype">double</span> z)
<a name="l00063"></a>00063     {
<a name="l00064"></a>00064       <span class="keywordtype">double</span> xyz[3];
<a name="l00065"></a>00065       xyz[0] = x; xyz[1] = y; xyz[2] = z;
<a name="l00066"></a>00066       this-&gt;SetFocalPoint(xyz);
<a name="l00067"></a>00067     }
<a name="l00068"></a>00068   vtkGetVectorMacro(FocalPoint,<span class="keywordtype">double</span>,3);
<a name="l00070"></a>00070 
<a name="l00072"></a>00072 
<a name="l00073"></a>00073   vtkSetMacro(Outline,<span class="keywordtype">int</span>);
<a name="l00074"></a>00074   vtkGetMacro(Outline,<span class="keywordtype">int</span>);
<a name="l00075"></a>00075   vtkBooleanMacro(Outline,<span class="keywordtype">int</span>);
<a name="l00077"></a>00077 
<a name="l00079"></a>00079 
<a name="l00080"></a>00080   vtkSetMacro(Axes,<span class="keywordtype">int</span>);
<a name="l00081"></a>00081   vtkGetMacro(Axes,<span class="keywordtype">int</span>);
<a name="l00082"></a>00082   vtkBooleanMacro(Axes,<span class="keywordtype">int</span>);
<a name="l00084"></a>00084 
<a name="l00086"></a>00086 
<a name="l00087"></a>00087   vtkSetMacro(XShadows,<span class="keywordtype">int</span>);
<a name="l00088"></a>00088   vtkGetMacro(XShadows,<span class="keywordtype">int</span>);
<a name="l00089"></a>00089   vtkBooleanMacro(XShadows,<span class="keywordtype">int</span>);
<a name="l00091"></a>00091 
<a name="l00093"></a>00093 
<a name="l00094"></a>00094   vtkSetMacro(YShadows,<span class="keywordtype">int</span>);
<a name="l00095"></a>00095   vtkGetMacro(YShadows,<span class="keywordtype">int</span>);
<a name="l00096"></a>00096   vtkBooleanMacro(YShadows,<span class="keywordtype">int</span>);
<a name="l00098"></a>00098 
<a name="l00100"></a>00100 
<a name="l00101"></a>00101   vtkSetMacro(ZShadows,<span class="keywordtype">int</span>);
<a name="l00102"></a>00102   vtkGetMacro(ZShadows,<span class="keywordtype">int</span>);
<a name="l00103"></a>00103   vtkBooleanMacro(ZShadows,<span class="keywordtype">int</span>);
<a name="l00105"></a>00105 
<a name="l00107"></a>00107 
<a name="l00110"></a>00110   vtkSetMacro(TranslationMode,<span class="keywordtype">int</span>);
<a name="l00111"></a>00111   vtkGetMacro(TranslationMode,<span class="keywordtype">int</span>);
<a name="l00112"></a>00112   vtkBooleanMacro(TranslationMode,<span class="keywordtype">int</span>);
<a name="l00114"></a>00114 
<a name="l00116"></a>00116 
<a name="l00119"></a>00119   vtkSetMacro(Wrap,<span class="keywordtype">int</span>);
<a name="l00120"></a>00120   vtkGetMacro(Wrap,<span class="keywordtype">int</span>);
<a name="l00121"></a>00121   vtkBooleanMacro(Wrap,<span class="keywordtype">int</span>);
<a name="l00123"></a>00123 
<a name="l00125"></a><a class="code" href="a00348.html#f3fd04ab393d17bafa067a3f80af9822">00125</a>   <a class="code" href="a01260.html" title="concrete dataset represents vertices, lines, polygons, and triangle strips">vtkPolyData</a> *GetFocus() {<span class="keywordflow">return</span> this-&gt;Focus;};
<a name="l00126"></a>00126 
<a name="l00128"></a>00128 
<a name="l00129"></a>00129   <span class="keywordtype">void</span> AllOn();
<a name="l00130"></a>00130   <span class="keywordtype">void</span> AllOff();
<a name="l00132"></a>00132 
<a name="l00133"></a>00133 <span class="keyword">protected</span>:
<a name="l00134"></a>00134   <a class="code" href="a00348.html" title="generate a 3D cursor representation">vtkCursor3D</a>();
<a name="l00135"></a>00135   ~<a class="code" href="a00348.html" title="generate a 3D cursor representation">vtkCursor3D</a>();
<a name="l00136"></a>00136 
<a name="l00137"></a>00137   <span class="keywordtype">int</span> <a class="code" href="a01261.html#6b5a43ab1f9bbcb368c7dc83e4afe068">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="l00138"></a>00138 
<a name="l00139"></a><a class="code" href="a00348.html#29fb477b0d349ecabd886bf74751174b">00139</a>   <a class="code" href="a01260.html" title="concrete dataset represents vertices, lines, polygons, and triangle strips">vtkPolyData</a> *Focus;
<a name="l00140"></a><a class="code" href="a00348.html#c97bb6896b69135670a9b83410beb618">00140</a>   <span class="keywordtype">double</span> ModelBounds[6];
<a name="l00141"></a><a class="code" href="a00348.html#d18279917bddb88464e766e17dca2024">00141</a>   <span class="keywordtype">double</span> FocalPoint[3];
<a name="l00142"></a><a class="code" href="a00348.html#bb6752fa7d3ee0989d2df67d458f4187">00142</a>   <span class="keywordtype">int</span> Outline;
<a name="l00143"></a><a class="code" href="a00348.html#81b5a29796571196cb137dd7da44499d">00143</a>   <span class="keywordtype">int</span> Axes;
<a name="l00144"></a><a class="code" href="a00348.html#3f9cf23827fa55fc80e19293f2fe3e8d">00144</a>   <span class="keywordtype">int</span> XShadows;
<a name="l00145"></a><a class="code" href="a00348.html#ba4040c3b99b8b56241d529a15f5598e">00145</a>   <span class="keywordtype">int</span> YShadows;
<a name="l00146"></a><a class="code" href="a00348.html#e16c0672cf19eb5c9cf871e26698ac1c">00146</a>   <span class="keywordtype">int</span> ZShadows;
<a name="l00147"></a><a class="code" href="a00348.html#a3931eec34177855da63949df57deb42">00147</a>   <span class="keywordtype">int</span> TranslationMode;
<a name="l00148"></a><a class="code" href="a00348.html#0ce7607429a4e362ab8f9edf0bcb53a3">00148</a>   <span class="keywordtype">int</span> Wrap;
<a name="l00149"></a>00149   
<a name="l00150"></a>00150 <span class="keyword">private</span>:
<a name="l00151"></a>00151   <a class="code" href="a00348.html" title="generate a 3D cursor representation">vtkCursor3D</a>(<span class="keyword">const</span> <a class="code" href="a00348.html" title="generate a 3D cursor representation">vtkCursor3D</a>&amp;);  <span class="comment">// Not implemented.</span>
<a name="l00152"></a>00152   <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="a00348.html" title="generate a 3D cursor representation">vtkCursor3D</a>&amp;);  <span class="comment">// Not implemented.</span>
<a name="l00153"></a>00153 };
<a name="l00154"></a>00154 
<a name="l00155"></a>00155 <span class="preprocessor">#endif</span>
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 18:35:25 2009 for VTK by&nbsp;
<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>