<!-- This file has been automatically generated. See web/README.md -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body>
<div id="compose-container" style="direction: ltr" itemscope="" itemtype="https://schema.org/EmailMessage">
<span itemprop="creator" itemscope="" itemtype="https://schema.org/Organization"><span itemprop="name" content="Outlook Mobile for iOS"></span></span>
<div>
<div style="direction: ltr;">If my memory is correct vtkTubeFilter generates cells of type TriangleStrip while boolean filters required Triangle cell. </div>
<div><br>
</div>
<div style="direction: ltr;">Try passing the tubes through a vtkTriangleFilter first. A vtkCleanPolydata and a vtkPolydataNormals wouldn’t hurt too.</div>
<div><br>
</div>
<div style="direction: ltr;">Jonathan</div>
<div><br>
</div>
<div class="acompli_signature">Get <a href="https://aka.ms/o0ukef">Outlook for iOS</a></div>
<div class="gmail_quote">_____________________________<br>
From: alican <alican1812@hotmail.com><br>
Sent: Sunday, April 1, 2018 04:12<br>
Subject: [vtkusers] vtkBooleanOperationPolyDataFilter crashes while trying to intersect 2 vtkTubeFilter outputs<br>
To: <vtkusers@vtk.org><br>
<br>
<br>
Each time I am trying vtkBooleanOperationPolyDataFilter on 2 vtkTubeFilter<br>
outputs it crashes.<br>
<br>
If I replace vtkBooleanOperationPolyDataFilte with<br>
vtkLoopBooleanPolyDataFilter, I am getting the following warning and no<br>
results:<br>
<br>
Warning: In<br>
D:\Projects\VTK-8.0.1\Filters\General\vtkIntersectionPolyDataFilter.cxx,<br>
line 1668<br>
vtkIntersectionPolyDataFilter (000001FB21E09CD0): No cell with correct<br>
orientation found<br>
<br>
ERROR: In D:\Projects\VTK-8.0.1\Common\ExecutionModel\vtkExecutive.cxx, line<br>
784<br>
vtkCompositeDataPipeline (000001FB1DE385A0): Algorithm<br>
vtkIntersectionPolyDataFilter(000001FB21E09CD0) returned failure for<br>
request: vtkInformation (000001FB20E7EEA0)<br>
Debug: Off<br>
Modified Time: 177376<br>
Reference Count: 1<br>
Registered Events: (none)<br>
Request: REQUEST_DATA<br>
FORWARD_DIRECTION: 0<br>
FROM_OUTPUT_PORT: 0<br>
ALGORITHM_AFTER_FORWARD: 1<br>
<br>
ERROR: In D:\Projects\VTK-8.0.1\Common\ExecutionModel\vtkExecutive.cxx, line<br>
784<br>
vtkCompositeDataPipeline (000001FB1DE38B90): Algorithm<br>
vtkLoopBooleanPolyDataFilter(000001FB2EEE8A90) returned failure for request:<br>
vtkInformation (000001FB211E9440)<br>
Debug: Off<br>
Modified Time: 177119<br>
Reference Count: 1<br>
Registered Events: (none)<br>
Request: REQUEST_DATA<br>
FORWARD_DIRECTION: 0<br>
FROM_OUTPUT_PORT: 0<br>
ALGORITHM_AFTER_FORWARD: 1<br>
<br>
<br>
What am I doing wrong? Source code attached:<br>
Source1.cpp <http://vtk.1045678.n5.nabble.com/file/t341997/Source1.cpp> <br>
<br>
And here is the stack<br>
<br>
> vtkCommonCore-8.0.dll!vtkAOSDataArrayTemplate<double>::GetValue(__int64<br>
valueIdx) Line 65 C++<br>
<br>
vtkFiltersGeneral-8.0.dll!vtkBooleanOperationPolyDataFilter::SortPolyData(vtkPolyData<br>
* input, vtkIdList * interList, vtkIdList * unionList) Line 62 C++<br>
<br>
vtkFiltersGeneral-8.0.dll!vtkBooleanOperationPolyDataFilter::RequestData(vtkInformation<br>
* __formal, vtkInformationVector * * inputVector, vtkInformationVector *<br>
outputVector) Line 154 C++<br>
<br>
vtkCommonExecutionModel-8.0.dll!vtkPolyDataAlgorithm::ProcessRequest(vtkInformation<br>
* request, vtkInformationVector * * inputVector, vtkInformationVector *<br>
outputVector) Line 90 C++<br>
vtkCommonExecutionModel-8.0.dll!vtkExecutive::CallAlgorithm(vtkInformation<br>
* request, int direction, vtkInformationVector * * inInfo,<br>
vtkInformationVector * outInfo) Line 775 C++<br>
<br>
vtkCommonExecutionModel-8.0.dll!vtkDemandDrivenPipeline::ExecuteData(vtkInformation<br>
* request, vtkInformationVector * * inInfo, vtkInformationVector * outInfo)<br>
Line 491 C++<br>
<br>
vtkCommonExecutionModel-8.0.dll!vtkCompositeDataPipeline::ExecuteData(vtkInformation<br>
* request, vtkInformationVector * * inInfoVec, vtkInformationVector *<br>
outInfoVec) Line 179 C++<br>
<br>
vtkCommonExecutionModel-8.0.dll!vtkDemandDrivenPipeline::ProcessRequest(vtkInformation<br>
* request, vtkInformationVector * * inInfoVec, vtkInformationVector *<br>
outInfoVec) Line 274 C++<br>
<br>
vtkCommonExecutionModel-8.0.dll!vtkStreamingDemandDrivenPipeline::ProcessRequest(vtkInformation<br>
* request, vtkInformationVector * * inInfoVec, vtkInformationVector *<br>
outInfoVec) Line 328 C++<br>
vtkCommonExecutionModel-8.0.dll!vtkDemandDrivenPipeline::UpdateData(int<br>
outputPort) Line 444 C++<br>
<br>
vtkCommonExecutionModel-8.0.dll!vtkStreamingDemandDrivenPipeline::Update(int<br>
port, vtkInformationVector * requests) Line 403 C++<br>
vtkCommonExecutionModel-8.0.dll!vtkAlgorithm::Update(int port,<br>
vtkInformationVector * requests) Line 1466 C++<br>
vtkCommonExecutionModel-8.0.dll!vtkAlgorithm::Update(vtkInformation *<br>
requests) Line 1479 C++<br>
vtkCommonExecutionModel-8.0.dll!vtkAlgorithm::UpdatePiece(int piece, int<br>
numPieces, int ghostLevels, const int * extents) Line 1496 C++<br>
vtkRenderingCore-8.0.dll!vtkPolyDataMapper::GetBounds() Line 132 C++<br>
vtkRenderingCore-8.0.dll!vtkActor::GetBounds() Line 360 C++<br>
vtkRenderingCore-8.0.dll!vtkRenderer::ComputeVisiblePropBounds(double *<br>
allBounds) Line 921 C++<br>
vtkRenderingCore-8.0.dll!vtkRenderer::ResetCamera() Line 979 C++<br>
<br>
<br>
Thanks <br>
AC<br>
<br>
<br>
<br>
--<br>
Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html<br>
_______________________________________________<br>
Powered by www.kitware.com<br>
<br>
Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html<br>
<br>
Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<br>
<br>
Search the list archives at: http://markmail.org/search/?q=vtkusers<br>
<br>
Follow this link to subscribe/unsubscribe:<br>
https://vtk.org/mailman/listinfo/vtkusers<br>
<br>
<br>
</div>
</div>
</div>
</body>
</html>