View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012777VTK(No Category)public2011-12-08 07:362014-10-02 14:37
ReporterFelipe Bordeu 
Assigned ToAndy Bauer 
PriorityhighSeverityminorReproducibilityhave not tried
StatusclosedResolutionnot fixable 
PlatformOSOS Version
Product Version5.8.0 
Target VersionFixed in Version 
Summary0012777: pass field data when vtkDataSet::CopyAttributes()
DescriptionNow 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());
 }
 
 //----------------------------------------------------------------------------

Tagshackaton
ProjectKitware
Typefeature
Attached Files

 Relationships
duplicate of 0010787closedKyle Lutz ParaView Field data is not maintained with the D3 filter 

  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.

 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


Copyright © 2000 - 2018 MantisBT Team