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

vtkSphericalTransform.h

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