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
36class VTKFILTERSSMP_EXPORT vtkSMPTransform : public vtkTransform
37{
38 public:
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
72protected:
75
76private:
77 vtkSMPTransform (const vtkSMPTransform&) VTK_DELETE_FUNCTION;
78 void operator=(const vtkSMPTransform&) VTK_DELETE_FUNCTION;
79};
80
81#endif
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:55
a simple class to control print indentation
Definition: vtkIndent.h:40
represent and manipulate 3D points
Definition: vtkPoints.h:40
Transform that uses the SMP framework.
virtual void TransformNormals(vtkDataArray *inNms, vtkDataArray *outNms)
Apply the transformation to a series of normals, and append the results to outNms.
virtual void TransformVectors(vtkDataArray *inVrs, vtkDataArray *outVrs)
Apply the transformation to a series of vectors, and append the results to outVrs.
void TransformPointsNormalsVectors(vtkPoints *inPts, vtkPoints *outPts, vtkDataArray *inNms, vtkDataArray *outNms, vtkDataArray *inVrs, vtkDataArray *outVrs)
Apply the transformation to a combination of points, normals and vectors.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
static vtkSMPTransform * New()
void TransformPoints(vtkPoints *inPts, vtkPoints *outPts)
Apply the transformation to a series of points, and append the results to outPts.
describes linear transformations via a 4x4 matrix
Definition: vtkTransform.h:61