View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0015314 | VTK | (No Category) | public | 2015-02-10 05:36 | 2015-08-12 13:46 | ||||
Reporter | hrobeers | ||||||||
Assigned To | T.J. Corona | ||||||||
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 | ||||||||
Summary | 0015314: WriteToOutputStringOn() not working in vtkSTLWriter | ||||||||
Description | A CMake project demonstrating this issue can be found here: https://github.com/hrobeers/VTK_StlWriteToStringIssue [^] The detailed description can be found in the README file, or below: # StlWriteIssue This repository contains code to reproduce an issue with writing an STL file to a binary string. ## The issue To make the vtkSTLWriter object write to a string instead of a file, the following method is called: WriteToOutputStringOn(). When calling the Write() method, vtk produces the following error message: "vtkSTLWriter (0x823bac0): Please specify FileName to write". Why should a FileName be specified when writing to a binary string? The GetOutputString() method returns a null pointer, so vtkSTLWriter didn't write to the OutputString. ## How to reproduce? Run the following scripts in the current folder: $ ./build.sh $ ./run.sh ## Details Tested on: - Arch Linux - vtk-5.10 - gcc 4.9.2 | ||||||||
Tags | No tags attached. | ||||||||
Project | TBD | ||||||||
Type | incorrect functionality | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0034202) hrobeers (reporter) 2015-02-10 06:58 |
It's very confusing that vtkSTLWriter doesn't support the full vtkWriter interface without any documentation or NotImplemented exception. |
(0034977) T.J. Corona (developer) 2015-08-12 13:46 |
This issue is fixed in VTK6. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2015-02-10 05:36 | hrobeers | New Issue | |
2015-02-10 06:58 | hrobeers | Note Added: 0034202 | |
2015-08-12 13:42 | T.J. Corona | Assigned To | => T.J. Corona |
2015-08-12 13:46 | T.J. Corona | Note Added: 0034977 | |
2015-08-12 13:46 | T.J. Corona | Status | backlog => closed |
2015-08-12 13:46 | T.J. Corona | Resolution | open => fixed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |