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

dox/Imaging/vtkImageSinusoidSource.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkImageSinusoidSource.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 =========================================================================*/ 00029 #ifndef __vtkImageSinusoidSource_h 00030 #define __vtkImageSinusoidSource_h 00031 00032 #include "vtkImageSource.h" 00033 00034 class VTK_IMAGING_EXPORT vtkImageSinusoidSource : public vtkImageSource 00035 { 00036 public: 00037 static vtkImageSinusoidSource *New(); 00038 vtkTypeRevisionMacro(vtkImageSinusoidSource,vtkImageSource); 00039 void PrintSelf(ostream& os, vtkIndent indent); 00040 00042 00043 void SetWholeExtent(int xMinx, int xMax, int yMin, int yMax, 00044 int zMin, int zMax); 00046 00048 00050 void SetDirection(float,float,float); 00051 void SetDirection(float dir[3]); 00052 vtkGetVector3Macro(Direction, float); 00054 00056 00057 vtkSetMacro(Period, float); 00058 vtkGetMacro(Period, float); 00060 00062 00063 vtkSetMacro(Phase, float); 00064 vtkGetMacro(Phase, float); 00066 00068 00069 vtkSetMacro(Amplitude, float); 00070 vtkGetMacro(Amplitude, float); 00072 00073 protected: 00074 vtkImageSinusoidSource(); 00075 ~vtkImageSinusoidSource() {}; 00076 00077 int WholeExtent[6]; 00078 float Direction[3]; 00079 float Period; 00080 float Phase; 00081 float Amplitude; 00082 00083 virtual void ExecuteInformation(); 00084 virtual void ExecuteData(vtkDataObject *data); 00085 private: 00086 vtkImageSinusoidSource(const vtkImageSinusoidSource&); // Not implemented. 00087 void operator=(const vtkImageSinusoidSource&); // Not implemented. 00088 }; 00089 00090 00091 #endif 00092 00093 00094