<commit_before>/*=========================================================================

Program:   Medical Imaging & Interaction Toolkit
Module:    $RCSfile$
Language:  C++
Date:      $Date$
Version:   $Revision$

Copyright (c) German Cancer Research Center, Division of Medical and
Biological Informatics. All rights reserved.
See MITKCopyright.txt or http://www.mitk.org/copyright.html for details.

This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.  See the above copyright notices for more information.

=========================================================================*/


#ifndef MITKVTKRENDERWINDOWINTERACTOR_H_HEADER_INCLUDED_C1C53722
#define MITKVTKRENDERWINDOWINTERACTOR_H_HEADER_INCLUDED_C1C53722

//## #include <stdlib.h>
#include "vtkRenderWindowInteractor.h"
#include "mitkBaseRenderer.h"

namespace mitk {

//##ModelId=3E6D600E0193
//##Documentation
//## @brief mitk::VtkRenderWindowInteractor is an agent class between mitk and a GUI 
//## dependant RenderWindowInteractor like VtkQRenderWindowInteractor for QT
//## (Bridge-pattern)
//## @ingroup NavigationControl
class VtkRenderWindowInteractor : public ::vtkRenderWindowInteractor
{

protected:
  itk::WeakPointer<BaseRenderer> m_MitkRenderer;

public:
  VtkRenderWindowInteractor() : m_MitkRenderer(NULL){};
  itkTypeMacro(VtkRenderWindowInteractor,::vtkRenderWindowInteractor);

  itkSetObjectMacro(MitkRenderer, mitk::BaseRenderer);
  itkGetObjectMacro(MitkRenderer, mitk::BaseRenderer);
  virtual void Resize(int w, int h) = 0;
};

} // mitk

#endif /* MITKVTKRENDERWINDOWINTERACTOR_H_HEADER_INCLUDED_C1C53722 */
<commit_msg>ADD: Destructor<commit_after>/*=========================================================================

Program:   Medical Imaging & Interaction Toolkit
Module:    $RCSfile$
Language:  C++
Date:      $Date$
Version:   $Revision$

Copyright (c) German Cancer Research Center, Division of Medical and
Biological Informatics. All rights reserved.
See MITKCopyright.txt or http://www.mitk.org/copyright.html for details.

This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.  See the above copyright notices for more information.

=========================================================================*/


#ifndef MITKVTKRENDERWINDOWINTERACTOR_H_HEADER_INCLUDED_C1C53722
#define MITKVTKRENDERWINDOWINTERACTOR_H_HEADER_INCLUDED_C1C53722

//## #include <stdlib.h>
#include "vtkRenderWindowInteractor.h"
#include "mitkBaseRenderer.h"

namespace mitk {

//##ModelId=3E6D600E0193
//##Documentation
//## @brief mitk::VtkRenderWindowInteractor is an agent class between mitk and a GUI 
//## dependant RenderWindowInteractor like VtkQRenderWindowInteractor for QT
//## (Bridge-pattern)
//## @ingroup NavigationControl
class VtkRenderWindowInteractor : public ::vtkRenderWindowInteractor
{

protected:
  itk::WeakPointer<BaseRenderer> m_MitkRenderer;

public:
  VtkRenderWindowInteractor() : m_MitkRenderer(NULL){};
  itkTypeMacro(VtkRenderWindowInteractor,::vtkRenderWindowInteractor);

  itkSetObjectMacro(MitkRenderer, mitk::BaseRenderer);
  itkGetObjectMacro(MitkRenderer, mitk::BaseRenderer);
  virtual void Resize(int w, int h) = 0;

  virtual ~VtkRenderWindowInteractor()
  {
  };
};

} // mitk

#endif /* MITKVTKRENDERWINDOWINTERACTOR_H_HEADER_INCLUDED_C1C53722 */

{'fraction_non_alphanumeric': 0.16816208393632417, 'fraction_numerical': 0.016208393632416787, 'mean_word_length': 6.766292134831461, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4662116', 'n_tokens_mistral': 1105, 'n_tokens_neox': 1023, 'n_words': 247}