VTK
dox/Infovis/vtkGraphHierarchicalBundleEdges.h
Go to the documentation of this file.
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 "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 
00096   int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00097 private:
00098   vtkGraphHierarchicalBundleEdges(const vtkGraphHierarchicalBundleEdges&);  // Not implemented.
00099   void operator=(const vtkGraphHierarchicalBundleEdges&);  // Not implemented.
00100 };
00102 
00103 #endif