VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkGeoAdaptiveArcs.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 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 -------------------------------------------------------------------------*/ 00027 #ifndef __vtkGeoAdaptiveArcs_h 00028 #define __vtkGeoAdaptiveArcs_h 00029 00030 #include "vtkGeovisCoreModule.h" // For export macro 00031 #include "vtkPolyDataAlgorithm.h" 00032 00033 class vtkDoubleArray; 00034 class vtkPolyData; 00035 class vtkRenderer; 00036 00037 class VTKGEOVISCORE_EXPORT vtkGeoAdaptiveArcs : public vtkPolyDataAlgorithm 00038 { 00039 public: 00040 static vtkGeoAdaptiveArcs *New(); 00041 00042 vtkTypeMacro(vtkGeoAdaptiveArcs,vtkPolyDataAlgorithm); 00043 void PrintSelf(ostream& os, vtkIndent indent); 00044 00046 00049 vtkSetMacro(GlobeRadius, double); 00050 vtkGetMacro(GlobeRadius, double); 00052 00054 00058 vtkSetMacro(MaximumPixelSeparation, double); 00059 vtkGetMacro(MaximumPixelSeparation, double); 00061 00063 00066 vtkSetMacro(MinimumPixelSeparation, double); 00067 vtkGetMacro(MinimumPixelSeparation, double); 00069 00071 00072 virtual void SetRenderer(vtkRenderer *ren); 00073 vtkGetObjectMacro(Renderer, vtkRenderer); 00075 00077 virtual unsigned long GetMTime(); 00078 00079 protected: 00080 vtkGeoAdaptiveArcs(); 00081 ~vtkGeoAdaptiveArcs(); 00082 00084 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00085 00086 vtkRenderer *Renderer; 00087 double GlobeRadius; 00088 double MaximumPixelSeparation; 00089 double MinimumPixelSeparation; 00090 unsigned long LastInputMTime; 00091 vtkPolyData* LastInput; 00092 vtkDoubleArray* InputLatitude; 00093 vtkDoubleArray* InputLongitude; 00094 00095 private: 00096 vtkGeoAdaptiveArcs(const vtkGeoAdaptiveArcs&); // Not implemented. 00097 void operator=(const vtkGeoAdaptiveArcs&); // Not implemented. 00098 }; 00099 00100 #endif