diff --git a/Modules/VtkShaders/mitkVtkShaderProgram.cpp b/Modules/VtkShaders/mitkVtkShaderProgram.cpp index 4caaedc22b..b1179bb977 100644 --- a/Modules/VtkShaders/mitkVtkShaderProgram.cpp +++ b/Modules/VtkShaders/mitkVtkShaderProgram.cpp @@ -1,61 +1,59 @@ /*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See LICENSE.txt or http://www.mitk.org for details. ===================================================================*/ #include "mitkVtkShaderProgram.h" -#include "mitkBaseRenderer.h" #include "vtkShader2.h" mitk::VtkShaderProgram::VtkShaderProgram() - : m_BaseRenderer(NULL) - , m_VtkShaderProgram(NULL) + : m_VtkShaderProgram(NULL) { } mitk::VtkShaderProgram::~VtkShaderProgram() { } void mitk::VtkShaderProgram::Activate() { if(m_VtkShaderProgram) { m_VtkShaderProgram->Use(); } } void mitk::VtkShaderProgram::Deactivate() { if(m_VtkShaderProgram) { m_VtkShaderProgram->Restore(); } } void mitk::VtkShaderProgram::SetVtkShaderProgram(vtkSmartPointer p) { m_VtkShaderProgram = p; } vtkSmartPointer mitk::VtkShaderProgram::GetVtkShaderProgram() const { return m_VtkShaderProgram; } itk::TimeStamp& mitk::VtkShaderProgram::GetShaderTimestampUpdate() { return m_ShaderTimestampUpdate; }