[vtkusers] vtkBooleanOperationPolyDataFilter crashes while trying to intersect 2 vtkTubeFilter outputs
alican
alican1812 at hotmail.com
Sun Apr 1 05:12:15 EDT 2018
Each time I am trying vtkBooleanOperationPolyDataFilter on 2 vtkTubeFilter
outputs it crashes.
If I replace vtkBooleanOperationPolyDataFilte with
vtkLoopBooleanPolyDataFilter, I am getting the following warning and no
results:
Warning: In
D:\Projects\VTK-8.0.1\Filters\General\vtkIntersectionPolyDataFilter.cxx,
line 1668
vtkIntersectionPolyDataFilter (000001FB21E09CD0): No cell with correct
orientation found
ERROR: In D:\Projects\VTK-8.0.1\Common\ExecutionModel\vtkExecutive.cxx, line
784
vtkCompositeDataPipeline (000001FB1DE385A0): Algorithm
vtkIntersectionPolyDataFilter(000001FB21E09CD0) returned failure for
request: vtkInformation (000001FB20E7EEA0)
Debug: Off
Modified Time: 177376
Reference Count: 1
Registered Events: (none)
Request: REQUEST_DATA
FORWARD_DIRECTION: 0
FROM_OUTPUT_PORT: 0
ALGORITHM_AFTER_FORWARD: 1
ERROR: In D:\Projects\VTK-8.0.1\Common\ExecutionModel\vtkExecutive.cxx, line
784
vtkCompositeDataPipeline (000001FB1DE38B90): Algorithm
vtkLoopBooleanPolyDataFilter(000001FB2EEE8A90) returned failure for request:
vtkInformation (000001FB211E9440)
Debug: Off
Modified Time: 177119
Reference Count: 1
Registered Events: (none)
Request: REQUEST_DATA
FORWARD_DIRECTION: 0
FROM_OUTPUT_PORT: 0
ALGORITHM_AFTER_FORWARD: 1
What am I doing wrong? Source code attached:
Source1.cpp <http://vtk.1045678.n5.nabble.com/file/t341997/Source1.cpp>
And here is the stack
> vtkCommonCore-8.0.dll!vtkAOSDataArrayTemplate<double>::GetValue(__int64
valueIdx) Line 65 C++
vtkFiltersGeneral-8.0.dll!vtkBooleanOperationPolyDataFilter::SortPolyData(vtkPolyData
* input, vtkIdList * interList, vtkIdList * unionList) Line 62 C++
vtkFiltersGeneral-8.0.dll!vtkBooleanOperationPolyDataFilter::RequestData(vtkInformation
* __formal, vtkInformationVector * * inputVector, vtkInformationVector *
outputVector) Line 154 C++
vtkCommonExecutionModel-8.0.dll!vtkPolyDataAlgorithm::ProcessRequest(vtkInformation
* request, vtkInformationVector * * inputVector, vtkInformationVector *
outputVector) Line 90 C++
vtkCommonExecutionModel-8.0.dll!vtkExecutive::CallAlgorithm(vtkInformation
* request, int direction, vtkInformationVector * * inInfo,
vtkInformationVector * outInfo) Line 775 C++
vtkCommonExecutionModel-8.0.dll!vtkDemandDrivenPipeline::ExecuteData(vtkInformation
* request, vtkInformationVector * * inInfo, vtkInformationVector * outInfo)
Line 491 C++
vtkCommonExecutionModel-8.0.dll!vtkCompositeDataPipeline::ExecuteData(vtkInformation
* request, vtkInformationVector * * inInfoVec, vtkInformationVector *
outInfoVec) Line 179 C++
vtkCommonExecutionModel-8.0.dll!vtkDemandDrivenPipeline::ProcessRequest(vtkInformation
* request, vtkInformationVector * * inInfoVec, vtkInformationVector *
outInfoVec) Line 274 C++
vtkCommonExecutionModel-8.0.dll!vtkStreamingDemandDrivenPipeline::ProcessRequest(vtkInformation
* request, vtkInformationVector * * inInfoVec, vtkInformationVector *
outInfoVec) Line 328 C++
vtkCommonExecutionModel-8.0.dll!vtkDemandDrivenPipeline::UpdateData(int
outputPort) Line 444 C++
vtkCommonExecutionModel-8.0.dll!vtkStreamingDemandDrivenPipeline::Update(int
port, vtkInformationVector * requests) Line 403 C++
vtkCommonExecutionModel-8.0.dll!vtkAlgorithm::Update(int port,
vtkInformationVector * requests) Line 1466 C++
vtkCommonExecutionModel-8.0.dll!vtkAlgorithm::Update(vtkInformation *
requests) Line 1479 C++
vtkCommonExecutionModel-8.0.dll!vtkAlgorithm::UpdatePiece(int piece, int
numPieces, int ghostLevels, const int * extents) Line 1496 C++
vtkRenderingCore-8.0.dll!vtkPolyDataMapper::GetBounds() Line 132 C++
vtkRenderingCore-8.0.dll!vtkActor::GetBounds() Line 360 C++
vtkRenderingCore-8.0.dll!vtkRenderer::ComputeVisiblePropBounds(double *
allBounds) Line 921 C++
vtkRenderingCore-8.0.dll!vtkRenderer::ResetCamera() Line 979 C++
Thanks
AC
--
Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html
More information about the vtkusers
mailing list