VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkSMPTransform.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 =========================================================================*/ 00029 #ifndef __vtkSMPTransform_h 00030 #define __vtkSMPTransform_h 00031 00032 #include "vtkFiltersSMPModule.h" // For export macro 00033 #include "vtkTransform.h" 00034 00035 class VTKFILTERSSMP_EXPORT vtkSMPTransform : public vtkTransform 00036 { 00037 public: 00038 static vtkSMPTransform *New(); 00039 vtkTypeMacro(vtkSMPTransform, vtkTransform); 00040 void PrintSelf(ostream& os, vtkIndent indent); 00041 00044 void TransformPoints(vtkPoints *inPts, vtkPoints *outPts); 00045 00048 virtual void TransformNormals(vtkDataArray *inNms, vtkDataArray *outNms); 00049 00052 virtual void TransformVectors(vtkDataArray *inVrs, vtkDataArray *outVrs); 00053 00055 00057 void TransformPointsNormalsVectors(vtkPoints *inPts, 00058 vtkPoints *outPts, 00059 vtkDataArray *inNms, 00060 vtkDataArray *outNms, 00061 vtkDataArray *inVrs, 00062 vtkDataArray *outVrs); 00064 00065 protected: 00066 vtkSMPTransform () {} 00067 ~vtkSMPTransform () {} 00068 00069 private: 00070 vtkSMPTransform (const vtkSMPTransform&); // Not implemented 00071 void operator=(const vtkSMPTransform&); // Not implemented 00072 }; 00073 00074 #endif