00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkGeoEdgeStrategy.h,v $ 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 -------------------------------------------------------------------------*/ 00035 #ifndef __vtkGeoEdgeStrategy_h 00036 #define __vtkGeoEdgeStrategy_h 00037 00038 #include "vtkEdgeLayoutStrategy.h" 00039 00040 class VTK_INFOVIS_EXPORT vtkGeoEdgeStrategy : public vtkEdgeLayoutStrategy 00041 { 00042 public: 00043 static vtkGeoEdgeStrategy *New(); 00044 vtkTypeRevisionMacro(vtkGeoEdgeStrategy,vtkEdgeLayoutStrategy); 00045 void PrintSelf(ostream& os, vtkIndent indent); 00046 00048 00051 vtkSetMacro(GlobeRadius, double); 00052 vtkGetMacro(GlobeRadius, double); 00054 00056 00060 vtkSetMacro(ExplodeFactor, double); 00061 vtkGetMacro(ExplodeFactor, double); 00063 00065 00066 vtkSetMacro(NumberOfSubdivisions, int); 00067 vtkGetMacro(NumberOfSubdivisions, int); 00069 00071 virtual void Layout(); 00072 00073 protected: 00074 vtkGeoEdgeStrategy(); 00075 ~vtkGeoEdgeStrategy() {} 00076 00077 double GlobeRadius; 00078 double ExplodeFactor; 00079 int NumberOfSubdivisions; 00080 00081 private: 00082 vtkGeoEdgeStrategy(const vtkGeoEdgeStrategy&); // Not implemented. 00083 void operator=(const vtkGeoEdgeStrategy&); // Not implemented. 00084 }; 00085 00086 #endif