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

# Common/vtkSphericalTransform.h

Go to the documentation of this file.

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