[vtkusers] select individual iso-lines
Dean Inglis
dean.inglis at on.aibn.com
Thu Feb 20 15:26:04 EST 2003
Hi Amy,
thanks again, what I found works in my case is to maintaim two
vtkPolyData's:
m_connectivityFilter->SetExtractionModeToCellSeededRegions();
m_connectivityFilter->SetInput(m_stripper->GetOutput());
m_connectivityFilter->InitializeSeedList();
m_connectivityFilter->AddSeed(0);
m_connectivityFilter->Update();
m_periosteumPolys->DeepCopy(m_connectivityFilter->GetOutput());
m_connectivityFilter->InitializeSeedList();
m_connectivityFilter->AddSeed(1);
m_connectivityFilter->Update();
m_endosteumPolys->DeepCopy(m_connectivityFilter->GetOutput());
and pass each to their respective mappers.
regards,
Dean
More information about the vtkusers
mailing list