VTK
vtkmPointTransform.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkTransformFilter.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 =========================================================================*/
24 #ifndef vtkmPointTransform_h
25 #define vtkmPointTransform_h
26 
27 #include "vtkAcceleratorsVTKmModule.h" // For export macro
28 #include "vtkPointSetAlgorithm.h"
29 
31 
32 class VTKACCELERATORSVTKM_EXPORT vtkmPointTransform : public vtkPointSetAlgorithm
33 {
34 public:
36  void PrintSelf(ostream& os, vtkIndent indent) override;
37 
38  static vtkmPointTransform *New();
39 
41 
44  void SetTransform(vtkHomogeneousTransform* tf);
45  vtkGetObjectMacro(Transform,vtkHomogeneousTransform);
47 
49 protected:
51  ~vtkmPointTransform() override;
52  int RequestDataObject(vtkInformation* request,
53  vtkInformationVector** inputVector,
54  vtkInformationVector* outputVector) override;
57  vtkInformationVector*) override;
59 private:
60  vtkmPointTransform(const vtkmPointTransform&) = delete;
61  void operator=(const vtkmPointTransform&) = delete;
62 };
63 
64 #endif
65 // VTK-HeaderTest-Exclude: vtkmPointTransform.h
vtkmPointTransform
transform points via vtkm PointTransform filter
Definition: vtkmPointTransform.h:32
vtkHomogeneousTransform
superclass for homogeneous transformations
Definition: vtkHomogeneousTransform.h:34
vtkPointSetAlgorithm
Superclass for algorithms that produce output of the same type as input.
Definition: vtkPointSetAlgorithm.h:43
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkPointSetAlgorithm.h
vtkmPointTransform::Transform
vtkHomogeneousTransform * Transform
Definition: vtkmPointTransform.h:58
vtkX3D::port
Definition: vtkX3D.h:447
vtkPointSetAlgorithm::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Definition: vtkPointSetAlgorithm.h:132
vtkPointSetAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
ADIOS::Transform
Transform
Definition: ADIOSDefs.h:40
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkPointSetAlgorithm::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkX3D::info
Definition: vtkX3D.h:376
vtkPointSetAlgorithm::New
static vtkPointSetAlgorithm * New()
vtkPointSetAlgorithm::RequestDataObject
virtual int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.