Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
mitkVectorImageVtkGlyphMapper3D.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 
17 #ifndef _MITK_VECTOR_IMAGE_VTK_MAPPER_3D__H
18 #define _MITK_VECTOR_IMAGE_VTK_MAPPER_3D__H
19 
21 
22 #include "mitkVtkMapper.h"
23 #include "mitkImage.h"
24 
25 class vtkMaskedGlyph3D;
26 class vtkActor;
27 class vtkPolyDataMapper;
28 class vtkMaskPoints;
29 
30 
31 namespace mitk
32 {
33 
35 {
36 public:
38 
39  itkFactorylessNewMacro(Self)
40  itkCloneMacro(Self)
41 
42  enum GlyphType {LineGlyph, ArrowGlyph};
43 
44  itkSetMacro(MaximumNumberOfPoints, unsigned int);
45  itkGetMacro(MaximumNumberOfPoints, unsigned int);
46 
47  itkSetMacro(UseMaskPoints, bool);
48  itkGetMacro(UseMaskPoints, bool);
49  itkBooleanMacro(UseMaskPoints);
50 
51  itkSetMacro(RandomMode, bool);
52  itkGetMacro(RandomMode, bool);
53  itkBooleanMacro(RandomMode);
54 
55  virtual vtkProp* GetVtkProp(mitk::BaseRenderer* renderer) override;
56 
58 
59 protected:
64 
68  virtual ~VectorImageVtkGlyphMapper3D();
69 
74  virtual void GenerateDataForRenderer( mitk::BaseRenderer* renderer ) override;
75 
80  Image* GetInput();
81 
83  vtkActor* m_Glyph3DActor;
84  vtkPolyDataMapper* m_Glyph3DMapper;
85 
90 
91 };
92 
93 
94 } //end of namespace mitk
95 
96 #endif
97 
98 
99 
Organizes the rendering process.
DataCollection - Class to facilitate loading/accessing structured data.
Base class of all Vtk Mappers in order to display primitives by exploiting Vtk functionality.
Definition: mitkVtkMapper.h:53
Base class of all mappers, Vtk as well as OpenGL mappers.
Definition: mitkMapper.h:54
#define MITKDIFFUSIONCORE_EXPORT
LocalStorageHandler< BaseLocalStorage > m_LSH
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44
Image class for storing images.
Definition: mitkImage.h:76