VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkMatrixToLinearTransform.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 =========================================================================*/ 00015 00031 #ifndef vtkMatrixToLinearTransform_h 00032 #define vtkMatrixToLinearTransform_h 00033 00034 #include "vtkCommonTransformsModule.h" // For export macro 00035 #include "vtkLinearTransform.h" 00036 00037 class vtkMatrix4x4; 00038 00039 class VTKCOMMONTRANSFORMS_EXPORT vtkMatrixToLinearTransform : public vtkLinearTransform 00040 { 00041 public: 00042 static vtkMatrixToLinearTransform *New(); 00043 vtkTypeMacro(vtkMatrixToLinearTransform,vtkLinearTransform); 00044 void PrintSelf (ostream& os, vtkIndent indent); 00045 00047 00049 virtual void SetInput(vtkMatrix4x4*); 00050 vtkGetObjectMacro(Input,vtkMatrix4x4); 00052 00055 void Inverse(); 00056 00058 unsigned long GetMTime(); 00059 00061 vtkAbstractTransform *MakeTransform(); 00062 00063 protected: 00064 vtkMatrixToLinearTransform(); 00065 ~vtkMatrixToLinearTransform(); 00066 00067 void InternalUpdate(); 00068 void InternalDeepCopy(vtkAbstractTransform *transform); 00069 00070 int InverseFlag; 00071 vtkMatrix4x4 *Input; 00072 private: 00073 vtkMatrixToLinearTransform(const vtkMatrixToLinearTransform&); // Not implemented. 00074 void operator=(const vtkMatrixToLinearTransform&); // Not implemented. 00075 }; 00076 00077 #endif