MantisBT - VTK | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0003130 | VTK | (No Category) | public | 2006-04-14 11:33 | 2012-12-12 12:04 |
Reporter | Mathieu Malaterre | ||||
Assigned To | David Gobbi | ||||
Priority | low | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | ||||
Project | |||||
Type | |||||
Summary | 0003130: vtkImplicitFunctionToImageStencil MTime | ||||
Description | The vtkImplicitFunctionToImageStencil does not check the MTime of the input ImplicitFunction, that is why the stencil doesn't update. Since a vtkImplicitFunction isn't a vtkDataObject, the VTK pipeline mechanism doesn't automatically take care of the updating. Conversely, the vtkPolyDataToImageStencil is a true VTK filter that has a vtkDataObject as both input and output, and the pipeline behaves as expected. The vtkImplicitFunctionToImageStencil works by evaluating the ImplicitFunction at every voxel within the UpdateExtent of the ImageData that is being stenciled, which is fairly inefficient. The vtkPolyDataToImageStencil works by looking at where the raster lines of the image (i.e. lines of constant z,y) intersect the PolyData, and hence is very efficient as long as the PolyData is not too complex. vtkPolyData spoly vtkPoints spoints vtkImplicitSelectionLoop loop loop SetLoop spoints loop SetNormal 1 0 0 loop AutomaticNormalGenerationOn vtkImplicitFunctionToImageStencil if2is if2is SetInput loop vtkImageStencil stencil stencil SetInput [extract GetOutput] stencil SetStencil [if2is GetOutput] stencil ReverseStencilOn stencil SetBackgroundValue 128 stencil ReleaseDataFlagOff http://www.vtk.org/pipermail/vtkusers/2003-December/070876.html [^] | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2008-11-30 09:10 | Mathieu Malaterre | Assigned To | Mathieu Malaterre => David Cole | ||
2011-01-19 09:55 | David Cole | Assigned To | David Cole => | ||
2011-02-16 15:48 | David Gobbi | Assigned To | => David Gobbi | ||
2011-02-18 09:28 | David Gobbi | Status | tabled => @80@ | ||
2011-02-18 09:28 | David Gobbi | Resolution | open => fixed | ||
2011-06-16 13:11 | Zack Galbreath | Category | => (No Category) | ||
2012-12-12 12:04 | David Gobbi | Note Added: 0029875 | |||
2012-12-12 12:04 | David Gobbi | Status | customer review => closed |
Notes | |||||
|
|||||
|
|