Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkEarthSource.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkEarthSource.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 =========================================================================*/
00038 #ifndef __vtkEarthSource_h
00039 #define __vtkEarthSource_h
00040 
00041 #include "vtkPolyDataSource.h"
00042 
00043 class VTK_HYBRID_EXPORT vtkEarthSource : public vtkPolyDataSource 
00044 {
00045 public:
00046   static vtkEarthSource *New();
00047   vtkTypeRevisionMacro(vtkEarthSource,vtkPolyDataSource);
00048   void PrintSelf(ostream& os, vtkIndent indent);
00049 
00051 
00052   vtkSetClampMacro(Radius,double,0.0,VTK_LARGE_FLOAT);
00053   vtkGetMacro(Radius,double);
00055 
00057 
00060   vtkSetClampMacro(OnRatio,int,1,16);
00061   vtkGetMacro(OnRatio,int);
00063 
00065 
00069   vtkSetMacro(Outline,int);
00070   vtkGetMacro(Outline,int);
00071   vtkBooleanMacro(Outline,int);
00073 
00074 protected:
00075   vtkEarthSource();
00076   ~vtkEarthSource() {};
00077 
00078   void Execute();
00079 
00080   double Radius;
00081   int OnRatio;
00082   int Outline;
00083 private:
00084   vtkEarthSource(const vtkEarthSource&);  // Not implemented.
00085   void operator=(const vtkEarthSource&);  // Not implemented.
00086 };
00087 
00088 #endif
00089 
00090 
00091 
00092 
00093 
00094 
00095 
00096 
00097 
00098