<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
I really do not understand how PV/VTK works!<div>I get this error:</div><div><br></div><div><div>ERROR: In /usr/local/ParaView-3.10.1/VTK/Filtering/vtkStreamingDemandDrivenPipeline.cxx, line 882</div><div>vtkPVPostFilterExecutive (0x12a1c6b00): The update extent specified in the information for output port 0 on algorithm vtkPVPostFilter(0x12a1c60c0) is 0 24 0 34 0 232, which is outside the whole extent 0 96 0 20 0 63.</div></div><div><br></div><div>but if I print the values at the end of RequestData() I get different values:</div><div><br></div><div><div> int uExtent[6];</div><div> this->GetExecutive()->GetOutputInformation(0)->Get(vtkStreamingDemandDrivenPipeline::WHOLE_EXTENT(), uExtent);</div><div> printf("Extent: %d", uExtent[0]);</div><div> for (int i=1 ; i<5 ; i++) printf(" %d", uExtent[i]);</div><div> printf(" %d\n", uExtent[5]);</div><div> this->GetExecutive()->GetOutputInformation(0)->Get(vtkStreamingDemandDrivenPipeline::UPDATE_EXTENT(), uExtent);</div><div> printf("Update: %d", uExtent[0]);</div><div> for (int i=1 ; i<5 ; i++) printf(" %d", uExtent[i]);</div><div> printf(" %d\n", uExtent[5]);</div><div><br></div><div>prints:</div><div><br></div><div><div>Extent: 0 24 0 34 0 232</div><div>Update: 0 24 0 34 0 232</div></div><div><br></div><div>Please help!</div><br><div><hr id="stopSpelling">From: stan1313@hotmail.fr<br>To: paraview@paraview.org<br>Date: Fri, 11 Nov 2011 12:08:24 +0100<br>Subject: [Paraview] Whole extend issue<br><br>
<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML">
<style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}
</style>
<div dir="ltr">
<div>Hello,</div><div>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.</div><div>I copy input0 to output0 like this:</div><div><br></div><div><div><div><div> vtkInformation *in0Info = inputVector[0]->GetInformationObject(0);</div><div> vtkStructuredGrid *in0 = vtkStructuredGrid::SafeDownCast(coarseInfo->Get(vtkDataObject::DATA_OBJECT()));</div><div> this->GetExecutive()->GetOutputData(0)->ShallowCopy(in0);</div></div><div></div></div></div><div><div> vtkInformation *in1Info = inputVector[1]->GetInformationObject(0);</div><div> vtkStructuredGrid *in1 = vtkStructuredGrid::SafeDownCast(coarseInfo->Get(vtkDataObject::DATA_OBJECT()));</div><div> this->GetExecutive()->GetOutputData(1)->ShallowCopy(in1);</div></div><div><br></div><div></div><div>but I get this error:</div><div><br></div><div><div>ERROR: In /usr/local/ParaView-3.10.1/VTK/Filtering/vtkStreamingDemandDrivenPipeline.cxx, line 882</div><div>vtkPVPostFilterExecutive (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.</div></div><div><br></div><div>Actually 0 24 0 34 0 232 are the dimensions of input0 and 0 96 0 20 0 63 are the dimensions of input1.</div><div>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?)</div><div><br></div>                                            </div>
<br>_______________________________________________
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</div></div>                                            </div></body>
</html>