VTK  9.1.0
Classes | List of all members
vtkSMPMergePolyDataHelper Class Reference

Utility class for merging poly data in parallel This class is designed as a utility class to help merging of poly data generated by filters that generate multiple polydata outputs and the associated locators. More...

#include <vtkSMPMergePolyDataHelper.h>

Classes

struct  InputData
 This is the data structure needed by the MergePolyData function. More...
 
static vtkPolyDataMergePolyData (std::vector< InputData > &inputs)
 Given a vector of vtkSMPMergePolyDataHelper::InputData, it merges them and returns a new vtkPolyData (which needs to be deleted by the caller). More...
 
 vtkSMPMergePolyDataHelper ()
 Given a vector of vtkSMPMergePolyDataHelper::InputData, it merges them and returns a new vtkPolyData (which needs to be deleted by the caller). More...
 
 ~vtkSMPMergePolyDataHelper ()
 Given a vector of vtkSMPMergePolyDataHelper::InputData, it merges them and returns a new vtkPolyData (which needs to be deleted by the caller). More...
 

Detailed Description

Utility class for merging poly data in parallel This class is designed as a utility class to help merging of poly data generated by filters that generate multiple polydata outputs and the associated locators.

It requires that the filter uses vtkSMPMergePoints which creates a number of necessary data structures.

Definition at line 35 of file vtkSMPMergePolyDataHelper.h.

Constructor & Destructor Documentation

◆ vtkSMPMergePolyDataHelper()

vtkSMPMergePolyDataHelper::vtkSMPMergePolyDataHelper ( )
protected

Given a vector of vtkSMPMergePolyDataHelper::InputData, it merges them and returns a new vtkPolyData (which needs to be deleted by the caller).

Note that this function uses the first input as a temporary merging target so it will be modified in place. If you need to preserve it, use DeepCopy before passing to MergePolyData.

◆ ~vtkSMPMergePolyDataHelper()

vtkSMPMergePolyDataHelper::~vtkSMPMergePolyDataHelper ( )
protected

Given a vector of vtkSMPMergePolyDataHelper::InputData, it merges them and returns a new vtkPolyData (which needs to be deleted by the caller).

Note that this function uses the first input as a temporary merging target so it will be modified in place. If you need to preserve it, use DeepCopy before passing to MergePolyData.

Member Function Documentation

◆ MergePolyData()

static vtkPolyData * vtkSMPMergePolyDataHelper::MergePolyData ( std::vector< InputData > &  inputs)
static

Given a vector of vtkSMPMergePolyDataHelper::InputData, it merges them and returns a new vtkPolyData (which needs to be deleted by the caller).

Note that this function uses the first input as a temporary merging target so it will be modified in place. If you need to preserve it, use DeepCopy before passing to MergePolyData.


The documentation for this class was generated from the following file: