ctkVTKAbstractMatrixWidget.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /*=========================================================================
  2. Library: CTK
  3. Copyright (c) Kitware Inc.
  4. All rights reserved.
  5. Distributed under a BSD License. See LICENSE.txt file.
  6. This software is distributed "AS IS" WITHOUT ANY WARRANTY; without even
  7. the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  8. See the above copyright notice for more information.
  9. =========================================================================*/
  10. #ifndef __ctkVTKAbstractMatrixWidget_h
  11. #define __ctkVTKAbstractMatrixWidget_h
  12. /// CTK includes
  13. #include <ctkMatrixWidget.h>
  14. #include <ctkPimpl.h>
  15. #include <ctkVTKObject.h>
  16. #include "CTKVisualizationVTKWidgetsExport.h"
  17. class vtkMatrix4x4;
  18. class ctkVTKAbstractMatrixWidgetPrivate;
  19. class CTK_VISUALIZATION_VTK_WIDGETS_EXPORT ctkVTKAbstractMatrixWidget : public ctkMatrixWidget
  20. {
  21. public:
  22. /// Self/Superclass typedef
  23. typedef ctkMatrixWidget Superclass;
  24. /// Constructors
  25. ctkVTKAbstractMatrixWidget(QWidget* parent);
  26. vtkMatrix4x4* matrix()const;
  27. protected:
  28. void setMatrixInternal(vtkMatrix4x4* matrix);
  29. private:
  30. CTK_DECLARE_PRIVATE(ctkVTKAbstractMatrixWidget);
  31. };
  32. #endif