ParaView
vtkCustomUnstructuredGridBuilder.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkCustomUnstructuredGridBuilder.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 =========================================================================*/
24 #ifndef vtkCustomUnstructuredGridBuilder_h
25 #define vtkCustomUnstructuredGridBuilder_h
26 
28 
29 class vtkDataObject;
30 class vtkGenericCell;
31 class vtkIdList;
32 class vtkPoints;
33 class vtkUnstructuredGrid;
34 
36 {
37 public:
40  void PrintSelf(ostream& os, vtkIndent indent);
41 
47  virtual vtkDataObject* GetGrid(unsigned long timeStep, double time, int& builtNewGrid);
48 
52  void BuildGrid();
53 
54 protected:
57 
61  void ComputeCellCentroid(vtkGenericCell* cell, double xyz[3]);
62 
63 private:
65  void operator=(const vtkCustomUnstructuredGridBuilder&) VTK_DELETE_FUNCTION;
66 };
67 #endif
Class for creating unstructured grids.
virtual vtkDataObject * GetGrid(unsigned long timeStep, double time, int &builtNewGrid)
Return a grid.
void PrintSelf(ostream &os, vtkIndent indent)
static vtkCPUnstructuredGridBuilder * New()
Class for creating unstructured grids.