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

Common/vtkCylindricalTransform.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkCylindricalTransform.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 =========================================================================*/
00047 #ifndef __vtkCylindricalTransform_h
00048 #define __vtkCylindricalTransform_h
00049 
00050 #include "vtkWarpTransform.h"
00051 
00052 class VTK_COMMON_EXPORT vtkCylindricalTransform : public vtkWarpTransform
00053 {
00054 public:
00055   static vtkCylindricalTransform *New();
00056   vtkTypeRevisionMacro(vtkCylindricalTransform,vtkWarpTransform);
00057   virtual void PrintSelf(ostream& os, vtkIndent indent);
00058 
00060   vtkAbstractTransform *MakeTransform();
00061 
00062 protected:
00063   vtkCylindricalTransform();
00064   ~vtkCylindricalTransform();
00065 
00067   void InternalDeepCopy(vtkAbstractTransform *transform);
00068 
00070 
00071   void ForwardTransformPoint(const float in[3], float out[3]);
00072   void ForwardTransformPoint(const double in[3], double out[3]);
00074 
00075   void ForwardTransformDerivative(const float in[3], float out[3],
00076                                   float derivative[3][3]);
00077   void ForwardTransformDerivative(const double in[3], double out[3],
00078                                   double derivative[3][3]);
00079 
00080   void InverseTransformPoint(const float in[3], float out[3]);
00081   void InverseTransformPoint(const double in[3], double out[3]);
00082 
00083   void InverseTransformDerivative(const float in[3], float out[3],
00084                                   float derivative[3][3]);
00085   void InverseTransformDerivative(const double in[3], double out[3],
00086                                   double derivative[3][3]);
00087 
00088 private:
00089   vtkCylindricalTransform(const vtkCylindricalTransform&); // Not implemented.
00090   void operator=(const vtkCylindricalTransform&); // Not implemented.
00091 };
00092 
00093 #endif
00094