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

# 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 =========================================================================*/
    00040 #ifndef __vtkImageSinusoidSource_h
    00041 #define __vtkImageSinusoidSource_h
    00042
    00043 #include "vtkImageSource.h"
    00044
    00045 class VTK_IMAGING_EXPORT vtkImageSinusoidSource : public vtkImageSource
    00046 {
    00047 public:
    00048   static vtkImageSinusoidSource *New();
    00049   vtkTypeRevisionMacro(vtkImageSinusoidSource,vtkImageSource);
    00050   void PrintSelf(ostream& os, vtkIndent indent);
    00051
    00053
    00054   void SetWholeExtent(int xMinx, int xMax, int yMin, int yMax,
    00055                       int zMin, int zMax);
    00057
    00059
    00061   void SetDirection(float,float,float);
    00062   void SetDirection(float dir[3]);
    00063   vtkGetVector3Macro(Direction, float);
    00065
    00067
    00068   vtkSetMacro(Period, float);
    00069   vtkGetMacro(Period, float);
    00071
    00073
    00074   vtkSetMacro(Phase, float);
    00075   vtkGetMacro(Phase, float);
    00077
    00079
    00080   vtkSetMacro(Amplitude, float);
    00081   vtkGetMacro(Amplitude, float);
    00083
    00084 protected:
    00085   vtkImageSinusoidSource();
    00086   ~vtkImageSinusoidSource() {};
    00087
    00088   int WholeExtent[6];
    00089   float Direction[3];
    00090   float Period;
    00091   float Phase;
    00092   float Amplitude;
    00093
    00094   virtual void ExecuteInformation();
    00095   virtual void ExecuteData(vtkDataObject *data);
    00096 private:
    00097   vtkImageSinusoidSource(const vtkImageSinusoidSource&);  // Not implemented.
    00098   void operator=(const vtkImageSinusoidSource&);  // Not implemented.
    00099 };
    00100
    00101
    00102 #endif
    00103
    00104
    00105