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.
47 lines
1.7 KiB
C
47 lines
1.7 KiB
C
3 weeks ago
|
/*=========================================================================
|
||
|
|
||
|
Program: Visualization Toolkit
|
||
|
Module: vtkExplicitStructuredGridToUnstructuredGrid.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 vtkExplicitStructuredGridToUnstructuredGrid
|
||
|
* @brief Filter which converts an explicit structured grid into an unstructured grid.
|
||
|
*/
|
||
|
|
||
|
#ifndef vtkExplicitStructuredGridToUnstructuredGrid_h
|
||
|
#define vtkExplicitStructuredGridToUnstructuredGrid_h
|
||
|
|
||
|
#include "vtkFiltersCoreModule.h" // For export macro
|
||
|
#include "vtkUnstructuredGridAlgorithm.h"
|
||
|
|
||
|
class VTKFILTERSCORE_EXPORT vtkExplicitStructuredGridToUnstructuredGrid
|
||
|
: public vtkUnstructuredGridAlgorithm
|
||
|
{
|
||
|
public:
|
||
|
static vtkExplicitStructuredGridToUnstructuredGrid* New();
|
||
|
vtkTypeMacro(vtkExplicitStructuredGridToUnstructuredGrid, vtkUnstructuredGridAlgorithm);
|
||
|
|
||
|
protected:
|
||
|
vtkExplicitStructuredGridToUnstructuredGrid() = default;
|
||
|
~vtkExplicitStructuredGridToUnstructuredGrid() override = default;
|
||
|
|
||
|
int FillInputPortInformation(int port, vtkInformation* info) override;
|
||
|
int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) override;
|
||
|
|
||
|
private:
|
||
|
vtkExplicitStructuredGridToUnstructuredGrid(
|
||
|
const vtkExplicitStructuredGridToUnstructuredGrid&) = delete;
|
||
|
void operator=(const vtkExplicitStructuredGridToUnstructuredGrid&) = delete;
|
||
|
};
|
||
|
|
||
|
#endif
|