Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

Hybrid/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 =========================================================================*/
00042 #ifndef __vtkEarthSource_h
00043 #define __vtkEarthSource_h
00044 
00045 #include "vtkPolyDataSource.h"
00046 
00047 class VTK_HYBRID_EXPORT vtkEarthSource : public vtkPolyDataSource 
00048 {
00049 public:
00050   static vtkEarthSource *New();
00051   vtkTypeRevisionMacro(vtkEarthSource,vtkPolyDataSource);
00052   void PrintSelf(ostream& os, vtkIndent indent);
00053 
00055 
00056   vtkSetClampMacro(Radius,float,0.0,VTK_LARGE_FLOAT);
00057   vtkGetMacro(Radius,float);
00059 
00061 
00064   vtkSetClampMacro(OnRatio,int,1,16);
00065   vtkGetMacro(OnRatio,int);
00067 
00069 
00073   vtkSetMacro(Outline,int);
00074   vtkGetMacro(Outline,int);
00075   vtkBooleanMacro(Outline,int);
00077 
00078 protected:
00079   vtkEarthSource();
00080   ~vtkEarthSource() {};
00081 
00082   void Execute();
00083 
00084   float Radius;
00085   int OnRatio;
00086   int Outline;
00087 private:
00088   vtkEarthSource(const vtkEarthSource&);  // Not implemented.
00089   void operator=(const vtkEarthSource&);  // Not implemented.
00090 };
00091 
00092 #endif
00093 
00094 
00095 
00096 
00097 
00098 
00099 
00100 
00101 
00102