//#include <vector>
#include <vtkPiecewiseFunction.h>
#include <vtkColorTransferFunction.h>
- #include <vtkVolumeRayCastMapper.h>
+#if (VTK_MAJOR_VERSION <= 7)
+ #include <vtkVolumeRayCastMapper.h>
+#else
+ #include <vtkFixedPointVolumeRayCastMapper.h>
+#endif
#include <vtkVolume.h>
//#include "../wxMPRWidget.h"
bool getRefreshed();
void setCTF(vtkColorTransferFunction* cf);
void setTF(vtkPiecewiseFunction* tf);
+#if (VTK_MAJOR_VERSION <= 7)
void setVolumeMapper(vtkVolumeRayCastMapper* volMapper);
+#else
+ void setFixedPointVolumeMapper(vtkFixedPointVolumeRayCastMapper* volMapper);
+#endif
void setVolume(vtkVolume* vol);
//void setMPR3Dview(wxVtkMPR3DView *wxvtkmpr3Dview1);
//void setClipping3DView(wxVtkClipping3DView *wxvtkclipping3Dview1);
bool refreshed;
vtkColorTransferFunction *_ctfun;
- vtkPiecewiseFunction *_tfun;
+ vtkPiecewiseFunction *_tfun;
vtkVolumeRayCastMapper *volumeMapper;
- vtkVolume *newvol;
+ vtkVolume *newvol;
//things to refresh
//wxVtkMPR3DView *wxvtkmpr3Dview;