VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Filters
General
vtkWarpTo.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkWarpTo.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
=========================================================================*/
25
#ifndef __vtkWarpTo_h
26
#define __vtkWarpTo_h
27
28
#include "vtkFiltersGeneralModule.h"
// For export macro
29
#include "
vtkPointSetAlgorithm.h
"
30
31
class
VTKFILTERSGENERAL_EXPORT
vtkWarpTo
:
public
vtkPointSetAlgorithm
32
{
33
public
:
34
static
vtkWarpTo
*
New
();
35
vtkTypeMacro(
vtkWarpTo
,
vtkPointSetAlgorithm
);
36
void
PrintSelf
(ostream& os,
vtkIndent
indent);
37
39
40
vtkSetMacro(ScaleFactor,
double
);
41
vtkGetMacro(ScaleFactor,
double
);
43
45
46
vtkGetVectorMacro(Position,
double
,3);
47
vtkSetVector3Macro(Position,
double
);
49
51
53
vtkSetMacro(Absolute,
int
);
54
vtkGetMacro(Absolute,
int
);
55
vtkBooleanMacro(Absolute,
int
);
57
58
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
);
59
60
protected
:
61
vtkWarpTo
();
62
~vtkWarpTo
() {};
63
64
int
RequestDataObject
(
vtkInformation
*request,
65
vtkInformationVector
**inputVector,
66
vtkInformationVector
*outputVector);
67
int
RequestData
(
vtkInformation
*,
68
vtkInformationVector
**,
69
vtkInformationVector
*);
70
double
ScaleFactor
;
71
double
Position[3];
72
int
Absolute
;
73
private
:
74
vtkWarpTo
(
const
vtkWarpTo
&);
// Not implemented.
75
void
operator=(
const
vtkWarpTo
&);
// Not implemented.
76
};
77
78
#endif
Generated on Thu May 24 2012 22:22:21 for VTK by
1.8.1