VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Graphics
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 "
vtkPointSetAlgorithm.h
"
29
30
class
VTK_GRAPHICS_EXPORT
vtkWarpTo
:
public
vtkPointSetAlgorithm
31
{
32
public
:
33
static
vtkWarpTo
*
New
();
34
vtkTypeMacro(
vtkWarpTo
,
vtkPointSetAlgorithm
);
35
void
PrintSelf
(ostream& os,
vtkIndent
indent);
36
38
39
vtkSetMacro(ScaleFactor,
double
);
40
vtkGetMacro(ScaleFactor,
double
);
42
44
45
vtkGetVectorMacro(Position,
double
,3);
46
vtkSetVector3Macro(Position,
double
);
48
50
52
vtkSetMacro(Absolute,
int
);
53
vtkGetMacro(Absolute,
int
);
54
vtkBooleanMacro(Absolute,
int
);
56
57
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
);
58
59
protected
:
60
vtkWarpTo
();
61
~vtkWarpTo
() {};
62
63
int
RequestDataObject
(
vtkInformation
*request,
64
vtkInformationVector
**inputVector,
65
vtkInformationVector
*outputVector);
66
int
RequestData
(
vtkInformation
*,
67
vtkInformationVector
**,
68
vtkInformationVector
*);
69
double
ScaleFactor
;
70
double
Position[3];
71
int
Absolute
;
72
private
:
73
vtkWarpTo
(
const
vtkWarpTo
&);
// Not implemented.
74
void
operator=(
const
vtkWarpTo
&);
// Not implemented.
75
};
76
77
#endif
Generated on Tue Jan 8 2013 05:45:32 for VTK by
1.8.1.2