VTK
Classes | Static Public Member Functions | Protected Member Functions | 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. It requires that the filter uses vtkSMPMergePoints which creates a number of necessary data structures. More...

#include <vtkSMPMergePolyDataHelper.h>

Classes

struct  InputData
 This is the data structure needed by the MergePolyData function. More...
 

Static Public Member Functions

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...
 

Protected Member Functions

 vtkSMPMergePolyDataHelper ()
 
 ~vtkSMPMergePolyDataHelper ()
 

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 36 of file vtkSMPMergePolyDataHelper.h.

Constructor & Destructor Documentation

◆ vtkSMPMergePolyDataHelper()

vtkSMPMergePolyDataHelper::vtkSMPMergePolyDataHelper ( )
protected

◆ ~vtkSMPMergePolyDataHelper()

vtkSMPMergePolyDataHelper::~vtkSMPMergePolyDataHelper ( )
protected

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: