[Paraview] Problem in creating slice from vtkMultiBlockDataSet with cell data

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Fri Mar 14 08:59:44 EDT 2008


Do you have blocks that overlap in space?

Utkarsh

OSHIMA Takuya wrote:
> Hi,
> 
> I have a vtkMultiBlockDataSet with cell data where member dataset 0
> represents internal volumetric mesh (a vtkUnstructuredGrid) and
> dataset >= 1 represent surface patch mesh (vtkUnstructuredGrids with only
> tris/quads/polygons -- I might be able to use vtkPolyData instead but
> it's another story) of the volume.
> 
> The problem is, if I try to create a sliced plane from the multi-block
> dataset with Filter->Slice and colorize with cell data, the sliced
> plane is colorized in shuffled colors, as shown in the attached
> slice.png. However if I extract only the volumetric mesh with Extract
> Block either before or after creating the slice, the sliced plane is
> colored as expected (extractBlockAfterSlice.png). To add more, point
> data are also always colored as expected, and I have no such problem
> in creating a clip.
> 
> I'm having this problem on both 3.2.1 (with now obsoleted
> vtkMultiGroupDataSet) and the CVS head. What am I doing wrong in
> creating the multi block dataset?
> 
> Thanks,
> Takuya
> 
> 
> ------------------------------------------------------------------------
> 
> 
> ------------------------------------------------------------------------
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview


More information about the ParaView mailing list