vtkPVTransform.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkPVTransform
5 
6  Copyright (c) Kitware, Inc.
7  All rights reserved.
8  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html 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 vtkPVTransform_h
25 #define vtkPVTransform_h
26 
27 #include "vtkPVVTKExtensionsMiscModule.h" //needed for exports
28 #include "vtkTransform.h"
29 class vtkTransform;
30 
32 {
33 public:
34  static vtkPVTransform* New();
35  vtkTypeMacro(vtkPVTransform, vtkTransform);
36  void PrintSelf(ostream& os, vtkIndent indent) override;
37 
39 
42  void SetAbsolutePosition(double xyz[3]);
43  void SetAbsolutePosition(double x, double y, double z);
44  vtkGetVector3Macro(AbsolutePosition, double);
46 
48 
51  void SetAbsoluteRotation(double xyz[3]);
52  void SetAbsoluteRotation(double x, double y, double z);
53  vtkGetVector3Macro(AbsoluteRotation, double);
55 
57 
60  void SetAbsoluteScale(double xyz[3]);
61  void SetAbsoluteScale(double x, double y, double z);
62  vtkGetVector3Macro(AbsoluteScale, double);
64 
65 protected:
67  ~vtkPVTransform() override;
68 
69  void UpdateMatrix();
70 
71  double AbsolutePosition[3];
72  double AbsoluteRotation[3];
73  double AbsoluteScale[3];
75 
76 private:
77  vtkPVTransform(const vtkPVTransform&) = delete;
78  void operator=(const vtkPVTransform&) = delete;
79 };
80 
81 #endif
baseclass for all ParaView vtkTransform class.
#define VTKPVVTKEXTENSIONSMISC_EXPORT
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
static vtkTransform * New()
vtkTransform * AbsoluteTransform
void operator=(const vtkObjectBase &)