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.

66 lines
1.8 KiB
C

/*=========================================================================
Program: Visualization Toolkit
Module: vtkNonOverlappingAMRAlgorithm.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 vtkNonOverlappingAMRAlgorithm
* produce vtkNonOverlappingAMR as output.
*
*
*
*/
#ifndef vtkNonOverlappingAMRAlgorithm_h
#define vtkNonOverlappingAMRAlgorithm_h
#include "vtkCommonExecutionModelModule.h" // For export macro
#include "vtkUniformGridAMRAlgorithm.h"
class vtkNonOverlappingAMR;
class vtkInformation;
class VTKCOMMONEXECUTIONMODEL_EXPORT vtkNonOverlappingAMRAlgorithm
: public vtkUniformGridAMRAlgorithm
{
public:
static vtkNonOverlappingAMRAlgorithm* New();
vtkTypeMacro(vtkNonOverlappingAMRAlgorithm, vtkUniformGridAMRAlgorithm);
void PrintSelf(ostream& os, vtkIndent indent) override;
//@{
/**
* Get the output data object for a port on this algorithm
*/
vtkNonOverlappingAMR* GetOutput();
vtkNonOverlappingAMR* GetOutput(int);
//@}
protected:
vtkNonOverlappingAMRAlgorithm();
~vtkNonOverlappingAMRAlgorithm() override;
//@{
/**
* See algorithm for more info.
*/
int FillOutputPortInformation(int port, vtkInformation* info) override;
int FillInputPortInformation(int port, vtkInformation* info) override;
//@}
private:
vtkNonOverlappingAMRAlgorithm(const vtkNonOverlappingAMRAlgorithm&) = delete;
void operator=(const vtkNonOverlappingAMRAlgorithm&) = delete;
};
#endif /* VTKNONOVERLAPPINGAMRALGORITHM_H_ */