[vtkusers] select individual iso-lines

Jeremy Winston winston at cat.rpi.edu
Thu Feb 20 15:39:07 EST 2003


Dean Inglis wrote:
> Hi Amy,
> 
> thanks again, what I found works in my case is to maintaim two
> vtkPolyData's [...]  and pass each to their respective mappers.

What about having two connectivity filters; then you wouldn't
have to deep copy, right?  E.g., something like

     m_connectivityFilter->SetExtractionModeToCellSeededRegions();
     m_connectivityFilter->SetInput(m_stripper->GetOutput());
     m_connectivityFilter->InitializeSeedList();
     m_connectivityFilter->AddSeed(0);
     m_connectivityFilter->Update();
     // pass its output to the periosteum mapper

     m_connectivityFilter2->SetExtractionModeToCellSeededRegions();
     m_connectivityFilter2->SetInput(m_stripper->GetOutput());
     m_connectivityFilter2->InitializeSeedList();
     m_connectivityFilter2->AddSeed(1);
     m_connectivityFilter2->Update();
     // pass its output to the endosteum mapper


-Jeremy(?)





More information about the vtkusers mailing list