[vtkusers] Derived class from vtkDataSetToStructuredGridFilter not calling Execute()

Oscar Yañez Suarez yaso at xanum.uam.mx
Mon Sep 25 11:54:31 EDT 2006


Hello vtkusers,

I would greatly appreciate your input regarding the following. I am deriving
a simple filter from the vtkDataSetToStructuredGridFilter class. Within the
Execute() method of the derived class, access to input and output sockets is
gained with standard calls such as:

  vtkDataSet* inp = this->GetInput();
  vtkStructuredGrid* out = this->GetOutput();

Then, the output object is built by using out->SetDimensions(..,),
out->SetPoints(...) and so on. However, I get nothing out. If Debug() is ON,
I never see the vtkDebugMacro messages I inserted in my code, which makes me
think that Execute() is not being called at all.  I don't see what is it
that I am overlooking. Thanks for any hints.

Oscar

-- 
Oscar Yanez Suarez
Laboratorio de Neuroimagenologia
Departamento de Ingenieria Electrica
UAM - Iztapalapa
http://docencia.izt.uam.mx/oys
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060925/223b4029/attachment.htm>


More information about the vtkusers mailing list