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

vtkWarpVector.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkWarpVector.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 =========================================================================*/
00044 #ifndef __vtkWarpVector_h
00045 #define __vtkWarpVector_h
00046 
00047 #include "vtkPointSetToPointSetFilter.h"
00048 
00049 class VTK_GRAPHICS_EXPORT vtkWarpVector : public vtkPointSetToPointSetFilter
00050 {
00051 public:
00052   static vtkWarpVector *New();
00053   vtkTypeRevisionMacro(vtkWarpVector,vtkPointSetToPointSetFilter);
00054   void PrintSelf(ostream& os, vtkIndent indent);
00055 
00057 
00058   vtkSetMacro(ScaleFactor,double);
00059   vtkGetMacro(ScaleFactor,double);
00061 
00063 
00066   vtkGetStringMacro(InputVectorsSelection);
00067   void SelectInputVectors(const char *fieldName) 
00068     {this->SetInputVectorsSelection(fieldName);}
00070   
00071 protected:
00072   vtkWarpVector();
00073   ~vtkWarpVector();
00074 
00075   void Execute();
00076   double ScaleFactor;
00077 
00078   char *InputVectorsSelection;
00079   vtkSetStringMacro(InputVectorsSelection);
00080 
00081 private:
00082   vtkWarpVector(const vtkWarpVector&);  // Not implemented.
00083   void operator=(const vtkWarpVector&);  // Not implemented.
00084 };
00085 
00086 #endif