VTK
dox/Geovis/vtkGeoArcs.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkGeoArcs.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 -------------------------------------------------------------------------*/
00029 #ifndef __vtkGeoArcs_h
00030 #define __vtkGeoArcs_h
00031 
00032 #include "vtkPolyDataAlgorithm.h"
00033 
00034 class VTK_GEOVIS_EXPORT vtkGeoArcs : public vtkPolyDataAlgorithm 
00035 {
00036 public:
00037   static vtkGeoArcs *New();
00038 
00039   vtkTypeMacro(vtkGeoArcs,vtkPolyDataAlgorithm);
00040   void PrintSelf(ostream& os, vtkIndent indent);
00041 
00043 
00045   vtkSetMacro(GlobeRadius, double);
00046   vtkGetMacro(GlobeRadius, double);
00048   
00050 
00054   vtkSetMacro(ExplodeFactor, double);
00055   vtkGetMacro(ExplodeFactor, double);
00057   
00059 
00060   vtkSetMacro(NumberOfSubdivisions, int);
00061   vtkGetMacro(NumberOfSubdivisions, int);
00063   
00064 protected:
00065   vtkGeoArcs();
00066   ~vtkGeoArcs() {}
00067 
00068   int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00069   
00070   double GlobeRadius;
00071   double ExplodeFactor;
00072   int NumberOfSubdivisions;
00073   
00074 private:
00075   vtkGeoArcs(const vtkGeoArcs&);  // Not implemented.
00076   void operator=(const vtkGeoArcs&);  // Not implemented.
00077 };
00078 
00079 #endif