VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkGraphHierarchicalBundleEdges.h 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00015 /*------------------------------------------------------------------------- 00016 Copyright 2008 Sandia Corporation. 00017 Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, 00018 the U.S. Government retains certain rights in this software. 00019 -------------------------------------------------------------------------*/ 00054 #ifndef __vtkGraphHierarchicalBundleEdges_h 00055 #define __vtkGraphHierarchicalBundleEdges_h 00056 00057 #include "vtkInfovisCoreModule.h" // For export macro 00058 #include "vtkGraphAlgorithm.h" 00059 00060 class VTKINFOVISCORE_EXPORT vtkGraphHierarchicalBundleEdges : public vtkGraphAlgorithm 00061 { 00062 public: 00063 static vtkGraphHierarchicalBundleEdges *New(); 00064 00065 vtkTypeMacro(vtkGraphHierarchicalBundleEdges,vtkGraphAlgorithm); 00066 void PrintSelf(ostream& os, vtkIndent indent); 00067 00069 00072 vtkSetClampMacro(BundlingStrength, double, 0.0, 1.0); 00073 vtkGetMacro(BundlingStrength, double); 00075 00077 00080 vtkSetMacro(DirectMapping, bool); 00081 vtkGetMacro(DirectMapping, bool); 00082 vtkBooleanMacro(DirectMapping, bool); 00084 00086 int FillInputPortInformation(int port, vtkInformation* info); 00087 00088 protected: 00089 vtkGraphHierarchicalBundleEdges(); 00090 ~vtkGraphHierarchicalBundleEdges() {} 00091 00092 double BundlingStrength; 00093 bool DirectMapping; 00094 00096 00097 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00098 private: 00099 vtkGraphHierarchicalBundleEdges(const vtkGraphHierarchicalBundleEdges&); // Not implemented. 00100 void operator=(const vtkGraphHierarchicalBundleEdges&); // Not implemented. 00101 }; 00103 00104 #endif