[Paraview] usage of vtkDataObjectToDataSetFilter
Natalie Happenhofer
nataliehapp at hotmail.com
Mon May 25 05:17:50 EDT 2009
Hi!
I´m trying to use the vtkDataSetObjectToDataSetFilter, but it doesn´t really work, this is my code:
vtkSmartPointer<vtkDataObject> inputCopy;
inputCopy.TakeReference(input->NewInstance());
inputCopy->ShallowCopy(input);
vtkDataObjectToDataSetFilter* DoToDS = vtkDataObjectToDataSetFilter::New();
DoToDS -> SetInput(inputCopy);
vtkDataSet* ds = DoToDS -> GetOutput();
DoToDS -> Update();
Compiling is ok, executing I get the following error:
ERROR: In .../ParaView-3.4.0/VTK/Graphics/vtkDataObjectToDataSetFilter.cxx, line 291
vtkDataObjectToDataSetFilter (0x1377fd00): Couldn't create any points
ERROR: In ../ParaView-3.4.0/VTK/Graphics/vtkDataObjectToDataSetFilter.cxx, line 560
vtkDataObjectToDataSetFilter (0x13787b30): Can't find array requested
It seems I need to specify more, but what? and how?
thx for help,
Natalie
_________________________________________________________________
¡Invita a todos tus amigos de una sola vez! Pruébalo ahora
http://www.microsoft.com/latam/windows/windowslive/products/social-network-connector.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20090525/3709a435/attachment.htm>
More information about the ParaView
mailing list