<!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: vtkOpenGLPolyDataMapper2D 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>vtkOpenGLPolyDataMapper2D Class Reference</h1><!-- doxytag: class="vtkOpenGLPolyDataMapper2D" --><!-- doxytag: inherits="vtkPolyDataMapper2D" --><code>#include <<a class="el" href="a05287.html">vtkOpenGLPolyDataMapper2D.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for vtkOpenGLPolyDataMapper2D:</div> <div class="dynsection"> <p><center><img src="a12520.png" border="0" usemap="#a12521" alt="Inheritance graph"></center> <map name="a12521"> <area shape="rect" href="a01266.html" title="draw vtkPolyData onto the image plane" alt="" coords="32,379,189,405"><area shape="rect" href="a00985.html" title="abstract class specifies interface for objects which render 2D actors" alt="" coords="59,304,163,331"><area shape="rect" href="a00083.html" title="abstract class specifies interface to map data" alt="" coords="43,229,179,256"><area shape="rect" href="a00101.html" title="Superclass for all sources, filters, and sinks in VTK." alt="" coords="61,155,160,181"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="71,80,151,107"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="56,5,165,32"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <div class="dynheader"> Collaboration diagram for vtkOpenGLPolyDataMapper2D:</div> <div class="dynsection"> <p><center><img src="a12522.png" border="0" usemap="#a12523" alt="Collaboration graph"></center> <map name="a12523"> <area shape="rect" href="a01266.html" title="draw vtkPolyData onto the image plane" alt="" coords="3222,584,3379,611"><area shape="rect" href="a00985.html" title="abstract class specifies interface for objects which render 2D actors" alt="" coords="2330,690,2434,716"><area shape="rect" href="a00083.html" title="abstract class specifies interface to map data" alt="" coords="1911,699,2047,726"><area shape="rect" href="a00101.html" title="Superclass for all sources, filters, and sinks in VTK." alt="" coords="1176,772,1275,799"><area shape="rect" href="a00472.html" title="Superclass for all pipeline executives in VTK." alt="" coords="1579,796,1678,823"><area shape="rect" href="a01084.html" title="abstract base class for most VTK objects" alt="" coords="528,546,608,572"><area shape="rect" href="a00895.html" title="Store zero or more vtkInformation instances." alt="" coords="794,679,943,706"><area shape="rect" href="a00872.html" title="Store vtkAlgorithm input/output information." alt="" coords="814,52,923,79"><area shape="rect" href="a01886.html" title="window superclass for vtkRenderWindow" alt="" coords="1584,672,1672,699"><area shape="rect" href="a01715.html" title="Timer support and logging." alt="" coords="819,1104,918,1131"><area shape="rect" href="a00285.html" title="create and manipulate unsorted lists of objects" alt="" coords="1175,447,1276,474"><area shape="rect" href="a00286.html" title="vtkCollectionElement" alt="" coords="794,470,943,496"><area shape="rect" href="a00335.html" title="perform coordinate transformation, and represent position, in a variety of vtk coordinate..." alt="" coords="2934,534,3040,560"><area shape="rect" href="a01833.html" title="abstract specification for Viewports" alt="" coords="2738,410,2831,436"><area shape="rect" href="a01317.html" title="abstract superclass for all actors, volumes and annotations" alt="" coords="1944,318,2014,344"><area shape="rect" href="a00089.html" title="superclass for all geometric transformations" alt="" coords="792,1003,944,1030"><area shape="rect" href="a00998.html" title="represent and manipulate 4x4 transformation matrices" alt="" coords="819,895,918,922"><area shape="rect" href="a01513.html" title="map scalar values into colors" alt="" coords="1908,520,2050,547"><area shape="rect" href="a00081.html" title="Abstract superclass for all arrays." alt="" coords="1164,56,1287,83"><area shape="rect" href="a01085.html" title="abstract base class for most VTK objects" alt="" coords="91,71,200,98"><area shape="rect" href="a00884.html" title="internal structure for vtkInformation" alt="" coords="487,34,650,60"><area shape="rect" href="a00886.html" title="Superclass for vtkInformation keys." alt="" coords="254,71,384,98"><area shape="rect" href="a01719.html" title="record modification and/or execution time" alt="" coords="264,851,374,878"><area shape="rect" href="a00980.html" title="map scalar values into colors via a lookup table" alt="" coords="2182,122,2299,148"><area shape="rect" href="a00891.html" title="Key for pointer to pointer." alt="" coords="478,87,659,114"><area shape="rect" href="a01716.html" title="vtkTimerLogEntry" alt="" coords="503,1104,634,1131"><area shape="rect" href="a01225.html" title="maintain a list of planes" alt="" coords="1560,571,1696,598"><area shape="rect" href="a01321.html" title="a list of Props" alt="" coords="2176,355,2304,382"><area shape="rect" href="a00143.html" title="a list of nodes that form an assembly path" alt="" coords="2471,444,2596,471"><area shape="rect" href="a00144.html" title="a list of lists of props representing an assembly hierarchy" alt="" coords="1562,368,1695,395"><area shape="rect" href="a00094.html" title="a list of 2D actors" alt="" coords="2459,290,2608,316"><area shape="rect" href="a01723.html" title="describes linear transformations via a 4x4 matrix" alt="" coords="2188,916,2292,943"><area shape="rect" href="a00964.html" title="abstract superclass for linear transformations" alt="" coords="1908,896,2050,923"><area shape="rect" href="a00696.html" title="superclass for homogeneous transformations" alt="" coords="1130,956,1322,983"><area shape="rect" href="a01725.html" title="vtkTransformConcatenation" alt="" coords="1532,1007,1724,1034"><area shape="rect" href="a01730.html" title="vtkTransformPair" alt="" coords="1162,1007,1290,1034"><area shape="rect" href="a01548.html" title="vtkSimpleCriticalSection" alt="" coords="484,1020,652,1047"><area shape="rect" href="a01726.html" title="vtkTransformConcatenationStack" alt="" coords="1867,1011,2091,1038"><area shape="rect" href="a01784.html" title="dynamic, self-adjusting array of unsigned char" alt="" coords="1899,38,2059,64"><area shape="rect" href="a00356.html" title="abstract superclass for arrays of numeric data" alt="" coords="1578,51,1679,78"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <p> <a href="a12524.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> 2D PolyData support for OpenGL <p> <a class="el" href="a01115.html" title="2D PolyData support for OpenGL">vtkOpenGLPolyDataMapper2D</a> provides 2D PolyData annotation support for vtk under OpenGL. Normally the user should use <a class="el" href="a01266.html" title="draw vtkPolyData onto the image plane">vtkPolyDataMapper2D</a> which in turn will use this class.<p> <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="a01266.html" title="draw vtkPolyData onto the image plane">vtkPolyDataMapper2D</a> </dd></dl> <p>Definition at line <a class="el" href="a05287.html#l00031">31</a> of file <a class="el" href="a05287.html">vtkOpenGLPolyDataMapper2D.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="a01266.html">vtkPolyDataMapper2D</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a01115.html#c43ef0bb1f3d76cb66c113c107b5744f">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="a01115.html#e1342d5d2358f7fef1fa600ae23870f0">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="a01115.html#6e5e056ad6802bfa1a3221ca1d8c0f7d">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="a01115.html#bc88ddad7e0bcfe863ff89e84478c1a9">PrintSelf</a> (ostream &os, <a class="el" href="a00869.html">vtkIndent</a> indent)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="a01115.html#7f8843cfc5ca662788d572aba98686aa">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"><br><h2>Static Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="a01115.html#760642dafd0f872833b2b12b0841f0fb">IsTypeOf</a> (const char *type)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a01115.html">vtkOpenGLPolyDataMapper2D</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a01115.html#de11bf118c6849b109dc1e12436743fb">SafeDownCast</a> (<a class="el" href="a01084.html">vtkObject</a> *o)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="a01115.html">vtkOpenGLPolyDataMapper2D</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a01115.html#26749f22a30efa1efffe7dbb74ce6300">New</a> ()</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="a01115.html#680090f2aad2cd4bff18895efb76f6a0">vtkOpenGLPolyDataMapper2D</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a01115.html#c9ee4c3d1941415effb18163f39f5c5d">~vtkOpenGLPolyDataMapper2D</a> ()</td></tr> </table> <hr><h2>Member Typedef Documentation</h2> <a class="anchor" name="c43ef0bb1f3d76cb66c113c107b5744f"></a><!-- doxytag: member="vtkOpenGLPolyDataMapper2D::Superclass" ref="c43ef0bb1f3d76cb66c113c107b5744f" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef <a class="el" href="a01266.html">vtkPolyDataMapper2D</a> <a class="el" href="a01266.html">vtkOpenGLPolyDataMapper2D::Superclass</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Reimplemented from <a class="el" href="a01266.html#49dedd282de83504649da0d479596dd0">vtkPolyDataMapper2D</a>.</p> <p>Definition at line <a class="el" href="a05287.html#l00034">34</a> of file <a class="el" href="a05287.html">vtkOpenGLPolyDataMapper2D.h</a>.</p> </div> </div><p> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="680090f2aad2cd4bff18895efb76f6a0"></a><!-- doxytag: member="vtkOpenGLPolyDataMapper2D::vtkOpenGLPolyDataMapper2D" ref="680090f2aad2cd4bff18895efb76f6a0" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">vtkOpenGLPolyDataMapper2D::vtkOpenGLPolyDataMapper2D </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [inline, protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="a05287.html#l00042">42</a> of file <a class="el" href="a05287.html">vtkOpenGLPolyDataMapper2D.h</a>.</p> </div> </div><p> <a class="anchor" name="c9ee4c3d1941415effb18163f39f5c5d"></a><!-- doxytag: member="vtkOpenGLPolyDataMapper2D::~vtkOpenGLPolyDataMapper2D" ref="c9ee4c3d1941415effb18163f39f5c5d" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">vtkOpenGLPolyDataMapper2D::~vtkOpenGLPolyDataMapper2D </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [inline, protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="a05287.html#l00043">43</a> of file <a class="el" href="a05287.html">vtkOpenGLPolyDataMapper2D.h</a>.</p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="e1342d5d2358f7fef1fa600ae23870f0"></a><!-- doxytag: member="vtkOpenGLPolyDataMapper2D::GetClassName" ref="e1342d5d2358f7fef1fa600ae23870f0" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual const char* vtkOpenGLPolyDataMapper2D::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="a01266.html#6bf437230cb8eea9d9c58d0471c9e0fe">vtkPolyDataMapper2D</a>.</p> </div> </div><p> <a class="anchor" name="760642dafd0f872833b2b12b0841f0fb"></a><!-- doxytag: member="vtkOpenGLPolyDataMapper2D::IsTypeOf" ref="760642dafd0f872833b2b12b0841f0fb" args="(const char *type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static int vtkOpenGLPolyDataMapper2D::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="a01266.html#34a2748f963d2100ce7221b919e2d2ef">vtkPolyDataMapper2D</a>.</p> </div> </div><p> <a class="anchor" name="6e5e056ad6802bfa1a3221ca1d8c0f7d"></a><!-- doxytag: member="vtkOpenGLPolyDataMapper2D::IsA" ref="6e5e056ad6802bfa1a3221ca1d8c0f7d" args="(const char *type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual int vtkOpenGLPolyDataMapper2D::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="a01266.html#9318c93e6f12c607e5a0ec255f1da45c">vtkPolyDataMapper2D</a>.</p> </div> </div><p> <a class="anchor" name="de11bf118c6849b109dc1e12436743fb"></a><!-- doxytag: member="vtkOpenGLPolyDataMapper2D::SafeDownCast" ref="de11bf118c6849b109dc1e12436743fb" args="(vtkObject *o)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="a01115.html">vtkOpenGLPolyDataMapper2D</a>* vtkOpenGLPolyDataMapper2D::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="a01266.html#ab5487cf092a2980a98249eddaeeead3">vtkPolyDataMapper2D</a>.</p> </div> </div><p> <a class="anchor" name="26749f22a30efa1efffe7dbb74ce6300"></a><!-- doxytag: member="vtkOpenGLPolyDataMapper2D::New" ref="26749f22a30efa1efffe7dbb74ce6300" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="a01115.html">vtkOpenGLPolyDataMapper2D</a>* vtkOpenGLPolyDataMapper2D::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="a01266.html#95c9ae2c13e4e27c357e6301fc7a904b">vtkPolyDataMapper2D</a>.</p> </div> </div><p> <a class="anchor" name="bc88ddad7e0bcfe863ff89e84478c1a9"></a><!-- doxytag: member="vtkOpenGLPolyDataMapper2D::PrintSelf" ref="bc88ddad7e0bcfe863ff89e84478c1a9" args="(ostream &os, vtkIndent indent)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void vtkOpenGLPolyDataMapper2D::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="a01266.html#b31e0361fc2498437fc4569f4e4554ff">vtkPolyDataMapper2D</a>.</p> </div> </div><p> <a class="anchor" name="7f8843cfc5ca662788d572aba98686aa"></a><!-- doxytag: member="vtkOpenGLPolyDataMapper2D::RenderOverlay" ref="7f8843cfc5ca662788d572aba98686aa" args="(vtkViewport *viewport, vtkActor2D *actor)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void vtkOpenGLPolyDataMapper2D::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> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Actually draw the poly data. <p>Reimplemented from <a class="el" href="a00985.html#759288e10d41e4a267ee45b9946373e6">vtkMapper2D</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="a05287.html">vtkOpenGLPolyDataMapper2D.h</a></ul> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 3 19:20:39 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>