<!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: vtkOpenGLImageMapper Class Reference</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 class="current"><a href="classes.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="classes.html"><span>Alphabetical List</span></a></li> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> </div> <div class="contents"> <h1>vtkOpenGLImageMapper Class Reference</h1><!-- doxytag: class="vtkOpenGLImageMapper" --><!-- doxytag: inherits="vtkImageMapper" --><code>#include <<a class="el" href="a05282.html">vtkOpenGLImageMapper.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for vtkOpenGLImageMapper:</div> <div class="dynsection"> <p><center><img src="a12495.png" border="0" usemap="#a12496" alt="Inheritance graph"></center> <map name="a12496"> <area shape="rect" href="a00791.html" title="2D image display" alt="" coords="31,379,153,405"><area shape="rect" href="a00985.html" title="abstract class specifies interface for objects which render 2D actors" alt="" coords="40,304,144,331"><area shape="rect" href="a00083.html" title="abstract class specifies interface to map data" alt="" coords="24,229,160,256"><area shape="rect" href="a00101.html" title="Superclass for all sources, filters, and sinks in VTK." alt="" coords="43,155,141,181"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="52,80,132,107"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="37,5,147,32"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <div class="dynheader"> Collaboration diagram for vtkOpenGLImageMapper:</div> <div class="dynsection"> <p><center><img src="a12497.png" border="0" usemap="#a12498" alt="Collaboration graph"></center> <map name="a12498"> <area shape="rect" href="a00791.html" title="2D image display" alt="" coords="2004,199,2127,225"><area shape="rect" href="a00985.html" title="abstract class specifies interface for objects which render 2D actors" alt="" coords="1848,199,1952,225"><area shape="rect" href="a00083.html" title="abstract class specifies interface to map data" alt="" coords="1661,199,1797,225"><area shape="rect" href="a00101.html" title="Superclass for all sources, filters, and sinks in VTK." alt="" coords="1047,456,1145,483"><area shape="rect" href="a00472.html" title="Superclass for all pipeline executives in VTK." alt="" coords="1403,377,1501,404"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="444,295,524,321"><area shape="rect" href="a00895.html" title="Store zero or more vtkInformation instances." alt="" coords="684,359,833,385"><area shape="rect" href="a00872.html" title="Store vtkAlgorithm input/output information." alt="" coords="704,515,813,541"><area shape="rect" href="a01886.html" title="window superclass for vtkRenderWindow" alt="" coords="883,61,971,88"><area shape="rect" href="a01715.html" title="Timer support and logging." alt="" coords="709,244,808,271"><area shape="rect" href="a00285.html" title="create and manipulate unsorted lists of objects" alt="" coords="1045,172,1147,199"><area shape="rect" href="a00286.html" title="vtkCollectionElement" alt="" coords="684,193,833,220"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="7,467,116,493"><area shape="rect" href="a00884.html" title="internal structure for vtkInformation" alt="" coords="403,515,565,541"><area shape="rect" href="a00886.html" title="Superclass for vtkInformation keys." alt="" coords="169,528,300,555"><area shape="rect" href="a01719.html" title="record modification and/or execution time" alt="" coords="180,295,289,321"><area shape="rect" href="a00891.html" title="Key for pointer to pointer." alt="" coords="393,565,575,592"><area shape="rect" href="a01716.html" title="vtkTimerLogEntry" alt="" coords="419,8,549,35"><area shape="rect" href="a01225.html" title="maintain a list of planes" alt="" coords="1384,172,1520,199"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <p> <a href="a12499.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> 2D image display support for OpenGL <p> <a class="el" href="a01110.html" title="2D image display support for OpenGL">vtkOpenGLImageMapper</a> is a concrete subclass of <a class="el" href="a00791.html" title="2D image display">vtkImageMapper</a> that renders images under OpenGL<p> <dl class="warning" compact><dt><b>Warning:</b></dt><dd><a class="el" href="a01110.html" title="2D image display support for OpenGL">vtkOpenGLImageMapper</a> does not support <a class="el" href="a00169.html" title="dynamic, self-adjusting array of bits">vtkBitArray</a>, you have to convert the array first to <a class="el" href="a01784.html" title="dynamic, self-adjusting array of unsigned char">vtkUnsignedCharArray</a> (for example)</dd></dl> <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="a00791.html" title="2D image display">vtkImageMapper</a> </dd></dl> <p>Definition at line <a class="el" href="a05282.html#l00037">37</a> of file <a class="el" href="a05282.html">vtkOpenGLImageMapper.h</a>.</p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Types</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="a00791.html">vtkImageMapper</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a01110.html#5ff0dde6ae0e8261cbf5e9d531cd89ef">Superclass</a></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="a01110.html#6532a6f5a40cf18090e4bf68088f1b96">GetClassName</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="a01110.html#c415820d2895b36155535b171ae4925f">IsA</a> (const char *type)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="a01110.html#18560a985b0274d798dfa68bde53981c">PrintSelf</a> (ostream &os, <a class="el" href="a00869.html">vtkIndent</a> indent)</td></tr> <tr><td colspan="2"><div class="groupHeader"></div></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a01110.html#16c725d20074c9f1c89612440e1a298f">RenderOverlay</a> (<a class="el" href="a01833.html">vtkViewport</a> *viewport, <a class="el" href="a00093.html">vtkActor2D</a> *actor)</td></tr> <tr><td colspan="2"><div class="groupHeader"></div></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a01110.html#1c2088fbbb5fd8c6fc4b6357207151a2">RenderData</a> (<a class="el" href="a01833.html">vtkViewport</a> *viewport, <a class="el" href="a00751.html">vtkImageData</a> *data, <a class="el" href="a00093.html">vtkActor2D</a> *actor)</td></tr> <tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a01110.html">vtkOpenGLImageMapper</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a01110.html#f7e1adf73f7377654674d6c73f941597">New</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="a01110.html#2d95d0fe32270f24cbd1d96d792f6d4e">IsTypeOf</a> (const char *type)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a01110.html">vtkOpenGLImageMapper</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a01110.html#c7060de6d7c0f3aad4e48f00d4020333">SafeDownCast</a> (<a class="el" href="a01084.html">vtkObject</a> *o)</td></tr> <tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a01110.html#f4377dccb1fe26394bf0902caf22fc36">vtkOpenGLImageMapper</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a01110.html#1da57540e3f336dea77ea3f0712865cc">~vtkOpenGLImageMapper</a> ()</td></tr> </table> <hr><h2>Member Typedef Documentation</h2> <a class="anchor" name="5ff0dde6ae0e8261cbf5e9d531cd89ef"></a><!-- doxytag: member="vtkOpenGLImageMapper::Superclass" ref="5ff0dde6ae0e8261cbf5e9d531cd89ef" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef <a class="el" href="a00791.html">vtkImageMapper</a> <a class="el" href="a00791.html">vtkOpenGLImageMapper::Superclass</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Reimplemented from <a class="el" href="a00791.html#492433d14bedd936a0e26b8307b50d71">vtkImageMapper</a>.</p> <p>Definition at line <a class="el" href="a05282.html#l00041">41</a> of file <a class="el" href="a05282.html">vtkOpenGLImageMapper.h</a>.</p> </div> </div><p> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="f4377dccb1fe26394bf0902caf22fc36"></a><!-- doxytag: member="vtkOpenGLImageMapper::vtkOpenGLImageMapper" ref="f4377dccb1fe26394bf0902caf22fc36" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">vtkOpenGLImageMapper::vtkOpenGLImageMapper </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="1da57540e3f336dea77ea3f0712865cc"></a><!-- doxytag: member="vtkOpenGLImageMapper::~vtkOpenGLImageMapper" ref="1da57540e3f336dea77ea3f0712865cc" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">vtkOpenGLImageMapper::~vtkOpenGLImageMapper </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="f7e1adf73f7377654674d6c73f941597"></a><!-- doxytag: member="vtkOpenGLImageMapper::New" ref="f7e1adf73f7377654674d6c73f941597" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="a01110.html">vtkOpenGLImageMapper</a>* vtkOpenGLImageMapper::New </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Create an object with Debug turned off, modified time initialized to zero, and reference counting on. <p>Reimplemented from <a class="el" href="a00791.html#606934814ff8a247e1c323ba3fecb93e">vtkImageMapper</a>.</p> </div> </div><p> <a class="anchor" name="6532a6f5a40cf18090e4bf68088f1b96"></a><!-- doxytag: member="vtkOpenGLImageMapper::GetClassName" ref="6532a6f5a40cf18090e4bf68088f1b96" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual const char* vtkOpenGLImageMapper::GetClassName </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Reimplemented from <a class="el" href="a00791.html#32dab270d0492ffa0445a48916ed6918">vtkImageMapper</a>.</p> </div> </div><p> <a class="anchor" name="2d95d0fe32270f24cbd1d96d792f6d4e"></a><!-- doxytag: member="vtkOpenGLImageMapper::IsTypeOf" ref="2d95d0fe32270f24cbd1d96d792f6d4e" args="(const char *type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static int vtkOpenGLImageMapper::IsTypeOf </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>name</em> </td> <td> ) </td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. <p>Reimplemented from <a class="el" href="a00791.html#ec968b131543b1efe0f1f14158268fee">vtkImageMapper</a>.</p> </div> </div><p> <a class="anchor" name="c415820d2895b36155535b171ae4925f"></a><!-- doxytag: member="vtkOpenGLImageMapper::IsA" ref="c415820d2895b36155535b171ae4925f" args="(const char *type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual int vtkOpenGLImageMapper::IsA </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>name</em> </td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. <p>Reimplemented from <a class="el" href="a00791.html#c2a8f0dee2a252eac628c772bb29068f">vtkImageMapper</a>.</p> </div> </div><p> <a class="anchor" name="c7060de6d7c0f3aad4e48f00d4020333"></a><!-- doxytag: member="vtkOpenGLImageMapper::SafeDownCast" ref="c7060de6d7c0f3aad4e48f00d4020333" args="(vtkObject *o)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="a01110.html">vtkOpenGLImageMapper</a>* vtkOpenGLImageMapper::SafeDownCast </td> <td>(</td> <td class="paramtype"><a class="el" href="a01084.html">vtkObject</a> * </td> <td class="paramname"> <em>o</em> </td> <td> ) </td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Reimplemented from <a class="el" href="a00791.html#31c711aece1da4e15fce5ad81c7ad86f">vtkImageMapper</a>.</p> </div> </div><p> <a class="anchor" name="18560a985b0274d798dfa68bde53981c"></a><!-- doxytag: member="vtkOpenGLImageMapper::PrintSelf" ref="18560a985b0274d798dfa68bde53981c" args="(ostream &os, vtkIndent indent)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void vtkOpenGLImageMapper::PrintSelf </td> <td>(</td> <td class="paramtype">ostream & </td> <td class="paramname"> <em>os</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a00869.html">vtkIndent</a> </td> <td class="paramname"> <em>indent</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use <a class="el" href="a01085.html#edadf6378465fd81c2592ef64262e2a5">Print()</a> instead) but used in the hierarchical print process to combine the output of several classes. <p>Reimplemented from <a class="el" href="a00791.html#bd731316b9b21e904995d6ae6a1d8039">vtkImageMapper</a>.</p> </div> </div><p> <a class="anchor" name="16c725d20074c9f1c89612440e1a298f"></a><!-- doxytag: member="vtkOpenGLImageMapper::RenderOverlay" ref="16c725d20074c9f1c89612440e1a298f" args="(vtkViewport *viewport, vtkActor2D *actor)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void vtkOpenGLImageMapper::RenderOverlay </td> <td>(</td> <td class="paramtype"><a class="el" href="a01833.html">vtkViewport</a> * </td> <td class="paramname"> <em>viewport</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a00093.html">vtkActor2D</a> * </td> <td class="paramname"> <em>actor</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Handle the render method. <p>Reimplemented from <a class="el" href="a00985.html#759288e10d41e4a267ee45b9946373e6">vtkMapper2D</a>.</p> <p>Definition at line <a class="el" href="a05282.html#l00046">46</a> of file <a class="el" href="a05282.html">vtkOpenGLImageMapper.h</a>.</p> </div> </div><p> <a class="anchor" name="1c2088fbbb5fd8c6fc4b6357207151a2"></a><!-- doxytag: member="vtkOpenGLImageMapper::RenderData" ref="1c2088fbbb5fd8c6fc4b6357207151a2" args="(vtkViewport *viewport, vtkImageData *data, vtkActor2D *actor)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void vtkOpenGLImageMapper::RenderData </td> <td>(</td> <td class="paramtype"><a class="el" href="a01833.html">vtkViewport</a> * </td> <td class="paramname"> <em>viewport</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a00751.html">vtkImageData</a> * </td> <td class="paramname"> <em>data</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="a00093.html">vtkActor2D</a> * </td> <td class="paramname"> <em>actor</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Called by the Render function in <a class="el" href="a00791.html" title="2D image display">vtkImageMapper</a>. Actually draws the image to the screen. <p>Implements <a class="el" href="a00791.html#60dc796a05cd36849e5e7d0e5e92cf0e">vtkImageMapper</a>.</p> </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li>dox/Rendering/<a class="el" href="a05282.html">vtkOpenGLImageMapper.h</a></ul> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 19:20:29 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>