You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

55 lines
1.7 KiB
C

/*=========================================================================
Program: Visualization Toolkit
Module: vtkExtractSelectedPolyDataIds.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
/**
* @class vtkExtractSelectedPolyDataIds
* @brief extract a list of cells from a polydata
*
* vtkExtractSelectedPolyDataIds extracts all cells in vtkSelection from a
* vtkPolyData.
* @sa
* vtkSelection
*/
#ifndef vtkExtractSelectedPolyDataIds_h
#define vtkExtractSelectedPolyDataIds_h
#include "vtkFiltersExtractionModule.h" // For export macro
#include "vtkPolyDataAlgorithm.h"
class vtkSelection;
class VTKFILTERSEXTRACTION_EXPORT vtkExtractSelectedPolyDataIds : public vtkPolyDataAlgorithm
{
public:
vtkTypeMacro(vtkExtractSelectedPolyDataIds, vtkPolyDataAlgorithm);
void PrintSelf(ostream& os, vtkIndent indent) override;
static vtkExtractSelectedPolyDataIds* New();
protected:
vtkExtractSelectedPolyDataIds();
~vtkExtractSelectedPolyDataIds() override;
int FillInputPortInformation(int port, vtkInformation* info) override;
// Usual data generation method
int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) override;
private:
vtkExtractSelectedPolyDataIds(const vtkExtractSelectedPolyDataIds&) = delete;
void operator=(const vtkExtractSelectedPolyDataIds&) = delete;
};
#endif