[vtkusers] error when creating filter for paraview

Vidya Raghavan vidya_raghavan at hotmail.com
Wed Oct 6 00:51:09 EDT 2004


Dear VTK and paraview users,

I'm trying to add my own VTK filter to Paraview, and am following the 
example PVLocal in the "Examples" folder supplied with Paraview code. I've 
attached the entire code, which has to be first built in CMake and the the 
.dsw is loaded in vc++ and compiled.

The filter functionaily right now is simple:

When I load a .vtp file in Paraview, I need to select my filter and it 
calculates the normals of the model data loaded. The code is in 
TrilateralFiltering.cxx in ExecuteData method.

When compiled, I get 2 errors:

:\vtkProjects\Paraview-plugins\PVTF\vtkTrilateralFiltering.cxx(52) : error 
C2039: 'AllocateOutputData' : is not a member of 'vtkTrilateralFiltering'
        C:\vtkProjects\Paraview-plugins\PVTF\vtkTrilateralFiltering.h(10) : 
see declaration of 'vtkTrilateralFiltering'
C:\vtkProjects\Paraview-plugins\PVTF\vtkTrilateralFiltering.cxx(56) : error 
C2039: 'GetOutput' : is not a member of 'vtkPolyData'


Please help!

Thanks.

_________________________________________________________________
Steam up your desktop! Get the hottest wallpapers. 
http://www.msn.co.in/cinema/ Right here at MSN movies!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PVTF.zip
Type: application/x-zip-compressed
Size: 4052 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20041006/f038b785/attachment.bin>


More information about the vtkusers mailing list