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
mitkBoundingShapeVtkMapper3D.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 mitkBoundingShapeVtkMapper3D_h
18 #define mitkBoundingShapeVtkMapper3D_h
19 
21 
22 #include <mitkVtkMapper.h>
23 
24 #include <vtkPropAssembly.h>
25 #include <vtkSmartPointer.h>
26 #include <vtkSphereSource.h>
27 
28 namespace mitk
29 {
31  {
32  public:
33  static void SetDefaultProperties(DataNode *node, BaseRenderer *renderer = nullptr, bool overwrite = false);
34 
35  mitkClassMacro(BoundingShapeVtkMapper3D, VtkMapper) itkFactorylessNewMacro(Self) itkCloneMacro(Self)
36 
37  void ApplyColorAndOpacityProperties(BaseRenderer *, vtkActor *) override;
38  void ApplyBoundingShapeProperties(BaseRenderer *renderer, vtkActor *);
39  vtkProp *GetVtkProp(BaseRenderer *renderer) override;
40  // virtual void UpdateVtkTransform(mitk::BaseRenderer* renderer) override;
41  protected:
42  void GenerateDataForRenderer(BaseRenderer *renderer) override;
43 
44  private:
47 
49  Self &operator=(const Self &);
50 
51  class Impl;
52  Impl *m_Impl;
53  };
54 }
55 
56 #endif
#define MITKBOUNDINGSHAPE_EXPORT
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 mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44
Class for nodes of the DataTree.
Definition: mitkDataNode.h:66