CTK 0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
ctkVTKAbstractMatrixWidget.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Library: CTK
4
5 Copyright (c) Kitware Inc.
6
7 Licensed under the Apache License, Version 2.0 (the "License");
8 you may not use this file except in compliance with the License.
9 You may obtain a copy of the License at
10
11 http://www.apache.org/licenses/LICENSE-2.0.txt
12
13 Unless required by applicable law or agreed to in writing, software
14 distributed under the License is distributed on an "AS IS" BASIS,
15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 See the License for the specific language governing permissions and
17 limitations under the License.
18
19=========================================================================*/
20
21#ifndef __ctkVTKAbstractMatrixWidget_h
22#define __ctkVTKAbstractMatrixWidget_h
23
25#include <ctkMatrixWidget.h>
26#include <ctkVTKObject.h>
27
28#include "ctkVisualizationVTKWidgetsExport.h"
29
30class vtkMatrix4x4;
31class ctkVTKAbstractMatrixWidgetPrivate;
32
37class CTK_VISUALIZATION_VTK_WIDGETS_EXPORT ctkVTKAbstractMatrixWidget
38 : public ctkMatrixWidget
39{
40public:
43
47 vtkMatrix4x4* matrix()const;
48
49protected:
50 void setMatrixInternal(vtkMatrix4x4* matrix);
51
52 virtual void setColumnCount(int newColumnCount);
53 virtual void setRowCount(int newRowCount);
54
55protected:
56 QScopedPointer<ctkVTKAbstractMatrixWidgetPrivate> d_ptr;
57
58private:
59 Q_DECLARE_PRIVATE(ctkVTKAbstractMatrixWidget);
60 Q_DISABLE_COPY(ctkVTKAbstractMatrixWidget);
61};
62
63#endif
virtual ~ctkVTKAbstractMatrixWidget()
vtkMatrix4x4 * matrix() const
ctkMatrixWidget Superclass
Self/Superclass typedef.
QScopedPointer< ctkVTKAbstractMatrixWidgetPrivate > d_ptr
ctkVTKAbstractMatrixWidget(QWidget *parent)
Constructors.
void setMatrixInternal(vtkMatrix4x4 *matrix)
virtual void setColumnCount(int newColumnCount)
virtual void setRowCount(int newRowCount)