Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F468
bug3358.diff
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
xplanes
Feb 17 2010, 3:13 PM
2010-02-17 15:13:17 (UTC+1)
Size
1 KB
Referenced Files
None
Subscribers
None
bug3358.diff
View Options
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
Details
Attached
Mime Type
text/plain
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
449
Default Alt Text
bug3358.diff (1 KB)
Attached To
Mode
T3358: CellData Lookup table is not applied for surface meshes
Attached
Detach File
Event Timeline
xplanes
added a comment.
Feb 17 2010, 3:13 PM
2010-02-17 15:13:17 (UTC+1)
Comment Actions
Unified patch
Log In to Comment