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.

68 lines
2.3 KiB
C

/*=========================================================================
Program: Visualization Toolkit
Module: vtkRectilinearGridToTetrahedra.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.
=========================================================================*/
/*----------------------------------------------------------------------------
Copyright (c) Sandia Corporation
See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
----------------------------------------------------------------------------*/
/**
* @class vtkRectilinearGridToPointSet
* @brief Converts a vtkRectilinearGrid to a vtkPointSet
*
*
* vtkRectilinearGridToPointSet takes a vtkRectilinearGrid as an image and
* outputs an equivalent vtkStructuredGrid (which is a subclass of
* vtkPointSet).
*
* @par Thanks:
* This class was developed by Kenneth Moreland (kmorel@sandia.gov) from
* Sandia National Laboratories.
*/
#ifndef vtkRectilinearGridToPointSet_h
#define vtkRectilinearGridToPointSet_h
#include "vtkFiltersGeneralModule.h" // For export macro
#include "vtkStructuredGridAlgorithm.h"
class vtkRectilinearGrid;
class vtkStructuredData;
class VTKFILTERSGENERAL_EXPORT vtkRectilinearGridToPointSet : public vtkStructuredGridAlgorithm
{
public:
vtkTypeMacro(vtkRectilinearGridToPointSet, vtkStructuredGridAlgorithm);
void PrintSelf(ostream& os, vtkIndent indent) override;
static vtkRectilinearGridToPointSet* New();
protected:
vtkRectilinearGridToPointSet();
~vtkRectilinearGridToPointSet() override;
int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
vtkInformationVector* outputVector) override;
int FillInputPortInformation(int port, vtkInformation* info) override;
private:
vtkRectilinearGridToPointSet(const vtkRectilinearGridToPointSet&) = delete;
void operator=(const vtkRectilinearGridToPointSet&) = delete;
int CopyStructure(vtkStructuredGrid* outData, vtkRectilinearGrid* inData);
};
#endif // vtkRectilinearGridToPointSet_h