VMTK
vtkvmtkEmptyNeighborhood.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: VMTK
4  Module: $RCSfile: vtkvmtkEmptyNeighborhood.h,v $
5  Language: C++
6 
7  Copyright (c) Luca Antiga, David Steinman. All rights reserved.
8  See LICENSE file for details.
9 
10  Portions of this code are covered under the VTK copyright.
11  See VTKCopyright.txt or http://www.kitware.com/VTKCopyright.htm
12  for details.
13 
14  This software is distributed WITHOUT ANY WARRANTY; without even
15  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
16  PURPOSE. See the above copyright notices for more information.
17 
18 =========================================================================*/
28 #ifndef __vtkvmtkEmptyNeighborhood_h
29 #define __vtkvmtkEmptyNeighborhood_h
30 
31 #include "vtkObject.h"
32 #include "vtkvmtkConstants.h"
33 #include "vtkvmtkNeighborhood.h"
34 //#include "vtkvmtkDifferentialGeometryWin32Header.h"
35 #include "vtkvmtkWin32Header.h"
36 
37 class VTK_VMTK_DIFFERENTIAL_GEOMETRY_EXPORT vtkvmtkEmptyNeighborhood : public vtkvmtkNeighborhood
38 {
39 public:
40  static vtkvmtkEmptyNeighborhood* New();
42 
43  virtual vtkIdType GetItemType() VTK_OVERRIDE {return VTK_VMTK_EMPTY_NEIGHBORHOOD;};
44 
46  void Build() VTK_OVERRIDE;
47 
48 protected:
51 
52 private:
53  vtkvmtkEmptyNeighborhood(const vtkvmtkEmptyNeighborhood&); // Not implemented.
54  void operator=(const vtkvmtkEmptyNeighborhood&); // Not implemented.
55 };
56 
57 #endif
58 
Create an an empty neighborhood instance.
virtual void Build() VTK_OVERRIDE=0
virtual vtkIdType GetItemType() VTK_OVERRIDE
Query the neighborhood surrounding the set point id in an data set item.