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
#if !defined(VTK_LEGACY_REMOVE)
37
class
VTKFILTERSSMP_EXPORT
vtkSMPTransform
:
public
vtkTransform
38
{
39
public
:
40
static
vtkSMPTransform
*
New
();
41
vtkTypeMacro(
vtkSMPTransform
,
vtkTransform
);
42
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
43
48
void
TransformPoints
(
vtkPoints
*inPts,
vtkPoints
*outPts)
override
;
49
54
void
TransformNormals
(
vtkDataArray
*inNms,
vtkDataArray
*outNms)
override
;
55
60
void
TransformVectors
(
vtkDataArray
*inVrs,
vtkDataArray
*outVrs)
override
;
61
66
void
TransformPointsNormalsVectors
(
vtkPoints
*inPts,
67
vtkPoints
*outPts,
68
vtkDataArray
*inNms,
69
vtkDataArray
*outNms,
70
vtkDataArray
*inVrs,
71
vtkDataArray
*outVrs)
override
;
72
73
protected
:
74
vtkSMPTransform
();
75
~vtkSMPTransform
()
override
{}
76
77
private
:
78
vtkSMPTransform
(
const
vtkSMPTransform
&) =
delete
;
79
void
operator=(
const
vtkSMPTransform
&) =
delete
;
80
};
81
82
#endif //VTK_LEGACY_REMOVE
83
#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.
vtkSMPTransform::~vtkSMPTransform
~vtkSMPTransform() override
Definition:
vtkSMPTransform.h:75
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.
vtkFiltersSMPModule.h
vtkSMPTransform
Transform that uses the SMP framework.
Definition:
vtkSMPTransform.h:37
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkDataArray
abstract superclass for arrays of numeric data
Definition:
vtkDataArray.h:54
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.
VTKFILTERSSMP_EXPORT
#define VTKFILTERSSMP_EXPORT
Definition:
vtkFiltersSMPModule.h:15
vtkTransform.h
vtkPoints
represent and manipulate 3D points
Definition:
vtkPoints.h:39
Generated by
1.8.15