[vtk-developers] addition to vtkImagePlaneWidget - design ques.
Dean Inglis
dean.inglis at on.aibn.com
Mon Sep 23 14:09:57 EDT 2002
Hi,
I've commited the changes to enable vtkImagePlaneWidget to
offer the code driven update of its underlying geometry,
vtkPlaneSource, by inheriting from vtkPolyDataSourceWidget.
Two new methods:
vtkPolyDataSource *vtkImagePlaneWidget::GetPolyDataSource()
{
return this->PlaneSource;
}
void vtkImagePlaneWidget::UpdatePlacement(void)
{
this->PlaneSource->Update();
this->PositionHandles();
this->UpdateNormal();
this->UpdateOrigin();
this->UpdateMargins();
}
Dean
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dean Inglis, Ph.D.
- Centre for Appendicular -
- Magnetic Resonance Imaging Studies -
25 Charlton Avenue East, Unit 610
Hamilton, ONT, L8N 1Y2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
More information about the vtk-developers
mailing list