MantisBT - VTK | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0013237 | VTK | (No Category) | public | 2012-06-11 19:51 | 2015-01-09 14:01 |
Reporter | Dale Lukas Peterson | ||||
Assigned To | Kyle Lutz | ||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | 6.0.0 | |||
Project | TBD | ||||
Type | incorrect functionality | ||||
Summary | 0013237: misspelled member function in vtkContourFilter | ||||
Description | This method is present in the vtkContourFilter: void vtkContourFilter::SetOuputPointsPrecision(int precision) The member name is missing a 't' after the 'u' and before the 'p'. It should be: void vtkContourFilter::SetOutputPointsPrecision(int precision) Also, the parameter is of type int, but shouldn't it be of type vtkAlgorithm::DesiredOutputPrecision ? There is also a misspelling in the Doxygen documentation, explanation is spelled: "explaination". Finally, on my machine, when I call SetOuputPointsPrecision(vtkAlgorithm::DOUBLE_PRECISION), and then call contours->GetOutput()->Print(std::cout), I get: vtkPolyData (0x7fe4f0) Debug: Off Modified Time: 431 Reference Count: 1 Registered Events: (none) Information: 0x7fca40 Data Released: False Global Release Data: Off UpdateTime: 432 Field Data: Debug: Off Modified Time: 380 Reference Count: 1 Registered Events: (none) Number Of Arrays: 0 Number Of Components: 0 Number Of Tuples: 0 Number Of Points: 38708 Point Data: Debug: Off Modified Time: 431 Reference Count: 1 Registered Events: (none) Number Of Arrays: 2 Array 0 name = scalars Array 1 name = Normals Number Of Components: 4 Number Of Tuples: 38708 Copy Tuple Flags: ( 0 1 1 1 1 1 1 1 ) Interpolate Flags: ( 0 1 1 1 1 1 1 1 ) Pass Through Flags: ( 0 1 1 1 1 1 1 1 ) Scalars: Debug: Off Modified Time: 425 Reference Count: 1 Registered Events: (none) Name: scalars Data type: float Which indicates that double is not being used when computing the scalars. So it seems that this member function isn't actually doing what it advertises, unless I am misusing it or misunderstanding the documentation (very possibly the case). I am giving a vtkSampleFunction to vtkContourFilter, and I have called vtkSampleFunction::SetOutputScalarTypeToDouble(). Or perhaps the PrintSelf method isn't properly implemented and the underlying data type is actually correct? | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2012-06-11 19:51 | Dale Lukas Peterson | New Issue | |||
2012-06-12 09:17 | Kyle Lutz | Assigned To | => Kyle Lutz | ||
2012-06-12 09:17 | Kyle Lutz | Status | backlog => todo | ||
2012-06-12 09:17 | Kyle Lutz | Resolution | open => fixed | ||
2012-06-12 09:17 | Kyle Lutz | Status | todo => active development | ||
2012-06-12 09:17 | Kyle Lutz | Resolution | fixed => open | ||
2012-06-12 09:47 | Kyle Lutz | Note Added: 0028690 | |||
2012-06-12 09:47 | Kyle Lutz | Status | active development => gatekeeper review | ||
2012-06-12 09:47 | Kyle Lutz | Resolution | open => fixed | ||
2013-07-22 19:42 | Dave DeMarle | Status | gatekeeper review => closed | ||
2013-07-22 19:42 | Dave DeMarle | Fixed in Version | => 6.0.0 | ||
2015-01-09 14:01 | Kyle Lutz | Source_changeset_attached | => VTK master b1441223 |
Notes | |||||
|
|||||
|
|