SMILX  1.01
milxQtDiffusionTensorImage.h
1 /*=========================================================================
2  The Software is copyright (c) Commonwealth Scientific and Industrial Research Organisation (CSIRO)
3  ABN 41 687 119 230.
4  All rights reserved.
5 
6  Licensed under the CSIRO BSD 3-Clause License
7  You may not use this file except in compliance with the License.
8  You may obtain a copy of the License in the file LICENSE.md or at
9 
10  https://stash.csiro.au/projects/SMILI/repos/smili/browse/license.txt
11 
12  Unless required by applicable law or agreed to in writing, software
13  distributed under the License is distributed on an "AS IS" BASIS,
14  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  See the License for the specific language governing permissions and
16  limitations under the License.
17 =========================================================================*/
18 #ifndef milxQtDIFFUSIONTENSORIMAGE_H
19 #define milxQtDIFFUSIONTENSORIMAGE_H
20 
21 #include "milxQtImage.h"
22 #include "milxQtModel.h"
23 
25 {
26  Q_OBJECT
27 
28 public:
29  milxQtDiffusionTensorImage(QWidget *theParent = 0);
30  virtual ~milxQtDiffusionTensorImage();
31 
32 public slots:
33  void diffusionGlyphs(size_t subsampleFactor = 0, size_t resolution = 16);
34  void diffusionGlyphs2(size_t subsampleFactor = 0, size_t resolution = 16);
35 
36 signals:
41  void resultAvailable(milxQtModel*);
46  void resultAvailable(milxQtRenderWindow*);
47 
48 protected:
49  QAction *diffusionAct;
50  QAction *diffusion2Act;
51 
52 private:
53  void createActions();
54  void createConnections();
55  void contextMenuEvent(QContextMenuEvent *currentEvent);
56 };
57 
58 #endif // milxQtDIFFUSIONTENSORIMAGE_H
void contextMenuEvent(QContextMenuEvent *event)
The context menu setup member.
This class represents the MILX Qt Render Window Display object using QVTK.
void createActions()
Create the actions for context menu etc.
This class represents the MILX Qt Image Display object using VTK.
Definition: milxQtImage.h:118
QAction * diffusion2Act
show diffusion glyphs
This class represents the MILX Qt Model/Mesh Display object using VTK.
Definition: milxQtModel.h:115
QAction * diffusionAct
show diffusion glyphs
#define MILXQT_PLUGIN_EXPORT
Define Windows Plugin DLL importing.
void createConnections()
Create the connections for context menu etc.