VMTK
Loading...
Searching...
No Matches
vtkvmtkMeshProjection.h
Go to the documentation of this file.
1/*=========================================================================
2
3Program: VMTK
4
5 Copyright (c) Luca Antiga, David Steinman. All rights reserved.
6 See LICENSE file for details.
7
8 Portions of this code are covered under the VTK copyright.
9 See VTKCopyright.txt or http://www.kitware.com/VTKCopyright.htm
10 for details.
11
12 This software is distributed WITHOUT ANY WARRANTY; without even
13 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 PURPOSE. See the above copyright notices for more information.
15
16=========================================================================*/
27
28#ifndef __vtkvmtkMeshProjection_h
29#define __vtkvmtkMeshProjection_h
30
31#include "vtkUnstructuredGridAlgorithm.h"
32#include "vtkUnstructuredGrid.h"
33#include "vtkvmtkWin32Header.h"
34
35class VTK_VMTK_MISC_EXPORT vtkvmtkMeshProjection : public vtkUnstructuredGridAlgorithm
36{
37 public:
38 vtkTypeMacro(vtkvmtkMeshProjection,vtkUnstructuredGridAlgorithm);
39 void PrintSelf(std::ostream& os, vtkIndent indent) override;
40
42
44
47 vtkSetObjectMacro(ReferenceMesh,vtkUnstructuredGrid);
48 vtkGetObjectMacro(ReferenceMesh,vtkUnstructuredGrid);
50
52
56 vtkSetMacro(Tolerance,double);
57 vtkGetMacro(Tolerance,double);
59
60 protected:
63
64 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override;
65
66 vtkUnstructuredGrid *ReferenceMesh;
67 double Tolerance;
68
69 private:
70 vtkvmtkMeshProjection(const vtkvmtkMeshProjection&); // Not implemented.
71 void operator=(const vtkvmtkMeshProjection&); // Not implemented.
72};
73
74#endif
vtkUnstructuredGrid * ReferenceMesh
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
static vtkvmtkMeshProjection * New()
void PrintSelf(std::ostream &os, vtkIndent indent) override