Graphics/vtkWarpTo.h Source File

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

# Graphics/vtkWarpTo.h

Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program:   Visualization Toolkit
    00004   Module:    $RCSfile: vtkWarpTo.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 =========================================================================*/
    00041 #ifndef __vtkWarpTo_h
    00042 #define __vtkWarpTo_h
    00043
    00044 #include "vtkPointSetToPointSetFilter.h"
    00045
    00046 class VTK_GRAPHICS_EXPORT vtkWarpTo : public vtkPointSetToPointSetFilter
    00047 {
    00048 public:
    00049   static vtkWarpTo *New();
    00050   vtkTypeRevisionMacro(vtkWarpTo,vtkPointSetToPointSetFilter);
    00051   void PrintSelf(ostream& os, vtkIndent indent);
    00052
    00054
    00055   vtkSetMacro(ScaleFactor,float);
    00056   vtkGetMacro(ScaleFactor,float);
    00058
    00060
    00061   vtkGetVectorMacro(Position,float,3);
    00062   vtkSetVector3Macro(Position,float);
    00064
    00066
    00068   vtkSetMacro(Absolute,int);
    00069   vtkGetMacro(Absolute,int);
    00070   vtkBooleanMacro(Absolute,int);
    00072
    00073 protected:
    00074   vtkWarpTo();
    00075   ~vtkWarpTo() {};
    00076
    00077   void Execute();
    00078   float ScaleFactor;
    00079   float Position[3];
    00080   int   Absolute;
    00081 private:
    00082   vtkWarpTo(const vtkWarpTo&);  // Not implemented.
    00083   void operator=(const vtkWarpTo&);  // Not implemented.
    00084 };
    00085
    00086 #endif