<commit_before>#ifndef FLVTK_VOLUME_RENDER_WINDOW
#define FLVTK_VOLUME_RENDER_WINDOW

#include "itkImage.h"

#include <vtkExtractVOI.h>
#include <vtkPlaneSource.h>
#include <vtkTexture.h>
#include <vtkPolyDataMapper.h>
#include <vtkActor.h>
#include <vtkRenderWindowInteractor.h>
#include <vtkOutlineFilter.h>

#include "VTKVolRen.h"
#include "FLVTKWin.h"



template <class T>
class FLVTKVolRenWin : public FLVTKWin
  {

  typedef itk::Image<T,3>                 ImageType;
  typedef itk::Image<unsigned char,3>     OverlayType;

  typedef typename ImageType::Pointer     ImagePointer;
  typedef typename OverlayType::Pointer   OverlayPointer;


    protected:
       
       ImagePointer               mImData;
       
       OverlayPointer             mMask;
       

       bool                       mMaskAlloc;
       
       vtkRenderer               *mRenderer;
       vtkRenderWindowInteractor *mInteractor;
       
       double              mOpacity;
       
       VTKVolRen<T>        mVolRendProc;
       bool				         mVolRendView;
       
       vtkActor	          *mOutline;
       bool				         mOutlineView;
       
       int                 mSaggitalSlice;
       vtkExtractVOI      *mSaggitalSect;
       vtkPlaneSource     *mSaggitalPlane;
       vtkTexture         *mSaggitalText;
       vtkPolyDataMapper  *mSaggitalMap;
       vtkActor			      *mSaggital;
       bool				         mSaggitalView;
       
       int                 mAxialSlice;
       vtkExtractVOI      *mAxialSect;
       vtkPlaneSource     *mAxialPlane;
       vtkTexture         *mAxialText;
       vtkPolyDataMapper  *mAxialMap;
       vtkActor			      *mAxial;
       bool				         mAxialView;
       
       int                 mCoronalSlice;
       vtkExtractVOI      *mCoronalSect;
       vtkPlaneSource     *mCoronalPlane;
       vtkTexture         *mCoronalText;
       vtkPolyDataMapper  *mCoronalMap;
       vtkActor			      *mCoronal;
       bool				         mCoronalView;
       
    public:
       
       FLVTKVolRenWin(int x, int y, int w, int h, const char* l = 0);
       
       void free(void);
       
       ~FLVTKVolRenWin();
       
       ImagePointer GetInputImage(void);
       void SetInputImage(ImageType * newIm);
       
       OverlaymaskData(void);
       void maskData(OverlayType * newMaskData);
       
       void useMask(bool newUseMask);
       bool useMask(void);
       
       vtkRenderer * renderer(void);
       
       VTKVolRen<T> * volRendProc(void);
       
       void viewVolRend(bool newViewVolRend);
       bool viewVolRend(void);
       
       void viewOutline(bool newViewOutline);
       bool viewOutline(void);
       
       void viewSaggital(bool newViewSaggital);
       bool viewSaggital(void);
       void sliceSaggital(int newSliceSaggital);
       int  sliceSaggital(void);
       
       void viewAxial(bool newViewAxial);
       bool viewAxial(void);
       void sliceAxial(int newSliceAxial);
       int  sliceAxial(void);
       
       void viewCoronal(bool newViewCoronal);<commit_msg>ERR: OverlaymaskData had no return type.<commit_after>#ifndef FLVTK_VOLUME_RENDER_WINDOW
#define FLVTK_VOLUME_RENDER_WINDOW

#include "itkImage.h"

#include <vtkExtractVOI.h>
#include <vtkPlaneSource.h>
#include <vtkTexture.h>
#include <vtkPolyDataMapper.h>
#include <vtkActor.h>
#include <vtkRenderWindowInteractor.h>
#include <vtkOutlineFilter.h>

#include "VTKVolRen.h"
#include "FLVTKWin.h"



template <class T>
class FLVTKVolRenWin : public FLVTKWin
  {

  typedef itk::Image<T,3>                 ImageType;
  typedef itk::Image<unsigned char,3>     OverlayType;

  typedef typename ImageType::Pointer     ImagePointer;
  typedef typename OverlayType::Pointer   OverlayPointer;


    protected:
       
       ImagePointer               mImData;
       
       OverlayPointer             mMask;
       

       bool                       mMaskAlloc;
       
       vtkRenderer               *mRenderer;
       vtkRenderWindowInteractor *mInteractor;
       
       double              mOpacity;
       
       VTKVolRen<T>        mVolRendProc;
       bool				         mVolRendView;
       
       vtkActor	          *mOutline;
       bool				         mOutlineView;
       
       int                 mSaggitalSlice;
       vtkExtractVOI      *mSaggitalSect;
       vtkPlaneSource     *mSaggitalPlane;
       vtkTexture         *mSaggitalText;
       vtkPolyDataMapper  *mSaggitalMap;
       vtkActor			      *mSaggital;
       bool				         mSaggitalView;
       
       int                 mAxialSlice;
       vtkExtractVOI      *mAxialSect;
       vtkPlaneSource     *mAxialPlane;
       vtkTexture         *mAxialText;
       vtkPolyDataMapper  *mAxialMap;
       vtkActor			      *mAxial;
       bool				         mAxialView;
       
       int                 mCoronalSlice;
       vtkExtractVOI      *mCoronalSect;
       vtkPlaneSource     *mCoronalPlane;
       vtkTexture         *mCoronalText;
       vtkPolyDataMapper  *mCoronalMap;
       vtkActor			      *mCoronal;
       bool				         mCoronalView;
       
    public:
       
       FLVTKVolRenWin(int x, int y, int w, int h, const char* l = 0);
       
       void free(void);
       
       ~FLVTKVolRenWin();
       
       ImagePointer GetInputImage(void);
       void SetInputImage(ImageType * newIm);
       
       void OverlaymaskData(void);
       void maskData(OverlayType * newMaskData);
       
       void useMask(bool newUseMask);
       bool useMask(void);
       
       vtkRenderer * renderer(void);
       
       VTKVolRen<T> * volRendProc(void);
       
       void viewVolRend(bool newViewVolRend);
       bool viewVolRend(void);
       
       void viewOutline(bool newViewOutline);
       bool viewOutline(void);
       
       void viewSaggital(bool newViewSaggital);
       bool viewSaggital(void);
       void sliceSaggital(int newSliceSaggital);
       int  sliceSaggital(void);
       
       void viewAxial(bool newViewAxial);
       bool viewAxial(void);
       void sliceAxial(int newSliceAxial);
       int  sliceAxial(void);
       
       void viewCoronal(bool newViewCoronal);
{'fraction_non_alphanumeric': 0.06705729166666667, 'fraction_numerical': 0.0009765625, 'mean_word_length': 1.773014440433213, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 27, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '3506252', 'n_tokens_mistral': 2029, 'n_tokens_neox': 1948, 'n_words': 357}