Sophie

Sophie

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

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/Rendering/vtkLightActor.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/Rendering/vtkLightActor.h</h1><a href="a03450.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: vtkLightActor.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="l00039"></a>00039 <span class="preprocessor">#ifndef __vtkLightActor_h</span>
<a name="l00040"></a>00040 <span class="preprocessor"></span><span class="preprocessor">#define __vtkLightActor_h</span>
<a name="l00041"></a>00041 <span class="preprocessor"></span>
<a name="l00042"></a>00042 <span class="preprocessor">#include "<a class="code" href="a03522.html">vtkProp3D.h</a>"</span>
<a name="l00043"></a>00043 
<a name="l00044"></a>00044 <span class="keyword">class </span><a class="code" href="a00954.html" title="a virtual light for 3D rendering">vtkLight</a>;
<a name="l00045"></a>00045 <span class="keyword">class </span><a class="code" href="a00316.html" title="generate polygonal cone">vtkConeSource</a>;
<a name="l00046"></a>00046 <span class="keyword">class </span><a class="code" href="a01265.html" title="map vtkPolyData to graphics primitives">vtkPolyDataMapper</a>;
<a name="l00047"></a>00047 <span class="keyword">class </span><a class="code" href="a00092.html" title="represents an object (geometry &amp;amp; properties) in a rendered scene">vtkActor</a>;
<a name="l00048"></a>00048 <span class="keyword">class </span><a class="code" href="a00227.html" title="a virtual camera for 3D rendering">vtkCamera</a>;
<a name="l00049"></a>00049 <span class="keyword">class </span><a class="code" href="a00228.html" title="a frustum to represent a camera.">vtkCameraActor</a>;
<a name="l00050"></a>00050 <span class="keyword">class </span><a class="code" href="a00194.html" title="Fast Simple Class for dealing with 3D bounds.">vtkBoundingBox</a>;
<a name="l00051"></a>00051 
<a name="l00052"></a><a class="code" href="a00955.html">00052</a> <span class="keyword">class </span><a class="code" href="a02170.html#4019f67b2e7d601f2cf984e448308dbb">VTK_RENDERING_EXPORT</a> <a class="code" href="a00955.html" title="a cone and a frustum to represent a spotlight.">vtkLightActor</a> : <span class="keyword">public</span> <a class="code" href="a01318.html" title="represents an 3D object for placement in a rendered scene">vtkProp3D</a>
<a name="l00053"></a>00053 {
<a name="l00054"></a>00054 <span class="keyword">public</span>:
<a name="l00055"></a>00055   <span class="keyword">static</span> <a class="code" href="a00955.html" title="a cone and a frustum to represent a spotlight.">vtkLightActor</a> *<a class="code" href="a01084.html#4d5b227267c076d6f9e38483370b6612">New</a>();
<a name="l00056"></a><a class="code" href="a00955.html#f1d6de353d6e4a2f531ffdad86213eb2">00056</a>   vtkTypeRevisionMacro(<a class="code" href="a00955.html" title="a cone and a frustum to represent a spotlight.">vtkLightActor</a>,<a class="code" href="a01318.html" title="represents an 3D object for placement in a rendered scene">vtkProp3D</a>);
<a name="l00057"></a>00057   <span class="keywordtype">void</span> <a class="code" href="a01318.html#fc4c78b78843229db37631fdb24481f9">PrintSelf</a>(ostream&amp; os, <a class="code" href="a00869.html" title="a simple class to control print indentation">vtkIndent</a> indent);
<a name="l00058"></a>00058 
<a name="l00060"></a>00060 
<a name="l00061"></a>00061   <span class="keywordtype">void</span> SetLight(<a class="code" href="a00954.html" title="a virtual light for 3D rendering">vtkLight</a> *light);
<a name="l00062"></a>00062   vtkGetObjectMacro(Light,<a class="code" href="a00954.html" title="a virtual light for 3D rendering">vtkLight</a>);
<a name="l00064"></a>00064   
<a name="l00066"></a>00066 
<a name="l00069"></a>00069   <span class="keywordtype">void</span> SetClippingRange(<span class="keywordtype">double</span> dNear,
<a name="l00070"></a>00070                         <span class="keywordtype">double</span> dFar);
<a name="l00071"></a>00071   <span class="keywordtype">void</span> SetClippingRange(<span class="keyword">const</span> <span class="keywordtype">double</span> a[2]);
<a name="l00072"></a>00072   vtkGetVector2Macro(ClippingRange,<span class="keywordtype">double</span>);
<a name="l00074"></a>00074   
<a name="l00076"></a>00076   <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a01317.html#4d7c8be45744400fba096728ce81f33a">RenderOpaqueGeometry</a>(<a class="code" href="a01833.html" title="abstract specification for Viewports">vtkViewport</a> *viewport);
<a name="l00077"></a>00077 
<a name="l00079"></a>00079   <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="a01317.html#6e32af79f4756a287a61017b7c2f7364">HasTranslucentPolygonalGeometry</a>();
<a name="l00080"></a>00080 
<a name="l00084"></a>00084   <span class="keywordtype">void</span> <a class="code" href="a01317.html#f2034bece75524dfa42553396d208a22">ReleaseGraphicsResources</a>(<a class="code" href="a01886.html" title="window superclass for vtkRenderWindow">vtkWindow</a> *);
<a name="l00085"></a>00085 
<a name="l00087"></a>00087   <span class="keywordtype">double</span> *<a class="code" href="a01318.html#ac58a1c4708c1e130f65f2330ab31fb6">GetBounds</a>();
<a name="l00088"></a>00088 
<a name="l00090"></a>00090   <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <span class="keywordtype">int</span> <a class="code" href="a01318.html#f0fcdb7fa72e053d7fb32a1828117c62">GetMTime</a>();
<a name="l00091"></a>00091   
<a name="l00092"></a>00092 <span class="keyword">protected</span>:
<a name="l00093"></a>00093   <a class="code" href="a00955.html" title="a cone and a frustum to represent a spotlight.">vtkLightActor</a>();
<a name="l00094"></a>00094   ~<a class="code" href="a00955.html" title="a cone and a frustum to represent a spotlight.">vtkLightActor</a>();
<a name="l00095"></a>00095   
<a name="l00096"></a>00096   <span class="keywordtype">void</span> UpdateViewProps();
<a name="l00097"></a>00097   
<a name="l00098"></a><a class="code" href="a00955.html#2cb2f944f75ba4ee9ba89a34abc2da80">00098</a>   <a class="code" href="a00954.html" title="a virtual light for 3D rendering">vtkLight</a> *Light;
<a name="l00099"></a><a class="code" href="a00955.html#4ea157214069c56c22966ded3ef6be6c">00099</a>   <span class="keywordtype">double</span> ClippingRange[2];
<a name="l00100"></a>00100   
<a name="l00101"></a><a class="code" href="a00955.html#5b50e09d38cd18d1dd46db1fb00c5365">00101</a>   <a class="code" href="a00316.html" title="generate polygonal cone">vtkConeSource</a> *ConeSource;
<a name="l00102"></a><a class="code" href="a00955.html#4aeae56f08807042313958d36885dbeb">00102</a>   <a class="code" href="a01265.html" title="map vtkPolyData to graphics primitives">vtkPolyDataMapper</a> *ConeMapper;
<a name="l00103"></a><a class="code" href="a00955.html#7fe35dcc2bcffc994665cd93ac430656">00103</a>   <a class="code" href="a00092.html" title="represents an object (geometry &amp;amp; properties) in a rendered scene">vtkActor</a> *ConeActor;
<a name="l00104"></a>00104   
<a name="l00105"></a><a class="code" href="a00955.html#07099b9d47f947606f90a4bf07446f0f">00105</a>   <a class="code" href="a00227.html" title="a virtual camera for 3D rendering">vtkCamera</a> *CameraLight;
<a name="l00106"></a><a class="code" href="a00955.html#43fcef7a8373eb7c6d7a8f3312ab59ba">00106</a>   <a class="code" href="a00228.html" title="a frustum to represent a camera.">vtkCameraActor</a> *FrustumActor;
<a name="l00107"></a>00107 
<a name="l00108"></a><a class="code" href="a00955.html#bc35d8d2ffaf516012f624c7696a1fb5">00108</a>   <a class="code" href="a00194.html" title="Fast Simple Class for dealing with 3D bounds.">vtkBoundingBox</a> *BoundingBox;
<a name="l00109"></a>00109   
<a name="l00110"></a>00110 <span class="keyword">private</span>:
<a name="l00111"></a>00111   <a class="code" href="a00955.html" title="a cone and a frustum to represent a spotlight.">vtkLightActor</a>(<span class="keyword">const</span> <a class="code" href="a00955.html" title="a cone and a frustum to represent a spotlight.">vtkLightActor</a>&amp;);  <span class="comment">// Not implemented.</span>
<a name="l00112"></a>00112   <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="a00955.html" title="a cone and a frustum to represent a spotlight.">vtkLightActor</a>&amp;);  <span class="comment">// Not implemented.</span>
<a name="l00113"></a>00113 };
<a name="l00114"></a>00114 
<a name="l00115"></a>00115 <span class="preprocessor">#endif</span>
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 18:35:47 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>