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
38class vtkCell;
39
41{
42public:
45 void PrintSelf(ostream& os, vtkIndent indent) override;
46
48
50 vtkSetMacro(Tolerance, double);
51 vtkGetMacro(Tolerance, double);
53
54protected:
57
58 virtual int RequestData(vtkInformation *request,
59 vtkInformationVector **inputVector,
60 vtkInformationVector *outputVector) override;
61
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.
int CheckVoxelTopology(vtkUnstructuredGrid *ug, vtkIdType cellId)
static vtkboneVerifyUnstructuredGrid * New()
int VectorsEqual(double a[3], double b[3])
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
void PrintSelf(ostream &os, vtkIndent indent) override
int VectorsAligned(double a[3], double b[3])
int vtkIdType