VTK
|
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. More...
#include <vtkSMPMergePolyDataHelper.h>
Classes | |
struct | InputData |
static vtkPolyData * | MergePolyData (std::vector< InputData > &inputs) |
vtkSMPMergePolyDataHelper () | |
~vtkSMPMergePolyDataHelper () |
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 34 of file vtkSMPMergePolyDataHelper.h.
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 | ( | ) | [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.
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.