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 =========================================================================*/
27 #ifndef vtkSMPTransform_h
28 #define vtkSMPTransform_h
29 
30 #include "vtkFiltersSMPModule.h" // For export macro
31 #include "vtkTransform.h"
32 
33 class VTKFILTERSSMP_EXPORT vtkSMPTransform : public vtkTransform
34 {
35  public:
36  static vtkSMPTransform *New();
37  vtkTypeMacro(vtkSMPTransform, vtkTransform);
38  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
39 
44  void TransformPoints(vtkPoints *inPts, vtkPoints *outPts) VTK_OVERRIDE;
45 
50  void TransformNormals(vtkDataArray *inNms, vtkDataArray *outNms) VTK_OVERRIDE;
51 
56  void TransformVectors(vtkDataArray *inVrs, vtkDataArray *outVrs) VTK_OVERRIDE;
57 
63  vtkPoints *outPts,
64  vtkDataArray *inNms,
65  vtkDataArray *outNms,
66  vtkDataArray *inVrs,
67  vtkDataArray *outVrs) VTK_OVERRIDE;
68 
69 protected:
71  ~vtkSMPTransform () VTK_OVERRIDE {}
72 
73 private:
74  vtkSMPTransform (const vtkSMPTransform&) VTK_DELETE_FUNCTION;
75  void operator=(const vtkSMPTransform&) VTK_DELETE_FUNCTION;
76 };
77 
78 #endif
virtual void TransformNormals(vtkDataArray *inNms, vtkDataArray *outNms)
Apply the transformation to a series of normals, and append the results to outNms.
describes linear transformations via a 4x4 matrix
Definition: vtkTransform.h:54
void TransformPoints(vtkPoints *inPts, vtkPoints *outPts) override
Apply the transformation to a series of points, and append the results to outPts. ...
~vtkSMPTransform() override
void TransformPointsNormalsVectors(vtkPoints *inPts, vtkPoints *outPts, vtkDataArray *inNms, vtkDataArray *outNms, vtkDataArray *inVrs, vtkDataArray *outVrs) override
Apply the transformation to a combination of points, normals and vectors.
virtual void TransformVectors(vtkDataArray *inVrs, vtkDataArray *outVrs)
Apply the transformation to a series of vectors, and append the results to outVrs.
Transform that uses the SMP framework.
a simple class to control print indentation
Definition: vtkIndent.h:33
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:48
static vtkTransform * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
represent and manipulate 3D points
Definition: vtkPoints.h:33