[vtk-developers] addition to vtkImagePlaneWidget - design ques.

Dean Inglis dean.inglis at on.aibn.com
Mon Sep 23 12:49:51 EDT 2002


Hi,

I'm considering having vtkImagePlaneWidget inherit from 
vtkPolyDataSourceWidget so that a method proposed by Charl
can be implemented.  API calls to SetOrigin, SetPoint1 etc.
currently do not update the internal vtkPlaneSource, so what
is req'd is a call like ...

void SyncToPlaneSource(void)
{
   this->PlaneSource->Update();
   this->UpdateNormal();
   this->UpdateOrigin();
   this->UpdateMargins();
}

but I believe this should be implemented (and named) via the proposed
superclasses virtual UpdatePlacement method.

Any thoughts?

Dean




More information about the vtk-developers mailing list