View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0012777 | VTK | (No Category) | public | 2011-12-08 07:36 | 2014-10-02 14:37 | ||||
Reporter | Felipe Bordeu | ||||||||
Assigned To | Andy Bauer | ||||||||
Priority | high | Severity | minor | Reproducibility | have not tried | ||||
Status | closed | Resolution | not fixable | ||||||
Platform | OS | OS Version | |||||||
Product Version | 5.8.0 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0012777: pass field data when vtkDataSet::CopyAttributes() | ||||||||
Description | Now only cell and point data are passed when copyAttributes is call, so field data is lost in the new object (one must copy the fielddata manualy) diff --git a/Filtering/vtkDataSet.cxx b/Filtering/vtkDataSet.cxx index 859fda0..7bd196a 100644 --- a/Filtering/vtkDataSet.cxx +++ b/Filtering/vtkDataSet.cxx @@ -64,6 +64,7 @@ void vtkDataSet::CopyAttributes(vtkDataSet *ds) { this->GetPointData()->PassData(ds->GetPointData()); this->GetCellData()->PassData(ds->GetCellData()); + this->GetFieldData()->PassData(ds->GetFieldData()); } //---------------------------------------------------------------------------- | ||||||||
Tags | hackaton | ||||||||
Project | Kitware | ||||||||
Type | feature | ||||||||
Attached Files | |||||||||
Relationships | |||||||
|
Relationships |
Notes | |
(0029073) Utkarsh Ayachit (administrator) 2012-08-27 10:07 |
Kyle, check with Berk about the ramifications of this change. It changes the behavior in VTK. |
(0031244) Dave DeMarle (administrator) 2013-07-22 20:02 |
moving all "tabled" bugs into "backlog" category since "tabled" is no longer used. |
(0033511) Andy Bauer (developer) 2014-10-02 14:36 |
FieldData shouldn't be thought of as attribute information (it does not derive from vtkDataSetAttributes) so the current behavior is correct. If this type of functionality is needed it should probably be done in vtkDataObject. I'm going closing this issue and if you want to reopen it, please suggest how you'd like to do it through vtkDataObject. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2011-12-08 07:36 | Felipe Bordeu | New Issue | |
2012-08-27 10:06 | Utkarsh Ayachit | Assigned To | => Kyle Lutz |
2012-08-27 10:06 | Utkarsh Ayachit | Status | backlog => tabled |
2012-08-27 10:07 | Utkarsh Ayachit | Note Added: 0029073 | |
2012-08-27 10:28 | Kyle Lutz | Relationship added | duplicate of 0010787 |
2013-07-22 20:02 | Dave DeMarle | Status | tabled => backlog |
2013-07-22 20:02 | Dave DeMarle | Note Added: 0031244 | |
2014-09-30 11:01 | Dave DeMarle | Assigned To | Kyle Lutz => |
2014-10-02 09:54 | Shawn Waldon | Tag Attached: hackaton | |
2014-10-02 09:54 | Shawn Waldon | Assigned To | => Shawn Waldon |
2014-10-02 09:54 | Shawn Waldon | Assigned To | Shawn Waldon => Berk Geveci |
2014-10-02 14:36 | Andy Bauer | Note Added: 0033511 | |
2014-10-02 14:36 | Andy Bauer | Status | backlog => closed |
2014-10-02 14:37 | Andy Bauer | Assigned To | Berk Geveci => Andy Bauer |
2014-10-02 14:37 | Andy Bauer | Resolution | open => not fixable |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |