ParaView
vtkCPBaseGridBuilder.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkCPBaseGridBuilder.h
5 
6  Copyright (c) Kitware, Inc.
7  All rights reserved.
8  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
22 #ifndef vtkCPBaseGridBuilder_h
23 #define vtkCPBaseGridBuilder_h
24 
25 #include "vtkObject.h"
26 #include "vtkPVCatalystTestDriverModule.h" // needed for export macros
27 
28 class vtkDataObject;
29 
30 class VTKPVCATALYSTTESTDRIVER_EXPORT vtkCPBaseGridBuilder : public vtkObject
31 {
32 public:
33  vtkTypeMacro(vtkCPBaseGridBuilder, vtkObject);
34  void PrintSelf(ostream& os, vtkIndent indent);
35 
40  virtual vtkDataObject* GetGrid(unsigned long TimeStep, double Time, int& BuiltNewGrid) = 0;
41 
42  // maybe also have a subdivide grid cells here as well
43 
44 protected:
47 
48 private:
49  vtkCPBaseGridBuilder(const vtkCPBaseGridBuilder&) VTK_DELETE_FUNCTION;
50  void operator=(const vtkCPBaseGridBuilder&) VTK_DELETE_FUNCTION;
51 };
52 
53 #endif
Abstract class for creating grids.