#include <vtkImageData.h>
#include <vtkProp3D.h>
#include <vtkRenderer.h>
+#include <vtkVolumeRayCastMIPFunction.h>
#include <vector>
/**
** Check if the variables are setted correctly
**/
- void checkInvariant();
+ void checkInvariant()throw (char *);
/**
** Updates volume
vtkColorTransferFunction* GetColorFunction(){
return _ctfun;
}
+
+ void changeCompositeMIPFunction(int function) throw (char *);
protected:
/**
vtkVolume *_newvol;
vtkPiecewiseFunction* _tfun;
vtkColorTransferFunction* _ctfun;
+ vtkVolumeRayCastMIPFunction* _MIPFunction;
};