[vtkusers] how to change vtkImagePlaneWidget's size
qlizhi
qlizhi at gmail.com
Mon May 28 08:33:30 EDT 2012
I want to change the widget's size of vrkImagePlaneWidget in my volume, the default size is actually the size of v16's size, but i want it to be double size.
planeWidgetZ->SetInteractor( viren);
planeWidgetZ->SetKeyPressActivationValue('z');
planeWidgetZ->SetPicker(picker);
planeWidgetZ->GetPlaneProperty()->SetColor(0,0,1);
planeWidgetZ->SetTexturePlaneProperty(ipwProp);
planeWidgetZ->TextureInterpolateOn();
planeWidgetZ->SetResliceInterpolateToCubic();
planeWidgetZ->SetInput(v16->GetOutput());
planeWidgetZ->SetPlaneOrientationToZAxes();
planeWidgetZ->SetSliceIndex(0);
planeWidgetZ->SetLookupTable( hueLut);
planeWidgetZ->DisplayTextOn();
planeWidgetZ->On();
qlizhi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120528/b5f8242a/attachment.htm>
More information about the vtkusers
mailing list