[vtkusers] problem with getPlaneOrientation()

32sthide 32sthide at gmail.com
Mon Aug 20 11:22:01 EDT 2012


here is an example:

vtkImagePlaneWidget *planeZ= vtkImagePlaneWidget::New();
        planeZ->SetInteractor(iren);
        planeZ->SetPicker(picker);
        planeZ->RestrictPlaneToVolumeOn();
        planeZ->GetPlaneProperty()->SetColor(0, 0, 1);
        planeZ->SetInput(bmp->GetOutput());
        planeZ->SetPlaneOrientationToZAxes();
        planeZ->SetSliceIndex(64);
        planeZ->DisplayTextOn();
        planeZ->SetLookupTable(planeX->GetLookupTable());
        planeZ->On();

        int iaxis;
        PlaneZ->GetPlaneOrientation(iaxis);



--
View this message in context: http://vtk.1045678.n5.nabble.com/problem-with-getPlaneOrientation-tp5715428p5715431.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list