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 -------------------------------------------------------------------------*/ 00032 #ifndef __vtkGeoEdgeStrategy_h 00033 #define __vtkGeoEdgeStrategy_h 00034 00035 #include "vtkEdgeLayoutStrategy.h" 00036 00037 class VTK_GEOVIS_EXPORT vtkGeoEdgeStrategy : public vtkEdgeLayoutStrategy 00038 { 00039 public: 00040 static vtkGeoEdgeStrategy *New(); 00041 vtkTypeRevisionMacro(vtkGeoEdgeStrategy,vtkEdgeLayoutStrategy); 00042 void PrintSelf(ostream& os, vtkIndent indent); 00043 00045 00048 vtkSetMacro(GlobeRadius, double); 00049 vtkGetMacro(GlobeRadius, double); 00051 00053 00057 vtkSetMacro(ExplodeFactor, double); 00058 vtkGetMacro(ExplodeFactor, double); 00060 00062 00063 vtkSetMacro(NumberOfSubdivisions, int); 00064 vtkGetMacro(NumberOfSubdivisions, int); 00066 00068 virtual void Layout(); 00069 00070 protected: 00071 vtkGeoEdgeStrategy(); 00072 ~vtkGeoEdgeStrategy() {} 00073 00074 double GlobeRadius; 00075 double ExplodeFactor; 00076 int NumberOfSubdivisions; 00077 00078 private: 00079 vtkGeoEdgeStrategy(const vtkGeoEdgeStrategy&); // Not implemented. 00080 void operator=(const vtkGeoEdgeStrategy&); // Not implemented. 00081 }; 00082 00083 #endif