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

vtkMatrixToLinearTransform.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkMatrixToLinearTransform.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 =========================================================================*/
00015 
00031 #ifndef __vtkMatrixToLinearTransform_h
00032 #define __vtkMatrixToLinearTransform_h
00033 
00034 #include "vtkLinearTransform.h"
00035 
00036 class vtkMatrix4x4;
00037 
00038 class VTK_COMMON_EXPORT vtkMatrixToLinearTransform : public vtkLinearTransform
00039 {
00040  public:
00041   static vtkMatrixToLinearTransform *New();
00042   vtkTypeRevisionMacro(vtkMatrixToLinearTransform,vtkLinearTransform);
00043   void PrintSelf (ostream& os, vtkIndent indent);
00044 
00046 
00048   virtual void SetInput(vtkMatrix4x4*);
00049   vtkGetObjectMacro(Input,vtkMatrix4x4);
00051 
00054   void Inverse();
00055 
00057   unsigned long GetMTime();
00058 
00060   vtkAbstractTransform *MakeTransform();
00061 
00063   VTK_LEGACY(void SetMatrix(vtkMatrix4x4 *matrix));
00064 
00065 protected:
00066   vtkMatrixToLinearTransform();
00067   ~vtkMatrixToLinearTransform();
00068 
00069   void InternalUpdate();
00070   void InternalDeepCopy(vtkAbstractTransform *transform);
00071 
00072   int InverseFlag;
00073   vtkMatrix4x4 *Input;
00074 private:
00075   vtkMatrixToLinearTransform(const vtkMatrixToLinearTransform&);  // Not implemented.
00076   void operator=(const vtkMatrixToLinearTransform&);  // Not implemented.
00077 };
00078 
00079 #endif

Generated on Mon Jan 21 23:07:17 2008 for VTK by  doxygen 1.4.3-20050530