VTK
dox/Common/Transforms/vtkCylindricalTransform.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkCylindricalTransform.h
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 =========================================================================*/
00033 #ifndef __vtkCylindricalTransform_h
00034 #define __vtkCylindricalTransform_h
00035 
00036 #include "vtkCommonTransformsModule.h" // For export macro
00037 #include "vtkWarpTransform.h"
00038 
00039 class VTKCOMMONTRANSFORMS_EXPORT vtkCylindricalTransform : public vtkWarpTransform
00040 {
00041 public:
00042   static vtkCylindricalTransform *New();
00043   vtkTypeMacro(vtkCylindricalTransform,vtkWarpTransform);
00044   virtual void PrintSelf(ostream& os, vtkIndent indent);
00045 
00047   vtkAbstractTransform *MakeTransform();
00048 
00049 protected:
00050   vtkCylindricalTransform();
00051   ~vtkCylindricalTransform();
00052 
00054   void InternalDeepCopy(vtkAbstractTransform *transform);
00055 
00057 
00058   void ForwardTransformPoint(const float in[3], float out[3]);
00059   void ForwardTransformPoint(const double in[3], double out[3]);
00061 
00062   void ForwardTransformDerivative(const float in[3], float out[3],
00063                                   float derivative[3][3]);
00064   void ForwardTransformDerivative(const double in[3], double out[3],
00065                                   double derivative[3][3]);
00066 
00067   void InverseTransformPoint(const float in[3], float out[3]);
00068   void InverseTransformPoint(const double in[3], double out[3]);
00069 
00070   void InverseTransformDerivative(const float in[3], float out[3],
00071                                   float derivative[3][3]);
00072   void InverseTransformDerivative(const double in[3], double out[3],
00073                                   double derivative[3][3]);
00074 
00075 private:
00076   vtkCylindricalTransform(const vtkCylindricalTransform&); // Not implemented.
00077   void operator=(const vtkCylindricalTransform&); // Not implemented.
00078 };
00079 
00080 #endif
00081