VTK
dox/Geovis/Core/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 "vtkGeovisCoreModule.h" // For export macro
00033 #include "vtkPolyDataAlgorithm.h"
00034 
00035 class VTKGEOVISCORE_EXPORT vtkGeoArcs : public vtkPolyDataAlgorithm
00036 {
00037 public:
00038   static vtkGeoArcs *New();
00039 
00040   vtkTypeMacro(vtkGeoArcs,vtkPolyDataAlgorithm);
00041   void PrintSelf(ostream& os, vtkIndent indent);
00042 
00044 
00046   vtkSetMacro(GlobeRadius, double);
00047   vtkGetMacro(GlobeRadius, double);
00049 
00051 
00055   vtkSetMacro(ExplodeFactor, double);
00056   vtkGetMacro(ExplodeFactor, double);
00058 
00060 
00061   vtkSetMacro(NumberOfSubdivisions, int);
00062   vtkGetMacro(NumberOfSubdivisions, int);
00064 
00065 protected:
00066   vtkGeoArcs();
00067   ~vtkGeoArcs() {}
00068 
00069   int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00070 
00071   double GlobeRadius;
00072   double ExplodeFactor;
00073   int NumberOfSubdivisions;
00074 
00075 private:
00076   vtkGeoArcs(const vtkGeoArcs&);  // Not implemented.
00077   void operator=(const vtkGeoArcs&);  // Not implemented.
00078 };
00079 
00080 #endif