18 #include <vtkPropAssembly.h>
19 #include <vtkPointData.h>
20 #include <vtkProperty.h>
21 #include <vtkCellArray.h>
44 return (time < renderer->GetCurrentWorldGeometry2DUpdateTime())
52 if( ( worldGeometry.IsNull() ) || ( !worldGeometry->IsValid() ) || ( !worldGeometry->HasReferenceGeometry() ))
63 spacing[0] = dummyDesc->GetSpacing()[0];
64 spacing[1] = dummyDesc->GetSpacing()[1];
67 bounds[1] *= (newDesc->GetSpacing()[0]/spacing[0]);
68 bounds[3] *= (newDesc->GetSpacing()[1]/spacing[1]);
69 newDesc->SetBounds(bounds);
70 newDesc->SetSpacing(spacing);
void GetGridGeometryFromNode(const mitk::DataNode *regNode, mitk::Geometry3D::Pointer &gridDesc, unsigned int &gridFrequ)
BoundingBoxType::BoundsArrayType BoundsArrayType
MITKRegistrationWrapperMapper2D()
Organizes the rendering process.
virtual const PlaneGeometry * GetCurrentWorldPlaneGeometry()
Get the current 2D-worldgeometry (m_CurrentWorldPlaneGeometry) used for 2D-rendering.
virtual ~MITKRegistrationWrapperMapper2D()
const PlaneGeometry * GetCurrentWorldGeometry2D()
virtual bool RendererGeometryIsOutdated(mitk::BaseRenderer *renderer, const itk::TimeStamp &time) const
virtual bool GetGeometryDescription(mitk::BaseRenderer *renderer, mitk::BaseGeometry::ConstPointer &gridDesc, unsigned int &gridFrequ) const