Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class 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 =========================================================================*/
00037 #ifndef __vtkCylindricalTransform_h
00038 #define __vtkCylindricalTransform_h
00039 
00040 #include "vtkWarpTransform.h"
00041 
00042 class VTK_COMMON_EXPORT vtkCylindricalTransform : public vtkWarpTransform
00043 {
00044 public:
00045   static vtkCylindricalTransform *New();
00046   vtkTypeRevisionMacro(vtkCylindricalTransform,vtkWarpTransform);
00047   virtual void PrintSelf(ostream& os, vtkIndent indent);
00048 
00050   vtkAbstractTransform *MakeTransform();
00051 
00052 protected:
00053   vtkCylindricalTransform();
00054   ~vtkCylindricalTransform();
00055 
00057   void InternalDeepCopy(vtkAbstractTransform *transform);
00058 
00060 
00061   void ForwardTransformPoint(const float in[3], float out[3]);
00062   void ForwardTransformPoint(const double in[3], double out[3]);
00064 
00065   void ForwardTransformDerivative(const float in[3], float out[3],
00066                                   float derivative[3][3]);
00067   void ForwardTransformDerivative(const double in[3], double out[3],
00068                                   double derivative[3][3]);
00069 
00070   void InverseTransformPoint(const float in[3], float out[3]);
00071   void InverseTransformPoint(const double in[3], double out[3]);
00072 
00073   void InverseTransformDerivative(const float in[3], float out[3],
00074                                   float derivative[3][3]);
00075   void InverseTransformDerivative(const double in[3], double out[3],
00076                                   double derivative[3][3]);
00077 
00078 private:
00079   vtkCylindricalTransform(const vtkCylindricalTransform&); // Not implemented.
00080   void operator=(const vtkCylindricalTransform&); // Not implemented.
00081 };
00082 
00083 #endif
00084