VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkAdjacencyMatrixToEdgeTable.h 00005 00006 ------------------------------------------------------------------------- 00007 Copyright 2008 Sandia Corporation. 00008 Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, 00009 the U.S. Government retains certain rights in this software. 00010 ------------------------------------------------------------------------- 00011 00012 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00013 All rights reserved. 00014 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00015 00016 This software is distributed WITHOUT ANY WARRANTY; without even 00017 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00018 PURPOSE. See the above copyright notice for more information. 00019 00020 =========================================================================*/ 00021 00038 #ifndef __vtkAdjacencyMatrixToEdgeTable_h 00039 #define __vtkAdjacencyMatrixToEdgeTable_h 00040 00041 #include "vtkInfovisCoreModule.h" // For export macro 00042 #include "vtkTableAlgorithm.h" 00043 00044 class VTKINFOVISCORE_EXPORT vtkAdjacencyMatrixToEdgeTable : public vtkTableAlgorithm 00045 { 00046 public: 00047 static vtkAdjacencyMatrixToEdgeTable* New(); 00048 vtkTypeMacro(vtkAdjacencyMatrixToEdgeTable, vtkTableAlgorithm); 00049 void PrintSelf(ostream& os, vtkIndent indent); 00050 00052 00054 vtkGetMacro(SourceDimension, vtkIdType); 00055 vtkSetMacro(SourceDimension, vtkIdType); 00057 00059 00061 vtkGetStringMacro(ValueArrayName); 00062 vtkSetStringMacro(ValueArrayName); 00064 00066 00068 vtkGetMacro(MinimumCount, vtkIdType); 00069 vtkSetMacro(MinimumCount, vtkIdType); 00071 00073 00075 vtkGetMacro(MinimumThreshold, double); 00076 vtkSetMacro(MinimumThreshold, double); 00078 00079 protected: 00080 vtkAdjacencyMatrixToEdgeTable(); 00081 ~vtkAdjacencyMatrixToEdgeTable(); 00082 00083 int FillInputPortInformation(int, vtkInformation*); 00084 00085 int RequestData( 00086 vtkInformation*, 00087 vtkInformationVector**, 00088 vtkInformationVector*); 00089 00090 vtkIdType SourceDimension; 00091 char* ValueArrayName; 00092 vtkIdType MinimumCount; 00093 double MinimumThreshold; 00094 00095 private: 00096 vtkAdjacencyMatrixToEdgeTable(const vtkAdjacencyMatrixToEdgeTable&); // Not implemented 00097 void operator=(const vtkAdjacencyMatrixToEdgeTable&); // Not implemented 00098 }; 00099 00100 #endif 00101