00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00054 #ifndef __vtkGraphHierarchicalBundleEdges_h
00055 #define __vtkGraphHierarchicalBundleEdges_h
00056 
00057 #include "vtkGraphAlgorithm.h"
00058 
00059 class VTK_INFOVIS_EXPORT vtkGraphHierarchicalBundleEdges : public vtkGraphAlgorithm 
00060 {
00061 public:
00062   static vtkGraphHierarchicalBundleEdges *New();
00063 
00064   vtkTypeMacro(vtkGraphHierarchicalBundleEdges,vtkGraphAlgorithm);
00065   void PrintSelf(ostream& os, vtkIndent indent);
00066 
00068 
00071   vtkSetClampMacro(BundlingStrength, double, 0.0, 1.0);
00072   vtkGetMacro(BundlingStrength, double);
00074 
00076 
00079   vtkSetMacro(DirectMapping, bool);
00080   vtkGetMacro(DirectMapping, bool);
00081   vtkBooleanMacro(DirectMapping, bool);
00083 
00085   int FillInputPortInformation(int port, vtkInformation* info);
00086 
00087 protected:
00088   vtkGraphHierarchicalBundleEdges();
00089   ~vtkGraphHierarchicalBundleEdges() {}
00090 
00091   double BundlingStrength;
00092   bool DirectMapping;
00093 
00095   int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00096 private:
00097   vtkGraphHierarchicalBundleEdges(const vtkGraphHierarchicalBundleEdges&);  
00098   void operator=(const vtkGraphHierarchicalBundleEdges&);  
00099 };
00100 
00101 #endif