Hi,
I am using vtkVortexCore filter to extract vortex core lines from the input polydata. After that I am using vtkConnectivityFilter to separate each polyline into its own polydata. After that I am using vtkOBBTree to draw oriented bounding box around each polyline.
vtkNew<vtkVortexCore> orgVortexCore;
orgVortexCore->FasterApproximationOn();
orgVortexCore->SetInputArrayToProcess(0, 0, 0, vtkDataObject::FIELD_ASSOCIATION_POINTS, "velocity");
orgVortexCore->SetInputData(input->GetOutput());
orgVortexCore->Update();
vtkNew<vtkConnectivityFilter> connectivityFilter;
connectivityFilter->SetInputData(orgVortexCore->GetOutput());
connectivityFilter->SetExtractionModeToCellSeededRegions();
connectivityFilter->InitializeSeedList();
connectivityFilter->AddSeed(cellId);
connectivityFilter->Update();
vtkNew<vtkOBBTree> sourceOBBTree;
sourceOBBTree->SetDataSet(connectivityFilter->GetOutput());
sourceOBBTree->SetMaxLevel(1);
sourceOBBTree->BuildLocator();
But I get the following error while using vtkOBBTree.
vtkMath::Jacobi: error extracting eigenfunctions