vtkStructuredPointsToPolyDataFilter class

tarifa tarifa at rpi.edu
Mon Jan 17 16:54:11 EST 2000

I'm a new user of the VTK. So, execuse me for the trivial question.

I'm trying to visualize a vtkStructuredPoints by converting the
vtkStructuredPoints to vtkPolyData by using the
vtkStructuredPointsToPolyDataFilter and then using the vtkPolyDataMapper.
However, each time I try to render I get the following run-time error:
(ERROR: In D:\vtk\graphics\vtkFilter.cxx, line 120
vtkStructuredPointsToPolyDataFilter (0x00D9ABC0): Execution of filter shoule be
in derived class.)

Can anyone tell me why I'm getting this error? (I know that vtkFilter is a
superclass of this filter. It seems that I have to write the code for the
function Execute() my self???)
Can anyone tell me how to render vtkStructuredPoints?


Asad A. Abu-Tarif
ps. The code is attached to this email.
ps. I'm using version 2.3 with VC++ version 6, sp3 under Windows NT. I'm also
using the document/view architecture (althoug I beleivethis is irrelevant).

Asad A. Abu-Tarif
3-D Image Registration.
PhD student, ECSE Rensselaer Polytechnic Institute (RPI).
MS, ECSE Rensselaer Polytechnis Institute (RPI).
Bsc, EE The University of Jordan.
tarifa at rpi.edu

vol = vtkStructuredPoints::New();
sp = 1.0/25.0;
vol->SetSpacing(sp, sp, sp);

scalars = vtkScalars::New();
// Fill the scalars


polyVol = vtkStructuredPointsToPolyDataFilter::New();

volMapper = vtkPolyDataMapper::New();
GetDocument()->volActor = vtkActor::New();

This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.

More information about the vtkusers mailing list