00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkArcParallelEdgeStrategy.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 (c) Sandia Corporation 00017 See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details. 00018 ----------------------------------------------------------------------------*/ 00033 #ifndef __vtkArcParallelEdgeStrategy_h 00034 #define __vtkArcParallelEdgeStrategy_h 00035 00036 #include "vtkEdgeLayoutStrategy.h" 00037 00038 class vtkGraph; 00039 00040 class VTK_INFOVIS_EXPORT vtkArcParallelEdgeStrategy : public vtkEdgeLayoutStrategy 00041 { 00042 public: 00043 static vtkArcParallelEdgeStrategy* New(); 00044 vtkTypeMacro(vtkArcParallelEdgeStrategy,vtkEdgeLayoutStrategy); 00045 void PrintSelf(ostream& os, vtkIndent indent); 00046 00049 virtual void Layout(); 00050 00052 00053 vtkGetMacro(NumberOfSubdivisions, int); 00054 vtkSetMacro(NumberOfSubdivisions, int); 00056 00057 protected: 00058 vtkArcParallelEdgeStrategy(); 00059 ~vtkArcParallelEdgeStrategy(); 00060 00061 int NumberOfSubdivisions; 00062 00063 private: 00064 vtkArcParallelEdgeStrategy(const vtkArcParallelEdgeStrategy&); // Not implemented. 00065 void operator=(const vtkArcParallelEdgeStrategy&); // Not implemented. 00066 }; 00067 00068 #endif 00069