vtkbone
vtkboneVerifyUnstructuredGrid.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Copyright 2010-2016, Numerics88 Solutions Ltd.
4  http://www.numerics88.com/
5 
6  Copyright (c) Eric Nodwell and Steven K. Boyd
7  See Copyright.txt for details.
8 
9  This software is distributed WITHOUT ANY WARRANTY; without even
10  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11  PURPOSE. See the above copyright notice for more information.
12 =========================================================================*/
13 
31 #ifndef __vtkboneVerifyUnstructuredGrid_h
32 #define __vtkboneVerifyUnstructuredGrid_h
33 
35 #include "vtkboneWin32Header.h"
36 
37 // Forward declarations
38 class vtkCell;
39 
41 {
42 public:
45  void PrintSelf(ostream& os, vtkIndent indent);
46 
48 
50  vtkSetMacro(Tolerance, double);
51  vtkGetMacro(Tolerance, double);
53 
54 protected:
57 
58  virtual int RequestData(vtkInformation *request,
59  vtkInformationVector **inputVector,
60  vtkInformationVector *outputVector);
61 
62  int CheckVoxelTopology(vtkUnstructuredGrid* ug, vtkIdType cellId);
63 
64  int VectorsEqual(double a[3], double b[3]);
65 
66  int VectorsAligned(double a[3], double b[3]);
67 
68  double Tolerance;
69 };
70 
71 #endif
verifies the consistency of vtkUnstructuredGrid objects.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
#define VTKBONE_EXPORT
static vtkUnstructuredGridAlgorithm * New()
int vtkIdType
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE