VTK
dox
Filters
SMP
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
65
void
TransformPointsNormalsVectors
(
vtkPoints
*inPts,
66
vtkPoints
*outPts,
67
vtkDataArray
*inNms,
68
vtkDataArray
*outNms,
69
vtkDataArray
*inVrs,
70
vtkDataArray
*outVrs);
71
72
protected
:
73
vtkSMPTransform
() {}
74
~vtkSMPTransform
() {}
75
76
private
:
77
vtkSMPTransform
(
const
vtkSMPTransform
&) VTK_DELETE_FUNCTION;
78
void
operator=(
const
vtkSMPTransform
&) VTK_DELETE_FUNCTION;
79
};
80
81
#endif
vtkLinearTransform::TransformNormals
virtual void TransformNormals(vtkDataArray *inNms, vtkDataArray *outNms)
Apply the transformation to a series of normals, and append the results to outNms.
vtkTransform
describes linear transformations via a 4x4 matrix
Definition:
vtkTransform.h:60
vtkLinearTransform::TransformPoints
void TransformPoints(vtkPoints *inPts, vtkPoints *outPts) override
Apply the transformation to a series of points, and append the results to outPts. ...
vtkLinearTransform::TransformPointsNormalsVectors
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.
vtkLinearTransform::TransformVectors
virtual void TransformVectors(vtkDataArray *inVrs, vtkDataArray *outVrs)
Apply the transformation to a series of vectors, and append the results to outVrs.
vtkSMPTransform
Transform that uses the SMP framework.
Definition:
vtkSMPTransform.h:36
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkDataArray
abstract superclass for arrays of numeric data
Definition:
vtkDataArray.h:54
vtkSMPTransform::vtkSMPTransform
vtkSMPTransform()
Definition:
vtkSMPTransform.h:73
vtkTransform::New
static vtkTransform * New()
vtkTransform::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkTransform.h
vtkPoints
represent and manipulate 3D points
Definition:
vtkPoints.h:39
vtkSMPTransform::~vtkSMPTransform
~vtkSMPTransform()
Definition:
vtkSMPTransform.h:74
Generated by
1.8.13