VTK
vtkSMPTransform.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkSMPTransform.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
29 #ifndef vtkSMPTransform_h
30 #define vtkSMPTransform_h
31 
32 #include "vtkFiltersSMPModule.h" // For export macro
33 #include "vtkTransform.h"
34 
36 {
37  public:
38  static vtkSMPTransform *New();
39  vtkTypeMacro(vtkSMPTransform, vtkTransform);
40  void PrintSelf(ostream& os, vtkIndent indent);
41 
44  void TransformPoints(vtkPoints *inPts, vtkPoints *outPts);
45 
48  virtual void TransformNormals(vtkDataArray *inNms, vtkDataArray *outNms);
49 
52  virtual void TransformVectors(vtkDataArray *inVrs, vtkDataArray *outVrs);
53 
55 
58  vtkPoints *outPts,
59  vtkDataArray *inNms,
60  vtkDataArray *outNms,
61  vtkDataArray *inVrs,
62  vtkDataArray *outVrs);
64 
65 protected:
68 
69 private:
70  vtkSMPTransform (const vtkSMPTransform&); // Not implemented
71  void operator=(const vtkSMPTransform&); // Not implemented
72 };
73 
74 #endif
virtual void TransformNormals(vtkDataArray *inNms, vtkDataArray *outNms)
void TransformPoints(vtkPoints *inPts, vtkPoints *outPts)
void TransformPointsNormalsVectors(vtkPoints *inPts, vtkPoints *outPts, vtkDataArray *inNms, vtkDataArray *outNms, vtkDataArray *inVrs, vtkDataArray *outVrs)
describes linear transformations via a 4x4 matrix
Definition: vtkTransform.h:59
void PrintSelf(ostream &os, vtkIndent indent)
virtual void TransformVectors(vtkDataArray *inVrs, vtkDataArray *outVrs)
Transform that uses the SMP framework.
a simple class to control print indentation
Definition: vtkIndent.h:38
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:54
static vtkTransform * New()
#define VTKFILTERSSMP_EXPORT
represent and manipulate 3D points
Definition: vtkPoints.h:38