Medical Imaging Interaction Toolkit  2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
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 (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef mitkBoundingShapeVtkMapper3D_h
14 #define mitkBoundingShapeVtkMapper3D_h
15 
17 #include <mitkVtkMapper.h>
18 
19 namespace mitk
20 {
22  {
23  public:
24  static void SetDefaultProperties(DataNode *node, BaseRenderer *renderer = nullptr, bool overwrite = false);
25 
27 
28  itkFactorylessNewMacro(Self);
29 
30  itkCloneMacro(Self);
31 
32  void ApplyColorAndOpacityProperties(BaseRenderer *, vtkActor *) override;
33  void ApplyBoundingShapeProperties(BaseRenderer *renderer, vtkActor *);
34  vtkProp *GetVtkProp(BaseRenderer *renderer) override;
35  // virtual void UpdateVtkTransform(mitk::BaseRenderer* renderer) override;
36  protected:
37  void GenerateDataForRenderer(BaseRenderer *renderer) override;
38 
39  private:
41  ~BoundingShapeVtkMapper3D() override;
42 
44  Self &operator=(const Self &);
45 
46  class Impl;
47  Impl *m_Impl;
48  };
49 }
50 
51 #endif
MITKBOUNDINGSHAPE_EXPORT
#define MITKBOUNDINGSHAPE_EXPORT
Definition: MitkBoundingShapeExports.h:15
MitkBoundingShapeExports.h
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::Mapper
Base class of all mappers, Vtk as well as OpenGL mappers.
Definition: mitkMapper.h:46
mitk::VtkMapper
Base class of all Vtk Mappers in order to display primitives by exploiting Vtk functionality.
Definition: mitkVtkMapper.h:47
mitkVtkMapper.h
mitk::BoundingShapeVtkMapper3D
Definition: mitkBoundingShapeVtkMapper3D.h:21
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
mitk::BaseRenderer
Definition: mitkBaseRenderer.h:56
mitk::DataNode
Class for nodes of the DataTree.
Definition: mitkDataNode.h:63
mitk::ROIMapperHelper::SetDefaultProperties
void SetDefaultProperties(DataNode *node, BaseRenderer *renderer, bool override)
Set common default properties for both 2-d and 3-d ROI mappers.