[Paraview] Whole extend issue

Fred Fred stan1313 at hotmail.fr
Fri Nov 11 06:08:24 EST 2011


Hello,I have a filter inherited from vtkUnstructuredGridAlgorithm, with 2 inputs of type vtkStructuredGrid and 3 outputs, 1 and 2 are just copies of the input and the third one is of type vtkUnstructuredGrid.I copy input0 to output0 like this:
  vtkInformation *in0Info = inputVector[0]->GetInformationObject(0);  vtkStructuredGrid *in0 = vtkStructuredGrid::SafeDownCast(coarseInfo->Get(vtkDataObject::DATA_OBJECT()));  this->GetExecutive()->GetOutputData(0)->ShallowCopy(in0);  vtkInformation *in1Info = inputVector[1]->GetInformationObject(0);  vtkStructuredGrid *in1 = vtkStructuredGrid::SafeDownCast(coarseInfo->Get(vtkDataObject::DATA_OBJECT()));  this->GetExecutive()->GetOutputData(1)->ShallowCopy(in1);
but I get this error:
ERROR: In /usr/local/ParaView-3.10.1/VTK/Filtering/vtkStreamingDemandDrivenPipeline.cxx, line 882vtkPVPostFilterExecutive (0x12c3e58d0): The update extent specified in the information for output port 0 on algorithm vtkPVPostFilter(0x12c3e4e90) is 0 24 0 34 0 232, which is outside the whole extent 0 96 0 20 0 63.
Actually 0 24 0 34 0 232 are the dimensions of input0 and 0 96 0 20 0 63 are the dimensions of input1.So I do not understand why extends of input1 are considered as the "whole extend" (BTW what is the "whole extend"? whole extend of the multblock dataset?)
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20111111/5dc8464f/attachment.htm>


More information about the ParaView mailing list