<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18812"><LINK rel=stylesheet 
href="BLOCKQUOTE{margin-Top: 0px; margin-Bottom: 0px; margin-Left: 2em}"></HEAD>
<BODY style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt">
<DIV><FONT size=2 face=Verdana>I write a filter class just like the 
vtkAppendFilter ,and change a little on the mothod <STRONG>RequestData</STRONG> 
..My class&nbsp;also&nbsp;inherited from vtkUnstructuredGridAlgorithm .I did the 
job all&nbsp;on windows vs2008.</FONT>The vtkAppendFilter.h defines the class 
with VTK_GRAPHICS_EXPORT which means __declspec(&nbsp;dllimport&nbsp;) on my 
computer,but if I used that macro to define my own filter class it would met 
some link errors .If I use the macro VTK_EXPORT&nbsp;or&nbsp;did not use 
macro&nbsp;to &nbsp;define my filter class ,it can complie well,but it did not 
work.I tried the debug.I found it would not invoke my RequestData function at 
all,and the&nbsp;it would&nbsp;not invoke 
vtkUnstructuredGridAlgorithm'RequestData methord either.The program invoked 
the&nbsp;method RequestData form vtkAlgorithm class directly.I don't know why? 
what&nbsp;should I do if want to define my own filter? Thanks a lot!</DIV>
<DIV><FONT size=2 face=Verdana></FONT>&nbsp;</DIV>
<DIV align=left><FONT color=#c0c0c0 size=2 face=Verdana>2009-09-21 
</FONT></DIV><FONT size=2 face=Verdana>
<HR style="WIDTH: 122px; HEIGHT: 2px" align=left SIZE=2>

<DIV><FONT color=#c0c0c0 size=2 face=Verdana><SPAN>young_jh123</SPAN>&nbsp; 
</FONT></DIV></FONT></BODY></HTML>