VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
vtkAdjacencyMatrixToEdgeTable.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkAdjacencyMatrixToEdgeTable.h
5 
6 -------------------------------------------------------------------------
7  Copyright 2008 Sandia Corporation.
8  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
9  the U.S. Government retains certain rights in this software.
10 -------------------------------------------------------------------------
11 
12  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
13  All rights reserved.
14  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
15 
16  This software is distributed WITHOUT ANY WARRANTY; without even
17  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
18  PURPOSE. See the above copyright notice for more information.
19 
20 =========================================================================*/
21 
38 #ifndef __vtkAdjacencyMatrixToEdgeTable_h
39 #define __vtkAdjacencyMatrixToEdgeTable_h
40 
41 #include "vtkInfovisCoreModule.h" // For export macro
42 #include "vtkTableAlgorithm.h"
43 
44 class VTKINFOVISCORE_EXPORT vtkAdjacencyMatrixToEdgeTable : public vtkTableAlgorithm
45 {
46 public:
47  static vtkAdjacencyMatrixToEdgeTable* New();
48  vtkTypeMacro(vtkAdjacencyMatrixToEdgeTable, vtkTableAlgorithm);
49  void PrintSelf(ostream& os, vtkIndent indent);
50 
52 
54  vtkGetMacro(SourceDimension, vtkIdType);
55  vtkSetMacro(SourceDimension, vtkIdType);
57 
59 
61  vtkGetStringMacro(ValueArrayName);
62  vtkSetStringMacro(ValueArrayName);
64 
66 
68  vtkGetMacro(MinimumCount, vtkIdType);
69  vtkSetMacro(MinimumCount, vtkIdType);
71 
73 
75  vtkGetMacro(MinimumThreshold, double);
76  vtkSetMacro(MinimumThreshold, double);
78 
79 protected:
82 
83  int FillInputPortInformation(int, vtkInformation*);
84 
85  int RequestData(
86  vtkInformation*,
87  vtkInformationVector**,
88  vtkInformationVector*);
89 
90  vtkIdType SourceDimension;
92  vtkIdType MinimumCount;
94 
95 private:
97  void operator=(const vtkAdjacencyMatrixToEdgeTable&); // Not implemented
98 };
99 
100 #endif
101