Page MenuHomePhabricator

bug3358.diff

Authored By
xplanes
Feb 17 2010, 3:13 PM
Size
1 KB
Referenced Files
None
Subscribers
None

bug3358.diff

Index: mitkSurfaceMapper2D.cpp
===================================================================
--- mitkSurfaceMapper2D.cpp (revision 21081)
+++ mitkSurfaceMapper2D.cpp (working copy)
@@ -280,15 +280,18 @@
//set data into cutter
m_Cutter->SetInput(vtkpolydata);
+ m_Cutter->Update();
// m_Cutter->GenerateCutScalarsOff();
// m_Cutter->SetSortByToSortByCell();
- m_Stripper->SetInput( m_Cutter->GetOutput() );
- // calculate the cut
- m_Stripper->Update();
+ // Stripper will remove cell data from input
+ //m_Stripper->SetInput( m_Cutter->GetOutput() );
+ //// calculate the cut
+ //m_Stripper->Update();
// traverse the cut contour
- PaintCells(renderer, m_Stripper->GetOutput(), worldGeometry, renderer->GetDisplayGeometry(), vtktransform, lut, vtkpolydata);
+ //PaintCells(renderer, m_Stripper->GetOutput(), worldGeometry, renderer->GetDisplayGeometry(), vtktransform, lut, vtkpolydata);
+ PaintCells(renderer, m_Cutter->GetOutput(), worldGeometry, renderer->GetDisplayGeometry(), vtktransform, lut, vtkpolydata);
}
}

File Metadata

Mime Type
text/plain
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
449
Default Alt Text
bug3358.diff (1 KB)