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

vtkRTAnalyticSource.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkRTAnalyticSource.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 =========================================================================*/
00039 #ifndef __vtkRTAnalyticSource_h
00040 #define __vtkRTAnalyticSource_h
00041 
00042 #include "vtkImageSource.h"
00043 
00044 class VTK_PARALLEL_EXPORT vtkRTAnalyticSource : public vtkImageSource
00045 {
00046 public:
00047   static vtkRTAnalyticSource *New();
00048   vtkTypeRevisionMacro(vtkRTAnalyticSource,vtkImageSource);
00049   void PrintSelf(ostream& os, vtkIndent indent);
00050 
00052 
00053   void SetWholeExtent(int xMinx, int xMax, int yMin, int yMax,
00054                       int zMin, int zMax);
00055   vtkGetVector6Macro(WholeExtent, int);
00057   
00059 
00060   vtkSetVector3Macro(Center, double);
00061   vtkGetVector3Macro(Center, double);
00063 
00065 
00066   vtkSetMacro(Maximum, double);
00067   vtkGetMacro(Maximum, double);
00069 
00071 
00072   vtkSetMacro(StandardDeviation, double);
00073   vtkGetMacro(StandardDeviation, double);
00075 
00077 
00078   vtkSetMacro(XFreq, double);
00079   vtkGetMacro(XFreq, double);
00080   vtkSetMacro(YFreq, double);
00081   vtkGetMacro(YFreq, double);
00082   vtkSetMacro(ZFreq, double);
00083   vtkGetMacro(ZFreq, double);
00085 
00086   vtkSetMacro(XMag, double);
00087   vtkGetMacro(XMag, double);
00088   vtkSetMacro(YMag, double);
00089   vtkGetMacro(YMag, double);
00090   vtkSetMacro(ZMag, double);
00091   vtkGetMacro(ZMag, double);
00092 
00093 protected:
00094   vtkRTAnalyticSource();
00095   ~vtkRTAnalyticSource() {};
00096 
00097   double XFreq;
00098   double YFreq;
00099   double ZFreq;
00100   double XMag;
00101   double YMag;
00102   double ZMag;
00103   double StandardDeviation;
00104   int WholeExtent[6];
00105   double Center[3];
00106   double Maximum;
00107 
00108   virtual void ExecuteInformation();
00109   virtual void ExecuteData(vtkDataObject *data);
00110 private:
00111   vtkRTAnalyticSource(const vtkRTAnalyticSource&);  // Not implemented.
00112   void operator=(const vtkRTAnalyticSource&);  // Not implemented.
00113 };
00114 
00115 
00116 #endif