MantisBT - VTK
View Issue Details
0012777VTK(No Category)public2011-12-08 07:362014-10-02 14:37
Felipe Bordeu 
Andy Bauer 
highminorhave not tried
closednot fixable 
5.8.0 
 
Kitware
feature
0012777: pass field data when vtkDataSet::CopyAttributes()
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());
 }
 
 //----------------------------------------------------------------------------

hackaton
duplicate of 0010787closed Kyle Lutz ParaView Field data is not maintained with the D3 filter 
Issue History
2011-12-08 07:36Felipe BordeuNew Issue
2012-08-27 10:06Utkarsh AyachitAssigned To => Kyle Lutz
2012-08-27 10:06Utkarsh AyachitStatusbacklog => tabled
2012-08-27 10:07Utkarsh AyachitNote Added: 0029073
2012-08-27 10:28Kyle LutzRelationship addedduplicate of 0010787
2013-07-22 20:02Dave DeMarleStatustabled => backlog
2013-07-22 20:02Dave DeMarleNote Added: 0031244
2014-09-30 11:01Dave DeMarleAssigned ToKyle Lutz =>
2014-10-02 09:54Shawn WaldonTag Attached: hackaton
2014-10-02 09:54Shawn WaldonAssigned To => Shawn Waldon
2014-10-02 09:54Shawn WaldonAssigned ToShawn Waldon => Berk Geveci
2014-10-02 14:36Andy BauerNote Added: 0033511
2014-10-02 14:36Andy BauerStatusbacklog => closed
2014-10-02 14:37Andy BauerAssigned ToBerk Geveci => Andy Bauer
2014-10-02 14:37Andy BauerResolutionopen => not fixable

Notes
(0029073)
Utkarsh Ayachit   
2012-08-27 10:07   
Kyle, check with Berk about the ramifications of this change. It changes the behavior in VTK.
(0031244)
Dave DeMarle   
2013-07-22 20:02   
moving all "tabled" bugs into "backlog" category since "tabled" is no longer used.
(0033511)
Andy Bauer   
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.