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 =========================================================================*/
30 #ifndef vtkSMPTransform_h
31 #define vtkSMPTransform_h
32 
33 #include "vtkFiltersSMPModule.h" // For export macro
34 #include "vtkTransform.h"
35 
36 class VTKFILTERSSMP_EXPORT vtkSMPTransform : public vtkTransform
37 {
38  public:
39  static vtkSMPTransform *New();
40  vtkTypeMacro(vtkSMPTransform, vtkTransform);
41  void PrintSelf(ostream& os, vtkIndent indent);
42 
47  void TransformPoints(vtkPoints *inPts, vtkPoints *outPts);
48 
53  virtual void TransformNormals(vtkDataArray *inNms, vtkDataArray *outNms);
54 
59  virtual void TransformVectors(vtkDataArray *inVrs, vtkDataArray *outVrs);
60 
66  vtkPoints *outPts,
67  vtkDataArray *inNms,
68  vtkDataArray *outNms,
69  vtkDataArray *inVrs,
70  vtkDataArray *outVrs);
71 
72 protected:
75 
76 private:
77  vtkSMPTransform (const vtkSMPTransform&) VTK_DELETE_FUNCTION;
78  void operator=(const vtkSMPTransform&) VTK_DELETE_FUNCTION;
79 };
80 
81 #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:60
void TransformPoints(vtkPoints *inPts, vtkPoints *outPts) override
Apply the transformation to a series of points, and append the results to outPts. ...
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:39
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:54
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:39