mirror of
https://github.com/OpenFOAM/ThirdParty-6.git
synced 2025-12-08 06:57:43 +00:00
51 lines
1.6 KiB
C++
51 lines
1.6 KiB
C++
/*=========================================================================
|
|
|
|
Program: ParaView
|
|
Module: vtkCPBaseGridBuilder.h
|
|
|
|
Copyright (c) Kitware, Inc.
|
|
All rights reserved.
|
|
See Copyright.txt or http://www.paraview.org/HTML/Copyright.html 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.
|
|
|
|
=========================================================================*/
|
|
// .NAME vtkCPBaseGridBuilder - Abstract class for creating grids.
|
|
// .SECTION Description
|
|
// Abstract class for creating grids for a test driver.
|
|
|
|
#ifndef vtkCPBaseGridBuilder_h
|
|
#define vtkCPBaseGridBuilder_h
|
|
|
|
#include "vtkObject.h"
|
|
#include "vtkPVCatalystTestDriverModule.h" // needed for export macros
|
|
|
|
class vtkDataObject;
|
|
|
|
class VTKPVCATALYSTTESTDRIVER_EXPORT vtkCPBaseGridBuilder : public vtkObject
|
|
{
|
|
public:
|
|
vtkTypeMacro(vtkCPBaseGridBuilder, vtkObject);
|
|
void PrintSelf(ostream& os, vtkIndent indent);
|
|
|
|
// Description:
|
|
// Return a grid. BuiltNewGrid is 0 if the grid is the same
|
|
// as the last time step.
|
|
virtual vtkDataObject* GetGrid(unsigned long TimeStep, double Time,
|
|
int & BuiltNewGrid) = 0;
|
|
|
|
// maybe also have a subdivide grid cells here as well
|
|
|
|
protected:
|
|
vtkCPBaseGridBuilder();
|
|
~vtkCPBaseGridBuilder();
|
|
|
|
private:
|
|
vtkCPBaseGridBuilder(const vtkCPBaseGridBuilder&); // Not implemented
|
|
void operator=(const vtkCPBaseGridBuilder&); // Not implemented
|
|
};
|
|
|
|
#endif
|