00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkGeoSampleArcs.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 -------------------------------------------------------------------------*/ 00031 #ifndef __vtkGeoSampleArcs_h 00032 #define __vtkGeoSampleArcs_h 00033 00034 #include "vtkPolyDataAlgorithm.h" 00035 00036 class VTK_GEOVIS_EXPORT vtkGeoSampleArcs : public vtkPolyDataAlgorithm 00037 { 00038 public: 00039 static vtkGeoSampleArcs *New(); 00040 00041 vtkTypeRevisionMacro(vtkGeoSampleArcs,vtkPolyDataAlgorithm); 00042 void PrintSelf(ostream& os, vtkIndent indent); 00043 00045 00048 vtkSetMacro(GlobeRadius, double); 00049 vtkGetMacro(GlobeRadius, double); 00051 00053 00054 vtkSetMacro(MaximumDistanceMeters, double); 00055 vtkGetMacro(MaximumDistanceMeters, double); 00057 00058 protected: 00059 vtkGeoSampleArcs(); 00060 ~vtkGeoSampleArcs(); 00061 00063 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00064 00065 double GlobeRadius; 00066 double MaximumDistanceMeters; 00067 00068 private: 00069 vtkGeoSampleArcs(const vtkGeoSampleArcs&); // Not implemented. 00070 void operator=(const vtkGeoSampleArcs&); // Not implemented. 00071 }; 00072 00073 #endif