vtkPVTransform.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
12 #ifndef vtkPVTransform_h
13 #define vtkPVTransform_h
14 
15 #include "vtkNew.h" // for vtkNew
16 #include "vtkPVVTKExtensionsMiscModule.h" //needed for exports
17 #include "vtkTransform.h"
18 
20 {
21 public:
22  static vtkPVTransform* New();
23  vtkTypeMacro(vtkPVTransform, vtkTransform);
24  void PrintSelf(ostream& os, vtkIndent indent) override;
25 
27 
30  void SetAbsolutePosition(double xyz[3]);
31  void SetAbsolutePosition(double x, double y, double z);
32  vtkGetVector3Macro(AbsolutePosition, double);
34 
36 
39  void SetAbsoluteRotation(double xyz[3]);
40  void SetAbsoluteRotation(double x, double y, double z);
41  vtkGetVector3Macro(AbsoluteRotation, double);
43 
45 
48  void SetAbsoluteScale(double xyz[3]);
49  void SetAbsoluteScale(double x, double y, double z);
50  vtkGetVector3Macro(AbsoluteScale, double);
52 
53 protected:
54  vtkPVTransform() = default;
55  ~vtkPVTransform() override = default;
56 
57  virtual void UpdateMatrix();
58 
59  double AbsolutePosition[3] = { 0.0, 0.0, 0.0 };
60  double AbsoluteRotation[3] = { 0.0, 0.0, 0.0 };
61  double AbsoluteScale[3] = { 1.0, 1.0, 1.0 };
63 
64 private:
65  vtkPVTransform(const vtkPVTransform&) = delete;
66  void operator=(const vtkPVTransform&) = delete;
67 };
68 
69 #endif
baseclass for all ParaView vtkTransform class.
#define VTKPVVTKEXTENSIONSMISC_EXPORT
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
static vtkTransform * New()
void operator=(const vtkObjectBase &)
vtkNew< vtkTransform > AbsoluteTransform