View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0013436 | VTK | (No Category) | public | 2012-09-06 15:20 | 2014-10-06 14:16 | ||||
Reporter | Guillermo | ||||||||
Assigned To | Will Schroeder | ||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | 5.8.0 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0013436: vtkBandedPolyDataContourFilter -> ClipTolerance is not able to be modified. | ||||||||
Description | Hi, I am Guillermo from Synopsys and we use VTK for a visualization product. Doing refactoring work we are trying to be as close as possible to vanilla VTK so it makes the life easier for us when updating the library. Unfortunately the ClipTolerance is hardcoded to the overall input scalar range on this sentence: this->ClipTolerance = FLT_EPSILON*(range[1] - range[0]); We use the smallest difference between two contour levels to set the tolerance, after the calculation of the clip values: for(int i=0; i<this->NumberOfClipValues-1; i++) { double dist = this->ClipValues[i+1] - this->ClipValues[i]; if(dist < this->ClipTolerance) { this->ClipTolerance = dist; } } Is there a way to have an option to select the clip tolerance for future versions of VTK? Or a built in way to change from the default method availble now to other? It would help us a lot. Thanks, Guillermo. | ||||||||
Tags | No tags attached. | ||||||||
Project | Kitware | ||||||||
Type | feature | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0031042) Dave DeMarle (administrator) 2013-06-25 11:18 |
Try adding a SetGetMacro to vtkBandedPolyDataContourFilter whereby the tolerance can be controlled. Submit that as a patch via gerrit for automated review and testing and we can get it in. For details see http://www.vtk.org/Wiki/VTK/Git/Develop [^] |
(0032103) Will Schroeder (manager) 2014-01-01 13:20 |
Adding this feature in for our friends |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2012-09-06 15:20 | Guillermo | New Issue | |
2013-06-25 11:18 | Dave DeMarle | Note Added: 0031042 | |
2014-01-01 13:20 | Will Schroeder | Note Added: 0032103 | |
2014-01-01 13:20 | Will Schroeder | Assigned To | => Will Schroeder |
2014-01-01 13:20 | Will Schroeder | Status | backlog => active development |
2014-01-08 06:33 | Will Schroeder | Status | active development => gerrit review |
2014-10-06 14:16 | Will Schroeder | Status | gerrit review => closed |
2014-10-06 14:16 | Will Schroeder | Resolution | open => fixed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |