VTK
|
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 "vtkInfovisLayoutModule.h" // For export macro 00037 #include "vtkEdgeLayoutStrategy.h" 00038 00039 class vtkGraph; 00040 00041 class VTKINFOVISLAYOUT_EXPORT vtkArcParallelEdgeStrategy : public vtkEdgeLayoutStrategy 00042 { 00043 public: 00044 static vtkArcParallelEdgeStrategy* New(); 00045 vtkTypeMacro(vtkArcParallelEdgeStrategy,vtkEdgeLayoutStrategy); 00046 void PrintSelf(ostream& os, vtkIndent indent); 00047 00050 virtual void Layout(); 00051 00053 00054 vtkGetMacro(NumberOfSubdivisions, int); 00055 vtkSetMacro(NumberOfSubdivisions, int); 00057 00058 protected: 00059 vtkArcParallelEdgeStrategy(); 00060 ~vtkArcParallelEdgeStrategy(); 00061 00062 int NumberOfSubdivisions; 00063 00064 private: 00065 vtkArcParallelEdgeStrategy(const vtkArcParallelEdgeStrategy&); // Not implemented. 00066 void operator=(const vtkArcParallelEdgeStrategy&); // Not implemented. 00067 }; 00068 00069 #endif 00070