VTK
vtkGraphWeightEuclideanDistanceFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkGraphWeightEuclideanDistanceFilter.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm 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 =========================================================================*/
26 #ifndef __vtkGraphWeightEuclideanDistanceFilter_h
27 #define __vtkGraphWeightEuclideanDistanceFilter_h
28 
29 #include "vtkGraphWeightFilter.h"
30 
31 class vtkGraph;
32 
34 {
35  public:
38  void PrintSelf(ostream& os, vtkIndent indent);
39 
40 protected:
43 
46  float ComputeWeight(vtkGraph* const graph, const vtkEdgeType& edge) const;
47 
49  bool CheckRequirements(vtkGraph* const graph) const;
50 
51 private:
53  void operator=(const vtkGraphWeightEuclideanDistanceFilter&); // Not implemented.
54 };
55 
56 #endif