[vtkusers] Understanding vtkAppendFilter ; interesting results..
rccm.kyoshimi at gmail.com
Wed Aug 8 20:18:50 EDT 2018
I can't replicate this problem with VTK 8.1. These outputs(output.vtk)
have the same number of cells 960,000 and they are both shown properly
in ParaView. Even though I directly appends a vtkStructuredGrid data
into vtkAppendFilter, this works.
>vtkSmartPointer<vtkStructuredGrid> sgrid = createGrid(i, i+10, j,j+10, k, k+10);
Is this problem caused by the incorrect rendering?
2018年8月9日(木) 0:56 Fcs <ftpronk at engits.com>:
> Hello Chiranjib,
> Unfortunately that's not of any help, no. The cell connectivity of the
> vtkStructuredGrid is known and calling SetPoints() is enough to create a
> grid with all the correct connectivity, so I shouldn't have to insert new
> cells. On top of it, the class doesn't have an InsertNextCell() method.
> So I'm still trying to understand why I have to copy my vtkStructuredGrid to
> a vtkUnstructuredGrid to have the vtkAppendFilter work correctly.
> The vtkAppendFilter documentation doesn't specify that a
> vtk*Un*structuredGrid is required for it to work properly. It just states
> that it will append datasets together into a vtkUnstructuredGrid..
> Kind regards,
> Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html
> 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 VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Search the list archives at: http://markmail.org/search/?q=vtkusers
> Follow this link to subscribe/unsubscribe:
More information about the vtkusers