Medical Imaging Interaction Toolkit
2023.04.00
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
16
#include <
MitkBoundingShapeExports.h
>
17
18
#include <
mitkVtkMapper.h
>
19
20
#include <vtkPropAssembly.h>
21
#include <vtkSmartPointer.h>
22
#include <vtkSphereSource.h>
23
24
namespace
mitk
25
{
26
class
MITKBOUNDINGSHAPE_EXPORT
BoundingShapeVtkMapper3D
:
public
VtkMapper
27
{
28
public
:
29
static
void
SetDefaultProperties(
DataNode
*node,
BaseRenderer
*renderer =
nullptr
,
bool
overwrite =
false
);
30
31
mitkClassMacro
(
BoundingShapeVtkMapper3D
,
VtkMapper
);
32
33
itkFactorylessNewMacro(
Self
);
34
35
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
:
45
BoundingShapeVtkMapper3D
();
46
~
BoundingShapeVtkMapper3D
()
override
;
47
48
BoundingShapeVtkMapper3D
(
const
Self
&);
49
Self
&operator=(
const
Self
&);
50
51
class
Impl;
52
Impl *m_Impl;
53
};
54
}
55
56
#endif
MITKBOUNDINGSHAPE_EXPORT
#define MITKBOUNDINGSHAPE_EXPORT
Definition:
MitkBoundingShapeExports.h:15
MitkBoundingShapeExports.h
mitk
DataCollection - Class to facilitate loading/accessing structured data.
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:26
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition:
mitkCommon.h:36
mitk::BaseRenderer
Definition:
mitkBaseRenderer.h:55
mitk::DataNode
Class for nodes of the DataTree.
Definition:
mitkDataNode.h:63
src
MITK
Modules
BoundingShape
include
mitkBoundingShapeVtkMapper3D.h
Generated on Wed May 17 2023 16:26:04 for Medical Imaging Interaction Toolkit by
1.8.17