MantisBT - VTK | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0013744 | VTK | (No Category) | public | 2012-12-19 06:40 | 2015-01-09 13:40 |
Reporter | Gert Wollny | ||||
Assigned To | Dave DeMarle | ||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | 5.10.1 | ||||
Target Version | Fixed in Version | 6.1.0 | |||
Project | Kitware | ||||
Type | incorrect functionality | ||||
Summary | 0013744: vtkDataReader and vtkDataWriter don't agree on signed char | ||||
Description | vtkDataWriter indicates in the data file that an array is of type "signed char" by writing out the string "signed_char": vtkDataWriter.cxx:1074 case VTK_SIGNED_CHAR: { sprintf (str, format, "signed_char"); *fp << str; signed char *s= static_cast<vtkSignedCharArray *>(data)->GetPointer(0); vtkWriteDataArray(fp, s, this->FileType, "%hhd ", num, numComp); } break; however, vtkDataReader checks for the string "char": vtkDataReader.cxx:1446 else if ( ! strncmp(type, "char", 4) ) { array = vtkCharArray::New(); array->SetNumberOfComponents(numComp); As a result, a "signed char" data array stored by using vtkDataWriter can not be read back. | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2012-12-19 06:40 | Gert Wollny | New Issue | |||
2013-01-04 10:17 | Kyle Lutz | Assigned To | => Kyle Lutz | ||
2013-01-04 10:17 | Kyle Lutz | Status | backlog => todo | ||
2013-01-04 10:17 | Kyle Lutz | Resolution | open => fixed | ||
2013-01-04 10:18 | Kyle Lutz | Status | todo => active development | ||
2013-01-04 10:18 | Kyle Lutz | Note Added: 0029976 | |||
2013-01-04 10:18 | Kyle Lutz | Status | active development => gatekeeper review | ||
2013-07-22 20:10 | Dave DeMarle | Note Added: 0031272 | |||
2013-07-22 20:10 | Dave DeMarle | Status | gatekeeper review => backlog | ||
2013-07-22 20:11 | Dave DeMarle | Status | backlog => todo | ||
2013-08-12 17:44 | Dave DeMarle | Status | todo => backlog | ||
2013-12-16 13:59 | Dave DeMarle | Assigned To | Kyle Lutz => Dave DeMarle | ||
2013-12-16 13:59 | Dave DeMarle | Status | backlog => gerrit review | ||
2013-12-17 15:48 | Dave DeMarle | Note Added: 0031988 | |||
2013-12-17 15:48 | Dave DeMarle | Status | gerrit review => closed | ||
2013-12-17 15:48 | Dave DeMarle | Fixed in Version | => 6.1.0 | ||
2015-01-09 13:40 | Dave DeMarle | Source_changeset_attached | => VTK master d92bf40e |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|