Salome HOME
PAL10125 - by double click on reference original object becomes selected
[modules/gui.git] / src / VTKViewer / VTKViewer_Transform.h
1 #ifndef VTKVIEWER_TRANSFORM_H
2 #define VTKVIEWER_TRANSFORM_H
3
4 #include "VTKViewer.h"
5
6 #include <vtkTransform.h>
7
8 /*!\brief Describes linear transformations via a 4x4 matrix.
9  *@see vtkTransform class
10  */
11 class VTKVIEWER_EXPORT VTKViewer_Transform : public vtkTransform
12 {
13 public:
14   /*!Create new instance of VTKViewer_Transform.*/
15   static VTKViewer_Transform *New();
16   vtkTypeMacro( VTKViewer_Transform, vtkTransform );
17
18   int  IsIdentity();
19   //merge with V2_2_0_VISU_improvements:void SetScale( float theScaleX, float theScaleY, float theScaleZ );
20   void SetMatrixScale(double theScaleX, double theScaleY, double theScaleZ);
21   void GetMatrixScale(double theScale[3]);
22
23 protected:
24   /*!Constructor.*/
25   VTKViewer_Transform() {/*!Do nothing*/}
26   /*!Copy contructor.*/
27   VTKViewer_Transform(const VTKViewer_Transform&) {/*!Do nothing*/}
28   /*!Destructor.*/
29   ~VTKViewer_Transform() {/*!Do nothing*/}
30
31   /*!Operator = */
32   void operator=( const VTKViewer_Transform& ) {/*!Do nothing*/}
33 };
34
35 #endif