Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkNavigationDataSliceVisualization.h
Go to the documentation of this file.
1 /*===================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 #ifndef MITKNAVIGATIONDATASLICEVISUALIZATION_H_HEADER_INCLUDED_
17 #define MITKNAVIGATIONDATASLICEVISUALIZATION_H_HEADER_INCLUDED_
18 
20 #include "mitkBaseRenderer.h"
21 #include "mitkVector.h"
22 
23 namespace mitk
24 {
35 {
36  public:
38  itkNewMacro(Self)
39 
41  {
46  Axial = 0,
62  Oblique
63  };
64 
68  itkSetObjectMacro(Renderer,BaseRenderer)
69  itkGetConstObjectMacro(Renderer,BaseRenderer)
70 
83  itkSetMacro(TipOffset, Vector3D)
84  itkGetConstMacro(TipOffset,Vector3D)
85 
95  virtual void SetToolTrajectory(Vector3D direction);
96  itkGetConstMacro(ToolTrajectory, Vector3D)
97 
115  itkSetMacro(WorldVerticalVector, Vector3D)
116  itkGetConstMacro(WorldVerticalVector, Vector3D)
117 
123  itkSetEnumMacro(ViewDirection,ViewDirection)
124  itkGetEnumMacro(ViewDirection,ViewDirection)
125 
126  protected:
128  virtual void GenerateData();
129 
130  BaseRenderer::Pointer m_Renderer;
131  Vector3D m_TipOffset;
132  Vector3D m_ToolTrajectory;
133  Vector3D m_WorldVerticalVector;
134  ViewDirection m_ViewDirection;
135 };
136 
137 } // end namespace mitk
138 
139 #endif // NEMOSLICEVISUALIZATIONFILTER_H
NavigationDataToNavigationDataFilter is the base class of all filters that receive NavigationDatas as...
Organizes the rendering process.
DataCollection - Class to facilitate loading/accessing structured data.
Control the position and orientation of rendered slices with NavigationData.
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44