Commit f759b1f7 authored by Ken Martin's avatar Ken Martin
Browse files

put clip filter back into SetInput

parent 41274058
......@@ -20,7 +20,7 @@
#include "vtkImageClip.h"
#include "vtkImageData.h"
vtkCxxRevisionMacro(vtkVolumeMapper, "1.43");
vtkCxxRevisionMacro(vtkVolumeMapper, "1.44");
// Construct a vtkVolumeMapper with empty scalar input and clipping off.
vtkVolumeMapper::vtkVolumeMapper()
......@@ -106,9 +106,8 @@ float *vtkVolumeMapper::GetBounds()
void vtkVolumeMapper::SetInput( vtkImageData *input )
{
//this->ImageClipper->SetInput( input );
//this->vtkProcessObject::SetNthInput(0, this->ImageClipper->GetOutput() );
this->vtkProcessObject::SetNthInput(0, input );
this->ImageClipper->SetInput( input );
this->vtkProcessObject::SetNthInput(0, this->ImageClipper->GetOutput() );
}
vtkImageData *vtkVolumeMapper::GetInput()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment