Commit da6806eb authored by Utkarsh Ayachit's avatar Utkarsh Ayachit

cleanup vtkAttributeDataToTableFilter

minor code restructuring in vtkAttributeDataToTableFilter to make it
easier to follow. Also modernizing some code.
parent 55cdfbdb
......@@ -29,6 +29,7 @@
#include "vtkPVVTKExtensionsRenderingModule.h" // needed for export macro
#include "vtkTableAlgorithm.h"
class vtkDataSet;
class vtkFieldData;
class vtkIdTypeArray;
......@@ -105,19 +106,13 @@ protected:
*/
vtkExecutive* CreateDefaultExecutive() VTK_OVERRIDE;
/**
* Internal method to return the chosen field from the input. May return 0 is
* the chosen field is not applicable for the current data object or not
* present.
*/
vtkFieldData* GetSelectedField(vtkDataObject* input);
/**
* Called when AddMetaData is true. Adds meta-data to the output.
*/
void Decorate(vtkTable* output, vtkDataObject* input);
void PassFieldData(vtkFieldData* output, vtkFieldData* input);
void AddCellTypeAndConnectivity(vtkTable* output, vtkDataSet* ds);
int FieldAssociation;
bool AddMetaData;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment