Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | 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   Language:  C++
00006 
00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 
00008   All rights reserved.
00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00010 
00011      This software is distributed WITHOUT ANY WARRANTY; without even 
00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00013      PURPOSE.  See the above copyright notice for more information.
00014 
00015 =========================================================================*/
00032 #ifndef __vtkEarthSource_h
00033 #define __vtkEarthSource_h
00034 
00035 #include "vtkPolyDataSource.h"
00036 
00037 class VTK_HYBRID_EXPORT vtkEarthSource : public vtkPolyDataSource 
00038 {
00039 public:
00040   static vtkEarthSource *New();
00041   vtkTypeRevisionMacro(vtkEarthSource,vtkPolyDataSource);
00042   void PrintSelf(ostream& os, vtkIndent indent);
00043 
00045 
00046   vtkSetClampMacro(Radius,float,0.0,VTK_LARGE_FLOAT);
00047   vtkGetMacro(Radius,float);
00049 
00051 
00054   vtkSetClampMacro(OnRatio,int,1,16);
00055   vtkGetMacro(OnRatio,int);
00057 
00059 
00063   vtkSetMacro(Outline,int);
00064   vtkGetMacro(Outline,int);
00065   vtkBooleanMacro(Outline,int);
00067 
00068 protected:
00069   vtkEarthSource();
00070   ~vtkEarthSource() {};
00071 
00072   void Execute();
00073 
00074   float Radius;
00075   int OnRatio;
00076   int Outline;
00077 private:
00078   vtkEarthSource(const vtkEarthSource&);  // Not implemented.
00079   void operator=(const vtkEarthSource&);  // Not implemented.
00080 };
00081 
00082 #endif
00083 
00084 
00085 
00086 
00087 
00088 
00089 
00090 
00091 
00092