Medical Imaging Interaction Toolkit  2018.4.99-12ad79a3
Medical Imaging Interaction Toolkit
mitkRegistrationWrapperMapper3D.cpp
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 
14 #include <vtkPropAssembly.h>
15 #include <vtkPointData.h>
16 #include <vtkProperty.h>
17 #include <vtkCellArray.h>
18 
19 #include <mitkProperties.h>
20 #include <mitkExceptionMacro.h>
21 #include <mitkException.h>
22 
26 #include "mitkRegVisHelper.h"
27 #include "mitkRegVisPropertyTags.h"
28 #include "mitkRegVisHelper.h"
29 
31 {
32 
33 }
34 
35 
37 {
38 
39 }
40 
42 {
43  return false;
44 }
45 
47 {
49  mitk::GetGridGeometryFromNode(this->GetDataNode(),newDesc,gridFrequ);
50  gridDesc = newDesc;
51  return true;
52 };
53 
void GetGridGeometryFromNode(const mitk::DataNode *regNode, mitk::Geometry3D::Pointer &gridDesc, unsigned int &gridFrequ)
virtual DataNode * GetDataNode() const
Get the DataNode containing the data to map. Method only returns valid DataNode Pointer if the mapper...
Definition: mitkMapper.cpp:31
Organizes the rendering process.
bool RendererGeometryIsOutdated(mitk::BaseRenderer *renderer, const itk::TimeStamp &time) const override
bool GetGeometryDescription(mitk::BaseRenderer *renderer, mitk::BaseGeometry::ConstPointer &gridDesc, unsigned int &gridFrequ) const override