forked from Kitware/VTK
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvtkmWarpVector.h
55 lines (46 loc) · 1.67 KB
/
vtkmWarpVector.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
//=============================================================================
//
// Copyright (c) Kitware, Inc.
// All rights reserved.
// See LICENSE.txt for details.
//
// This software is distributed WITHOUT ANY WARRANTY; without even
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE. See the above copyright notice for more information.
//
// Copyright 2012 Sandia Corporation.
// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
// the U.S. Government retains certain rights in this software.
//
//=============================================================================
/**
* @class vtkmWarpVector
* @brief deform geometry with vector data
*
* vtkWarpVector is a filter that modifies point coordinates by moving
* points along vector times the scale factor. Useful for showing flow
* profiles or mechanical deformation.
*
* The filter passes both its point data and cell data to its output.
*/
#ifndef vtkmWarpVector_h
#define vtkmWarpVector_h
#include "vtkWarpVector.h"
#include "vtkAcceleratorsVTKmModule.h" // required for correct export
class VTKACCELERATORSVTKM_EXPORT vtkmWarpVector : public vtkWarpVector
{
public:
vtkTypeMacro(vtkmWarpVector, vtkWarpVector)
void PrintSelf(ostream& os, vtkIndent indent) override;
static vtkmWarpVector* New();
protected:
vtkmWarpVector();
~vtkmWarpVector();
int RequestData(vtkInformation* , vtkInformationVector**,
vtkInformationVector*) override;
private:
vtkmWarpVector(const vtkmWarpVector&) = delete;
void operator=(const vtkmWarpVector&) = delete;
};
#endif // vtkmWarpVector_h
// VTK-HeaderTest-Exclude: vtkmWarpVector.h