ParaView
vtkBlockDeliveryPreprocessor.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkBlockDeliveryPreprocessor.h
5 
6  Copyright (c) Kitware, Inc.
7  All rights reserved.
8  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
25 #ifndef vtkBlockDeliveryPreprocessor_h
26 #define vtkBlockDeliveryPreprocessor_h
27 
28 #include "vtkDataObjectAlgorithm.h"
29 #include "vtkPVVTKExtensionsRenderingModule.h" // needed for export macro
30 
31 class VTKPVVTKEXTENSIONSRENDERING_EXPORT vtkBlockDeliveryPreprocessor
32  : public vtkDataObjectAlgorithm
33 {
34 public:
35  static vtkBlockDeliveryPreprocessor* New();
36  vtkTypeMacro(vtkBlockDeliveryPreprocessor, vtkDataObjectAlgorithm);
37  void PrintSelf(ostream& os, vtkIndent indent);
38 
40 
44  void AddCompositeDataSetIndex(unsigned int index);
45  void RemoveAllCompositeDataSetIndices();
47 
49 
52  vtkSetMacro(GenerateCellConnectivity, bool);
53  vtkGetMacro(GenerateCellConnectivity, bool);
55 
57 
68  vtkSetMacro(FieldAssociation, int);
69  vtkGetMacro(FieldAssociation, int);
71 
73 
77  vtkSetMacro(FlattenTable, int);
78  vtkGetMacro(FlattenTable, int);
80 
82 
87  vtkSetMacro(GenerateOriginalIds, bool);
88  vtkGetMacro(GenerateOriginalIds, bool);
90 
91 protected:
94 
95  virtual vtkExecutive* CreateDefaultExecutive();
96 
101  virtual int RequestDataObject(vtkInformation*, vtkInformationVector**, vtkInformationVector*);
102 
103  virtual int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*);
104 
109 
110 private:
112  void operator=(const vtkBlockDeliveryPreprocessor&) VTK_DELETE_FUNCTION;
113 
114  class CompositeDataSetIndicesType;
115  CompositeDataSetIndicesType* CompositeDataSetIndices;
116 };
117 
118 #endif
filter used by block-delivery representation for pre-processing data.