VTK
vtkTransformFilter.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 =========================================================================*/
44 #ifndef vtkTransformFilter_h
45 #define vtkTransformFilter_h
46 
47 #include "vtkFiltersGeneralModule.h" // For export macro
48 #include "vtkPointSetAlgorithm.h"
49 
51 
52 class VTKFILTERSGENERAL_EXPORT vtkTransformFilter : public vtkPointSetAlgorithm
53 {
54 public:
57  void PrintSelf(ostream& os, vtkIndent indent) override;
58 
62  vtkMTimeType GetMTime() override;
63 
65 
69  vtkGetObjectMacro(Transform,vtkAbstractTransform);
71 
73 
75 
80  vtkSetMacro(OutputPointsPrecision,int);
81  vtkGetMacro(OutputPointsPrecision,int);
83 
85 
90  vtkSetMacro(TransformAllInputVectors, bool);
91  vtkGetMacro(TransformAllInputVectors, bool);
92  vtkBooleanMacro(TransformAllInputVectors, bool);
94 
95 protected:
97  ~vtkTransformFilter() override;
98 
100  vtkInformationVector **inputVector,
101  vtkInformationVector *outputVector) override;
104  vtkInformationVector *) override;
105 
107 
111 
112 private:
113  vtkTransformFilter(const vtkTransformFilter&) = delete;
114  void operator=(const vtkTransformFilter&) = delete;
115 };
116 
117 #endif
vtkTransformFilter::SetTransform
virtual void SetTransform(vtkAbstractTransform *)
Specify the transform object used to transform points.
vtkAbstractTransform
superclass for all geometric transformations
Definition: vtkAbstractTransform.h:51
vtkPointSetAlgorithm
Superclass for algorithms that produce output of the same type as input.
Definition: vtkPointSetAlgorithm.h:44
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:42
vtkTransformFilter::CreateNewDataArray
vtkDataArray * CreateNewDataArray()
vtkTransformFilter::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkTransformFilter::TransformAllInputVectors
bool TransformAllInputVectors
Definition: vtkTransformFilter.h:110
vtkPointSetAlgorithm.h
vtkDataArray
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:55
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkTransformFilter::vtkTransformFilter
vtkTransformFilter()
ADIOS::Transform
Transform
Definition: ADIOSDefs.h:41
vtkTransformFilter::Transform
vtkAbstractTransform * Transform
Definition: vtkTransformFilter.h:108
vtkTransformFilter::OutputPointsPrecision
int OutputPointsPrecision
Definition: vtkTransformFilter.h:109
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkTransformFilter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkTransformFilter::~vtkTransformFilter
~vtkTransformFilter() override
vtkTransformFilter::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:87
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkTransformFilter::GetMTime
vtkMTimeType GetMTime() override
Return the MTime also considering the transform.
vtkTransformFilter
transform points and associated normals and vectors
Definition: vtkTransformFilter.h:53
vtkTransformFilter::RequestDataObject
int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
vtkTransformFilter::New
static vtkTransformFilter * New()
vtkMTimeType
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:302