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

dox/Common/vtkMatrixToLinearTransform.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkMatrixToLinearTransform.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 =========================================================================*/ 00016 00035 #ifndef __vtkMatrixToLinearTransform_h 00036 #define __vtkMatrixToLinearTransform_h 00037 00038 #include "vtkLinearTransform.h" 00039 00040 class vtkMatrix4x4; 00041 00042 class VTK_COMMON_EXPORT vtkMatrixToLinearTransform : public vtkLinearTransform 00043 { 00044 public: 00045 static vtkMatrixToLinearTransform *New(); 00046 vtkTypeRevisionMacro(vtkMatrixToLinearTransform,vtkLinearTransform); 00047 void PrintSelf (ostream& os, vtkIndent indent); 00048 00050 00052 virtual void SetInput(vtkMatrix4x4*); 00053 vtkGetObjectMacro(Input,vtkMatrix4x4); 00055 00058 void Inverse(); 00059 00061 unsigned long GetMTime(); 00062 00064 vtkAbstractTransform *MakeTransform(); 00065 00067 00068 void SetMatrix(vtkMatrix4x4 *matrix) { 00069 this->SetInput(matrix); 00070 vtkWarningMacro("SetMatrix: deprecated, use SetInput() instead"); } 00072 00073 protected: 00074 vtkMatrixToLinearTransform(); 00075 ~vtkMatrixToLinearTransform(); 00076 00077 void InternalUpdate(); 00078 void InternalDeepCopy(vtkAbstractTransform *transform); 00079 00080 int InverseFlag; 00081 vtkMatrix4x4 *Input; 00082 private: 00083 vtkMatrixToLinearTransform(const vtkMatrixToLinearTransform&); // Not implemented. 00084 void operator=(const vtkMatrixToLinearTransform&); // Not implemented. 00085 }; 00086 00087 #endif