[Paraview] usage of vtkDataObjectToDataSetFilter
Utkarsh Ayachit
utkarsh.ayachit at kitware.com
Mon May 25 09:25:45 EDT 2009
Look at:
http://www.vtk.org/doc/nightly/html/classvtkDataObjectToDataSetFilter.html
The documentation describes the API for specifying which arrays to use for
points/cells etc.
Utkarsh
On Mon, May 25, 2009 at 5:17 AM, Natalie Happenhofer <
nataliehapp at hotmail.com> wrote:
> 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
>
>
>
>
>
> ------------------------------
> ¡Es hora que descubras quién eres! Alguien puede conocerte mejor que tu
> mismo. <http://www.descubrewindowslive.com/>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20090525/0f7bbbee/attachment.htm>
More information about the ParaView
mailing list