<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=905470215-23032006><FONT face="Courier New" 
color=#800000 size=2>The vtkDisplayListPainter works in conjunction with another 
painter.&nbsp; Assuming immediate mode rendering is off, the first call to 
vtkDisplayListPainter::Render compiles a display list by calling Render on 
another painter wrapped around glNewList and glEndList.&nbsp; Subsequent calls 
to vtkDisplayListPainter::Render simply call the display list created to 
effectively do what the other painter would render, but 
faster.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=905470215-23032006><FONT face="Courier New" 
color=#800000 size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=905470215-23032006><FONT face="Courier New" 
color=#800000 size=2>vtkDisplayListPainter generally speeds up the rendering of 
any other painter, although there is a penalty of extra memory consumption and 
an added overhead every time the data changes.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=905470215-23032006><FONT face="Courier New" 
color=#800000 size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=905470215-23032006><FONT face="Courier New" 
color=#800000 size=2>-Ken</FONT></SPAN></DIV><BR>
<BLOCKQUOTE dir=ltr 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #800000 2px solid; MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
  <HR tabIndex=-1>
  <FONT face=Tahoma size=2><B>From:</B> 
  vtkusers-bounces+kmorel=sandia.gov@vtk.org 
  [mailto:vtkusers-bounces+kmorel=sandia.gov@vtk.org] <B>On Behalf Of </B>Imran 
  Ahmed Khan<BR><B>Sent:</B> Thursday, March 23, 2006 6:45 AM<BR><B>To:</B> 
  vtkusers@vtk.org<BR><B>Subject:</B> [vtkusers] Purpose of 
  vtkDisplayListPainter<BR></FONT><BR></DIV>
  <DIV></DIV>
  <DIV>Hi all,</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Can someone expert in vtk tell me that what is the true purpose of 
  vtkDisplayListPainter class, does it improve the rendering of identical 
  Polyhedrons/Polygons obtained my transformation matrices. How can I use it (as 
  there is no example present). What does 
  vtkDisplayListPainter-&gt;Render(vtkRenderer *renderer,&nbsp;vtkActor *actor, 
  unsigned long typeflags) do ? its a function present in the super 
  classes(vtkPainter, vtkPolyDataPainter) of vtkDisplayListPainter. </DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Can someone please help me out ?</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>Best Regards,</DIV>
  <DIV>Imran Ahmed Khan.</DIV></BLOCKQUOTE></BODY></HTML>