VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkGraphHierarchicalBundle.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 -------------------------------------------------------------------------*/ 00057 #ifndef __vtkGraphHierarchicalBundle_h 00058 #define __vtkGraphHierarchicalBundle_h 00059 00060 #include "vtkPolyDataAlgorithm.h" 00061 00062 class VTK_INFOVIS_EXPORT vtkGraphHierarchicalBundle : public vtkPolyDataAlgorithm 00063 { 00064 public: 00065 static vtkGraphHierarchicalBundle *New(); 00066 00067 vtkTypeMacro(vtkGraphHierarchicalBundle,vtkPolyDataAlgorithm); 00068 void PrintSelf(ostream& os, vtkIndent indent); 00069 00071 00074 vtkSetClampMacro(BundlingStrength, double, 0.0, 1.0); 00075 vtkGetMacro(BundlingStrength, double); 00077 00079 00082 vtkSetMacro(DirectMapping, bool); 00083 vtkGetMacro(DirectMapping, bool); 00084 vtkBooleanMacro(DirectMapping, bool); 00086 00088 int FillInputPortInformation(int port, vtkInformation* info); 00089 00090 protected: 00091 vtkGraphHierarchicalBundle(); 00092 ~vtkGraphHierarchicalBundle() {} 00093 00094 double BundlingStrength; 00095 bool DirectMapping; 00096 00098 00099 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00100 private: 00101 vtkGraphHierarchicalBundle(const vtkGraphHierarchicalBundle&); // Not implemented. 00102 void operator=(const vtkGraphHierarchicalBundle&); // Not implemented. 00103 }; 00105 00106 #endif